
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.
@nearest/nearest-openinghours-format
Advanced tools
import duplication from '@nearest/nearest-duplicate-location';
const locations = [
{
geojson: {...geojsonObject},
name: 'Name of original location',
},
{
geojson: {...geojsonObject},
name: 'Name of location #1 to compare with original',
},
{
geojson: {...geojsonObject},
name: 'Name of location #2 to compare with original',
},
{
...
}
];
const options = {
minDistance: 10, // minimal distance in meter to determine if identical (default: 10)
duplicationValue: 0.2432, // minimal similarity value of location name (0.2432)
};
const result = duplication.check(locations, options);
Result value describes how identical to locations are. 0 means completaly different, 1 means completaly identical.
[
{ // Result between original and #1
name: 1, // text similarity of names
distance: 0, // sperical distance between original and #1
value: 1, // identical
isDuplicate: true
},
{ name: 0.9,
distance: 9.891107007312382,
value: 0.9 },
{ name: 0.14285714285714285,
distance: 918.318771862209,
value: 0 } ]
FAQs
Formating openinghours
We found that @nearest/nearest-openinghours-format 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.