
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
http-timing
Advanced tools
Generate the http timing(Server-Timing)

The HTTPTiming constructor
options The constructor options
options.max The max time(ms), use for the time line bar, default is 10 * 1000options.size The cache size, default is 10const HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming({
max: 5 * 1000,
size: 5,
});
Add the data to timing view, return function to change the value of data
data The setting of http timing
data.url The http request urldata.method The http request methoddata.status The http response statusdata.use The http response timedata.serverTiming The http server timingconst HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming();
const set = httpTiming.add({
method: 'GET',
url: '/users/me',
status: 200,
use: 3000,
serverTiming: 'A;dur=2521.46147;desc="/users/me",B;dur=102.022688;desc="getUser",C;dur=33.468153;desc="mongodb:get",D;dur=54.064163;desc="validate:user"',
});
set('use', 5000);
set({
use: 5000,
});
Get the timing by index
index the timing indexconst HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming();
httpTiming.add({
method: 'GET',
url: '/users/me',
status: 200,
use: 3000,
serverTiming: 'A;dur=2521.46147;desc="/users/me",B;dur=102.022688;desc"getUser",C;dur=33.468153;desc"mongodb:get",D;dur=54.064163;desc="validate:user"',
});
console.info(httpTiming.get(0));
Get the cache length
const HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming();
// 0
console.info(httpTiming.length);
Remove all cache
const HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming();
httpTiming.add({
method: 'GET',
url: '/users/me',
status: 200,
use: 3000,
serverTiming: 'A;dur=2521.46147;desc="/users/me",B;dur=102.022688;desc="getUser",C;dur=33.468153;desc="mongodb:get",D;dur=54.064163;desc="validate:user"',
});
// 1
console.info(httpTiming.length)
httpTiming.empty();
// 0
console.info(httpTiming.length)
Get the html of http timing
const HTTPTiming = require('http-timing');
const httpTiming = new HTTPTiming();
httpTiming.add({
method: 'GET',
url: '/users/me',
status: 200,
use: 3000,
serverTiming: 'A;dur=2521.46147;desc="/users/me",B;dur=102.022688;desc="getUser",C;dur=33.468153;desc="mongodb:get",D;dur=54.064163;desc="validate:user"',
});
const html = httpTiming.toHTML();
console.info(html);
MIT
FAQs
generate the http timing(server timing) view
We found that http-timing 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.