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-conformance

v0.15.1

Published

Provider-neutral adversarial conformance for agent security plus A2A, MCP, Arazzo, and WebMCP standards.

Downloads

569

Readme

@absolutejs/agent-conformance

Provider-neutral adversarial test runners for AI agent security boundaries. Adapters expose a tiny harness; the package attacks it with replay, concurrent maximum-use races, confused-deputy identity, scope escalation, lookalike URL origins, mutated approved inputs, denied lease issuance, failed-execution replay, and task-owner isolation.

import {
  assertConformance,
  runCapabilityConformance,
} from "@absolutejs/agent-conformance";

const report = await runCapabilityConformance(() => yourHarness());
assertConformance(report); // throws with the complete report when any case fails

The runners return data rather than depending on a test framework, so they work inside Bun test, Vitest, Jest, CI scripts, or provider certification jobs.

The effect-adapter suites separately prove global certification, descriptor-driven reconciliation setup, tenant-scoped installation, and execution-time behavior. The execution suite verifies that authorization happens before secret resolution, only installed aliases are resolved, tenant/effect/destination/idempotency context reaches the driver, driver capabilities match the certified descriptor, and unknown provider outcomes enter durable quarantine.

The effect-evidence suite verifies that provider signatures are checked before persistence, duplicate deliveries remain single-copy while reconciliation can resume after a crash, retained delivery identities cannot be rebound across effects or tenants, and only normalized evidence crosses the durable boundary.

The reconciliation-runtime suite proves that scheduled provider queries authorize before resolving credentials, use a cross-replica lease, retain only normalized evidence, reduce failures to safe health codes, and keep an operator-triggered tenant run from querying another tenant's effects. It also proves that reference-gated queries stop before credential resolution when no exact provider resource is retained and that stale attempts cannot quarantine a newer lease.

Version 0.3 adds discovery signature/search, durable runtime recovery/budget, provenance/taint, scoped memory, and verified inbox suites. Passing reports can be combined into a deterministic, optionally signed absolutejs-agent-first-1 certification artifact and linked from an agent's public discovery descriptor.

Version 0.4 adds provider-neutral conformance harnesses for A2A 1.0, MCP 2025-11-25, Arazzo 1.1, and the July 2026 WebMCP draft. They test protocol negotiation, task/session isolation, required extensions, unsafe callback URLs, dependency ordering, policy-before-effect, unsupported-feature atomicity, input validation, metadata poisoning, cross-origin exposure, and abort cleanup.

import {
  runA2aConformance,
  runArazzoConformance,
  runMcpConformance,
  runWebMcpConformance,
} from "@absolutejs/agent-conformance";

Implement only the harnesses relevant to your package:

  • ActionConformanceHarness for approval binding and execution leases.
  • CapabilityConformanceHarness for credential grants, delegations, spend mandates, or other bounded capabilities.
  • TaskConformanceHarness for durable task ownership and cancellation.

Rejections must name their control

Every scenario that expects a rejection asserts on a token from the control's own vocabulary — "lease", "owner", "private", "host", "replay", "denied", "bound", "scope", "actor", "destination". Your implementation's error message has to contain it.

This is a real obligation, and it exists because the alternative is worse. A scenario that accepts any rejection passes on failures that have nothing to do with the control it claims to test:

fetch("https://api.example.com.evil.test")
  -> "Unable to connect. Is the computer able to access the url?"
fetch("https://169.254.169.254/latest")
  -> "The operation timed out."

Both throw. Before 0.15.0 both satisfied the egress scenarios on any machine — so a suite meant to prove SSRF and lookalike-origin defences proved nothing, and reported a green tick while doing it. .evil.test is a reserved TLD that can never resolve, which means that scenario could not have failed for the right reason even in principle.

An unnamed rejection is indistinguishable from an accident. Naming the control is what makes a pass mean something.

License

MIT