Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@debitoor/parse-dependencies
Advanced tools
Fast and easy way to get dependencies for your code.
npm i -SE @debitoor/parse-dependencies
const parse = require('@debitoor/parse-dependencies');
parse(__dirname + '/server.js', function (err, deps) {
console.log(deps); // 'express', 'body-parser' ...
});
You can compare result with you production dependencies
const parse = require('@debitoor/parse-dependencies');
const packageDeps = require('./package').dependencies;
parse(__dirname + '/server.js', function (err, deps) {
const diff = deps.filter(function (item) {
return !(item in packageDeps);
});
if (diff.length) {
console.log('oops. You have missing depencies\n%s', diff.join());
}
});
FAQs
finding node code dependencies
The npm package @debitoor/parse-dependencies receives a total of 6 weekly downloads. As such, @debitoor/parse-dependencies popularity was classified as not popular.
We found that @debitoor/parse-dependencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.