
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.
md0.org/orderedmap
An implementation of an ordered map. It's not very efficient, I'm sure. It uses a slice alongside the (private, builtin, non-ordered) map to keep the keys in order.
It should be safe for concurrent use. All the methods on OrderedMap are protected with a (read-write) mutex.
I took the tests from elliotchance/orderedmap, but ripped out the testify/assert stuff, and replaced the bits used (poorly, I'm sure!) with my own stuff (but supplemented liberally from the testify library). That all ended up in assert_test.go.
(I need to put that in its own project so I can copy it into forks of projects where I rip out testify/assert. I don't like libraries/projects I use to depend on testify, it seems really really silly to me.)
MIT
FAQs
Unknown package
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.