
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@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 639,222 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.