Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
estraverse-fb
Advanced tools
Drop-in for estraverse that enables traversal over React's JSX nodes.
Drop-in for estraverse that enables traversal over React's JSX and Flow nodes using monkey-patching technique.
You can use estraverse-fb in two possible ways:
by default, you just require it and it injects needed keys into your installed version of estraverse (it's installed automatically if you don't have it yet):
var estraverse = require('estraverse-fb');
/* same as:
require('estraverse-fb');
var estraverse = require('estraverse');
*/
estraverse.traverse(ast, {
enter: ...,
leave: ...
});
alternatively, you can use it manually for selected traversals:
var jsxKeys = require('estraverse-fb/keys');
estraverse.traverse(ast, {
enter: ...,
leave: ...,
keys: jsxKeys
})
Check out [estraverse page](https://github.com/Constellation/estraverse) for detailed usage.
FAQs
Drop-in for estraverse that enables traversal over React's JSX nodes.
We found that estraverse-fb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.