
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).
imgflo-url
Advanced tools
Conveniently produce authorized imgflo URLs.
Compatible with node.js and browserify.
npm install --save imgflo-url
Example in CoffeeScript
imgflo = require 'imgflo-url'
config =
server: 'https://imgflo.herokuapp.com/'
key: 'key'
secret: 'secret'
params =
input: 'https://pbs.twimg.com/media/BlM0d2-CcAAT9ic.jpg:large'
color1: '#0A2A2F'
color2: '#FDE7A0'
height: 200
url = imgflo config, 'gradientmap', params
Making a GET request of url
will fetch image from input
URL
and process it through the gradientmap
graph,
applying the specified parameters (in this case color1
, color2
, height
).
For more examples, see the tests.
export IMGFLO_API_KEY=key
export IMGFLO_API_SECRET=secret
# if node modules are not on PATH already
# PATH=${PATH}:./node_modules/.bin
imgflo-url passthrough --input http://example.com/barbaz.png --width 300
Run npm test
.
FAQs
Conveniently produce authorized imgflo URLs.
The npm package imgflo-url receives a total of 2 weekly downloads. As such, imgflo-url popularity was classified as not popular.
We found that imgflo-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.