
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.
JSON.parse/stringify with Int64 support. Based on Douglas Crockford JSON.js package and node-int64.js library.
Example:
var JSONInt64 = require('json-int64');
var json = '{ "value" : 9223372036854775807, "v2": 123 }';
console.log('Input:%s\n', json);
var parsedValue = JSONInt64.parse(json);
console.log('Parsed int64 value: ', JSONInt64.util.toDecimalString(parsedValue.value));
console.log('Value after performing stringify operation on JS object:', JSONLong.stringify(parsedValue));
Output:
Input: { "value" : 9223372036854775807, "v2": 123 }
Parsed int64 value: 9223372036854775807
Value after performing stringify operation on JS object: {"value":9223372036854775807,"v2":123}
FAQs
JSON.parse / JSON.stringify with int64 support
The npm package json-int64 receives a total of 4,411 weekly downloads. As such, json-int64 popularity was classified as popular.
We found that json-int64 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.