
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).
Swfpack is a tool that convert swf format between uncompressed/zlib/lzma.
$ pip install pylzma # the node.js lzma module compress fail. I just rely on python module pylzma. it really ugly.
$ npm install swfpack
var swfpack = require('swfpack');
var converter = new swfpack(file); // file <String>|<Buffer>
var buffer_pomise = converter.pack('fws'); // fws (uncompressed)
var buffer_pomise = converter.pack('cws'); // cws (compressed by using the ZLIB open standard)
var buffer_pomise = converter.pack('zws'); // zws (compressed by using the LZMA open standard), lzma level 1-9
buffer_pomise.then(function() (buffer) {
fs.writeFileSync('/path/to/lzma.swf', buffer);
}).catch(function(reason) {
console.log(reason)
});
#License MIT
FAQs
The tool to convert swf format between uncompressed/zlib/lzma.
We found that swfpack 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.