
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@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
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.
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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.