
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).
some-random-cat
Advanced tools
A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!
This is the official documentation for some-random-cat. Docs version (v2.0)
To install the package, you would have to make sure that node.js is installed on your machine. After that, you can simply do npm i some-random-cat
in the terminal where you want to install the package or npm i some-random-cat -g
to install it globally.
I saw that there were not many good packages for generating random stuff. So I decided to make one.
A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!
Generate a random cat image:
const SomeRandomCat = require('some-random-cat').Random;
SomeRandomCat.getCat() // Function for generating cat
.then(res => {
console.log(res)
return
})
.catch(e => {
console.error(e)
return
});
To contribute in this package, simple open a pull request in the github repository. When all the checks for your request have been passed, we can merge it into the main branch.
Join the support server here
📖 The official documentation is now available here
FAQs
A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!
The npm package some-random-cat receives a total of 1 weekly downloads. As such, some-random-cat popularity was classified as not popular.
We found that some-random-cat 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.