
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.
@netlify/binary-info
Advanced tools
binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
@netlify/binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
It's used by other Netlify projects to detect Go and Rust binaries built for Netlify Functions and its architecture and platform .
import { readFile } = require("fs");
import { detect, Runtime }from "@netlify/binary-info";
const buffer = await readFile(path);
try {
const info = elf.detect(buffer);
switch (info.runtime) {
case Runtime.Go: console.log("Go binary file"); break;
case Runtime.Rust: console.log("Rust binary file"); break;
default: console.log("Unknown binary file");
}
} catch (error) {
console.log(error);
}
wasm-pack build
wasm-pack build --target nodejs --release --scope=netlify
1.0.0 (2022-06-23)
arch
, platform
, runtime
. Runtime is nullable as we can only detect it for ELF binaries for now. If platform
or arch
cannot be detected it will throw.FAQs
binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
The npm package @netlify/binary-info receives a total of 564,897 weekly downloads. As such, @netlify/binary-info popularity was classified as popular.
We found that @netlify/binary-info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.