
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.
@endeo/input
Advanced tools
Helps extract values from a buffer during decoding.
See packages:
npm install --save @endeo/input
// get the builder
var Input = require('@endeo/input')
// build one with buffer/index
var input = new Input({
buffer: someBuffer,
index : 0
})
// look at the next byte without advancing index:
var byte = input.peek()
// advance index one passed the one we peeked at:
input.eat()
// get the next byte and advance index:
byte = input.byte()
// backup an index and return itself:
// useful if you want to backup one and pass input on...
input.back()
// check if we have another byte available
input.hasByte()
// check if we have a set number of bytes available:
input.hasBytes(5)
// get a two byte int value:
input.short()
// get an int from next 1 to 6 bytes:
input.int(4) // accepts 1-6
// get 4 byte floating point number:
input.float4()
// get 8 byte floating point number:
input.float8()
// get a string using the specified byte count:
input.string(12)
// get a buffer slice the size specified:
input.bytes(8)
FAQs
Helps decode operation extract values from a buffer.
The npm package @endeo/input receives a total of 0 weekly downloads. As such, @endeo/input popularity was classified as not popular.
We found that @endeo/input 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.