
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).
metrify-request-axios
Advanced tools
This module is an axios third-party module to metrify the requests.
The module makes use of axios' interceptors to metrify the requests. Therefore, the command can be seen in the app's console, as well as in the res.config.meta
property of the response.
metrify-request-axios is super easy to use. First you'll have to install it.
npm i metrify-request-axios
Then all you have to do is import and instanciate metrify-request-axios in your app. Here's a sample:
import axios from "axios";
import metrify from "metrify-request-axios";
// initializing metrify-request-axios with your axios instance
metrify(axios);
axios.post("http://localhost:3000/", { dummy: "data-post" })
.then(res => {
console.log(res.config.meta);
/*
meta: {
unitTime: string;
beginTime: number;
finishTime: number;
durationTime: number;
};
*/
}).catch(err => {
console.log(err);
});
FAQs
Package for using with axios to metrify the requests
We found that metrify-request-axios 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.