
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@agnosticeng/sign
Advanced tools
A simple TypeScript library for URL signing and verification.
npm install @agnosticeng/sign
import { sign, check } from '@agnosticeng/sign';
// Generate a signed URL
const url = new URL('https://example.com/path');
url.searchParams.set('exp', '1234567890'); // Optional expiration
const secret = 'your-secret-key';
const signedUrl = await sign(secret, url);
console.log(signedUrl.toString());
// https://example.com/path?exp=1234567890&sig=...
// Verify a signed URL
const isValid = await check(secret, signedUrl);
console.log(isValid); // true
Signs a URL by adding a signature query parameter.
secret: A secret key used for signingurl: URL object to signVerifies if a URL signature is valid.
secret: Same secret key used for signingurl: Signed URL object to verifyThe library generates an HMAC SHA-256 signature based on:
The signature is added as a sig query parameter.
MIT
FAQs
A simple TypeScript library for URL signing and verification.
We found that @agnosticeng/sign 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.