
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@peac/jwks-cache
Advanced tools
Edge-safe JWKS fetch and cache with SSRF protection for PEAC receipt verification.
pnpm add @peac/jwks-cache
@peac/jwks-cache provides a secure JWKS (JSON Web Key Set) resolver with built-in SSRF prevention, in-memory caching with Cache-Control awareness, and Ed25519 key import. It validates URLs against metadata IP ranges before fetching and caches resolved keys to minimize network requests during receipt verification.
import { createResolver, resolveKey } from '@peac/jwks-cache';
const resolver = createResolver({
cacheTtlMs: 300_000, // 5 minutes
});
const key = await resolveKey(resolver, {
jwksUri: 'https://issuer.example.com/.well-known/jwks.json',
kid: 'key-2026-03',
});
console.log(key.algorithm); // 'Ed25519'
import { validateUrl, isMetadataIp } from '@peac/jwks-cache';
validateUrl('https://issuer.example.com/.well-known/jwks.json'); // passes
validateUrl('http://169.254.169.254/latest/meta-data'); // throws: metadata IP
import { InMemoryCache, buildJwksCacheKey } from '@peac/jwks-cache';
const cache = new InMemoryCache({ maxEntries: 100 });
const cacheKey = buildJwksCacheKey('https://issuer.example.com/.well-known/jwks.json', 'key-1');
await cache.set(cacheKey, { jwk, expiresAt: Date.now() + 300_000 });
@peac/http-signatures: Key resolution for RFC 9421 signature verification@peac/protocol (Layer 3): Receipt verification with remote key resolution@peac/server (Layer 5): Verification server JWKS fetching with circuit breakerIf you are building an AI agent or MCP server that needs evidence receipts:
@peac/mcp-server for a ready-to-use MCP tool server@peac/protocol for programmatic receipt issuance and verificationApache-2.0
PEAC Protocol is an open source project stewarded by Originary and community contributors.
FAQs
Edge-safe JWKS fetch and cache with SSRF protection
The npm package @peac/jwks-cache receives a total of 69 weekly downloads. As such, @peac/jwks-cache popularity was classified as not popular.
We found that @peac/jwks-cache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.