
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
node-module-hooks
Advanced tools
For now, this library is bundled with type declarations. Use a modern editor and follow the tooltips, or read the source.
Advanced hooks into Node's module loading behavior. These are not the same as require.extensions
hooks.
At the moment, the only hook is a dependency tracker. I may add more in the future.
See also: This helpful blog post. https://tech.wayfair.com/2018/06/custom-module-loading-in-a-node-js-environment/
For now, this library is bundled with type declarations. Use a modern editor and follow the tooltips, or read the source.
In general, a given hook must be installed before use. It will probably incur a small performance penalty while installed.
This intercepts all requests from any module to resolve the location of another, building a dependency graph of modules. This can be used, for example, to intelligently reload or re-execute a command based on when its code -- including transitively-require()d files -- changes.
FAQs
For now, this library is bundled with type declarations. Use a modern editor and follow the tooltips, or read the source.
The npm package node-module-hooks receives a total of 1 weekly downloads. As such, node-module-hooks popularity was classified as not popular.
We found that node-module-hooks 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.