
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).
animality-ts
Advanced tools
A simple API wrapper that generates images & facts of any animal
$ npm install animality
The Node.js wrapper for this API is available for use in Node Package Manager. It's use is pretty straight-forward.
These are the 17 animal strings that can be used to send a request to the API:
cat
dog
bird
panda
redpanda
koala
fox
whale
dolphin
kangaroo
bunny
lion
bear
frog
duck
penguin
axolotl
const {Animality} = require('animality');
const animal = 'cat';
Animality.getAsync(animal, 'API_KEY').then(console.log);
This outputs the following object in the terminal:
{
"name": "cat",
"image": "An image URL here",
"fact": "A fact here"
}
Other than that, this package also allows you to request multiple animals at the same time.
const {Animality} = require('animality');
const animals = ['cat', 'dog', 'panda'];
Animality.getAsync(animals, 'API_KEY').then(console.log);
This outputs the following array of objects in the terminal:
[
{
"name": "cat",
"image": "An image URL here",
"fact": "A fact here"
},
{
"name": "dog",
"image": "An image URL here",
"fact": "A fact here"
},
{
"name": "panda",
"image": "An image URL here",
"fact": "A fact here"
}
]
FAQs
A simple API wrapper that generates images & facts of any animal
The npm package animality-ts receives a total of 0 weekly downloads. As such, animality-ts popularity was classified as not popular.
We found that animality-ts 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.