npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@absolutejs/agent-exchange-provider-conformance

v0.3.1

Published

OAuth, DPoP, and black-box A2A security conformance checks for Agent Exchange providers.

Readme

@absolutejs/agent-exchange-provider-conformance

Shared capability checks, cryptographic DPoP verification, and black-box A2A security tests for Agent Exchange providers. Provider adapters publish facts; this package decides whether those facts meet the phishing-resistant OAuth profile. A2A servers are exercised over their public protocol boundary without depending on their implementation.

Unknown or unavailable features are failures, not optimistic defaults.

A2A prepared-profile conformance

evaluateAgentExchangeA2aConformance() performs eight active checks:

  • Agent Card discovery and same-origin A2A 1.0 JSON-RPC routing;
  • extension parameters, skill media types, and declared authentication;
  • authentication before parsing malformed A2A and preparation requests;
  • distinct preparation and A2A credentials;
  • A2A-Extensions negotiation;
  • protected preparation followed by exact-reference execution;
  • raw, hexadecimal, base64, and base64url leakage detection in tasks and receipts; and
  • safe replay rejection or convergence on the original task.

The suite executes the supplied request. It requires the literal acknowledgeExecution: "sandbox-only" and must never be aimed at production or an endpoint that can submit a real credential:

import {
  assertAgentExchangeA2aConformance,
  type AgentExchangeA2aConformanceTarget,
} from "@absolutejs/agent-exchange-provider-conformance";

const target: AgentExchangeA2aConformanceTarget = {
  acknowledgeExecution: "sandbox-only",
  additionalSensitiveMarkers: [sandboxVerificationCode],
  a2aHeaders: ({ url }) => a2aTokenFor(url),
  createRequest: (purpose) => sandboxRequest(purpose),
  origin: "https://sandbox-recipient.example",
  preparationHeaders: ({ url }) => preparationTokenFor(url),
};

const report = await assertAgentExchangeA2aConformance(target);

createRequest() receives a purpose identifier and must return a fresh exchange each time. The sandbox must use separate audience-bound credentials for the preparation and A2A URLs. Put any simulated protected value that is not already part of the request—such as a sandbox six-digit code—in additionalSensitiveMarkers.

The report demonstrates observable protocol behavior for that sandbox run. It is not a cryptographic audit, production authorization, penetration test, or claim that an email/SMS bearer code is phishing-resistant.

OAuth provider conformance

evaluateOAuthProviderConformance() evaluates declared authorization-code, issuer-identification, PAR, S256 PKCE, RAR, resource-indicator, and sender-constraint capabilities. verifyDpopProof() independently validates the ES256 proof, public key, method, normalized target URI, timestamp, nonce, and access-token hash. JWT segments must use canonical unpadded base64url encoding; alternate strings that decode to the same bytes are rejected so proof identity cannot be aliased through unused padding bits.