![]() |
A public, inspectable fixture benchmark for AI-agent runtime security. This repository owns the scenarios, result contract, deterministic runner, and versioned exports shown in the HOL Guard research pages. Read the methodology View the benchmark report Report an issue |
|---|
This is the public source for HOL Guard's fixture benchmark. It defines 11 fake-data scenarios across five harness rows and four comparator policies, then exports one validated result model as JSON or CSV.
Fixture mode is deterministic and safe to run locally. It does not read real secrets, execute attacks, invoke Codex/Claude/Cursor/Gemini/OpenCode, or measure production latency. Values named medianLatencyMs and p95LatencyMs are explicit fixture placeholders. This repository must not be cited as independent third-party validation.
Install Bun 1.3.14 or newer, then run:
bun install
bun run benchmark -- --fixture --json
bun run benchmark -- --fixture --csv
bun run benchmark:validateTo regenerate the checked-in snapshot files:
bun run data:json
bun run data:csvRun the checks before opening a pull request:
bun run test
bun run typecheck| Path | Purpose |
|---|---|
src/hol_guard_benchmark/scenarios.ts |
Scenario, harness, comparator, taxonomy, and metric definitions |
src/hol_guard_benchmark/runner.ts |
Deterministic fixture runner, validation, JSON, and CSV exports |
scripts/ |
Human-facing benchmark and validation commands |
data/ |
Versioned fixture exports generated from the runner |
schema/ |
Publication schema for exported runs |
tests/ |
Scenario, coverage, determinism, validation, and export tests |
docs/methodology.md |
Repository-local methodology and limitations |
The current release demonstrates that a documented fixture matrix can be normalized and published reproducibly. It does not demonstrate live harness behavior, exploit resistance, real-world false-positive rates, network/container/OS isolation, or independent review. Future live adapters must publish their harness versions, setup steps, raw observations, environment, data-egress statement, and a separate run identifier rather than silently replacing fixture output.
Runtime fixtures in the HOL Plugin Security dataset on Hugging Face are modeled, not live attacks; a scan is not a safety guarantee, and HOL publishes this rather than independent third-party validation.
Read CONTRIBUTING.md before changing scenarios or result semantics. Report security issues privately using SECURITY.md; do not open a public issue for a vulnerability.
This project is released under the Apache License 2.0.
