
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@scrambled/parse-version
Advanced tools
Takes a version in a format produced by NPM (e.g. "1.9.4"
) and returns an object like:
{
major: 1,
minor: 9,
patch: 4
}
Throws if version string is incorrect.
npm install @scrambled/parse-version
const parse = require("@scrambled/parse-version");
const { name, version } = require("../package.json");
const project = {
name,
version: parse(version)
};
JSON.stringify(project, null, 2) === `{
"name": "my-awesome-project",
"version": {
"major": 1,
"minor": 0,
"patch": 9997
}
}`
// true
Clone the repository and hack on. Check out friendly NPM scripts:
npm run develop # Watch and run tests
npm run debug # Run tests with node inspector
PRs are very welcome.
[1.0.3] - 2017-07-05
FAQs
Takes a version in an NPM format and returns an object
The npm package @scrambled/parse-version receives a total of 0 weekly downloads. As such, @scrambled/parse-version popularity was classified as not popular.
We found that @scrambled/parse-version demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.