
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).
Simple infrastructure and bindings to get the excellent Zint barcode generation library running in the browser via WebAssembly compiled with Emscripten.
Most features should be exposed by the bindings to get most barcode types and configurations to display, but not everything is exposed. The wrapper is farily thin though, so it should be straightforward to see what's going on. Pull requests welcome if you find something necesssary is missing.
Linux: run build.sh (Full build with dependencies) or build_nodeps.sh (App build only, no building dependencies) Windows: build.bat or build_no_deps.bat Result: 3 types of results
build_dependencies.sh (called by build.sh) and build_deps.bat (for windows) handles passing proper arguments to the dependency projects and building dependencies. Dependencies are pulled in via Git submodules in the /deps directory.
<script src="./wasmzint_sf.js"></script>
wasmzint().then(function (Module) {
const instance = new Module.ZintWrapper()
const out = instance.encodeAndPrint({symbology: BARCODE_EANX, scale: 1.5,
height: 50, fgcolour: '006400', outfile: 'out.svg'},
'123456789012+12345')
const version = instance.version()
})
See the example drawing to a canvas in demo.html.
import wasmzint from "./wasmzint_sf_es6.js"
...
try {
zintModule = await wasmzint()
zintInstance = new zintModule.ZintWrapper()
}
catch(e){
}
...coming soon
FAQs
Zint WASM Bindings
The npm package wasmzint receives a total of 0 weekly downloads. As such, wasmzint popularity was classified as not popular.
We found that wasmzint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.