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

@aegis-kernel/evals

v1.3.0

Published

Deterministic adversarial evaluation harness for academic benchmarks (InjecAgent, AgentDojo, MCP-Bench) and the tricky-100 testbed.

Downloads

88

Readme

🔬 @aegis-kernel/evals

Deterministic Adversarial Evaluation Harness for Academic Benchmarks & Invariant Verification
InjecAgent (ACL 2024) • AgentDojo (NeurIPS 2024) • MCP-Bench • Tricky-100 Testbed

License: MIT TypeScript Adversarial Fuzz


🚀 Overview

@aegis-kernel/evals provides the standardized evaluation infrastructure and academic benchmark ingestion adapters for the Aegis Invariant Kernel:

  • InjecAgent Adapter (ACL/EMNLP 2024): Ingests 1,054 combinatorial test cases across Direct Harm (DH) and Data Exfiltration (DE) threat models.
  • AgentDojo Adapter (NeurIPS 2024): Evaluates 629 multi-domain security tasks across Banking, Workspace, Slack, and Travel domains.
  • MCPTox / MCP-Bench: Tool poisoning, zero-width Unicode injection, and schema rug-pull detection.
  • Tricky-100 Adversarial Testbed: 100 hand-curated boundary cases evaluating subtle evasion techniques.
  • Tree-of-Attacks (TAP) Automated Red-Teaming: Multi-level adaptive state search exploring evasion mutations.
  • Cryptographic Double-Blind Protocol: Sealed evaluation oracle with signed SHA-256 Merkle root verification.

📦 Installation

npm install @aegis-kernel/evals @aegis-kernel/core

⚡ Programmatic Usage

import { runTricky100Testbed, evaluateDoubleBlind } from '@aegis-kernel/evals';
import { AegisEngine } from '@aegis-kernel/core';

const engine = new AegisEngine();

// 1. Run Tricky-100 Adversarial Testbed
const trickyResults = runTricky100Testbed(engine);
console.log(`Precision: ${trickyResults.precision}%, Recall: ${trickyResults.recall}%`);
console.log(`F1 Score: ${trickyResults.f1Score}%, P50 Latency: ${trickyResults.latencyP50Ms}ms`);

// 2. Run Cryptographic Double-Blind Evaluation
const blindReport = await evaluateDoubleBlind({ verbose: false });
console.log(`Merkle Root: ${blindReport.cryptographicProof.merkleRoot}`);
console.log(`Audit Signed: ${blindReport.cryptographicProof.signatureValid}`);

🛠️ CLI Evaluation Commands

# Run all academic benchmark suites
npx aegis eval all --output ./academic-evidence.json

# Run specific academic benchmark adapters
npx aegis eval injecagent --output ./injecagent-report.json
npx aegis eval agentdojo --output ./agentdojo-report.json
npx aegis eval mcptox --output ./mcptox-report.json

# Run with cryptographic double-blind attestation
npx aegis eval all --blinded

# Run 100-vector tricky adversarial stress testbed
npx aegis benchmark --tricky

📚 Academic References & Dataset Attribution

The evaluation adapters in this package evaluate against publicly published academic benchmark corpora:

  • InjecAgent (ACL 2024): Zhan et al., InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents, Findings of the Association for Computational Linguistics (ACL 2024). arXiv:2403.02691.
  • AgentDojo (NeurIPS 2024): Debenedetti et al., AgentDojo: A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents, Advances in Neural Information Processing Systems (NeurIPS 2024). arXiv:2406.13314.
  • Tree-of-Attacks (TAP): Mehrotra et al., Tree of Attacks: Jailbreaking Black-Box LLMs Automatically, arXiv:2312.02119 (2023).
  • MCPTox / MCP-Bench: Model Context Protocol security evaluation suites for tool poisoning and schema tampering.

📄 License & Attribution

Distributed under the MIT License. Copyright (c) 2026 Sneh Gabani. All benchmark adapters and dataset loaders are clean-room implementations developed for defensive evaluation and compliance under fair-use academic research standards.