Skip to content

Security policy

  1. Skills (skills/critique-<domain>/) - a SKILL.md instruction file, a Python scripts/checks.py scripted lane, rubric references/, evals/, and examples/. SKILL.md is instructions an agent reads and follows when a skill is invoked; scripts/checks.py is real code that runs locally against whatever artifact path you pass it.
  2. Subagent (agents/critique-critic.md) - the clean-context critic every critique-<domain> skill delegates to. Its declared tools are Read and Bash only; it has no Write or Edit, so it cannot modify the artifact it critiques or anything else on disk (see that file’s “Tools” section).
  3. Contract (contract/) - the JSON Schema (critique-contract.schema.json) and its Python validator and CLI (validate.py, validate_envelopes.py).
  4. Bench harness (bench/) - a deterministic seeded-defect corpus generator, scoring metrics, and a harness (run_bench.py) that runs skills and a frozen baseline against pinned models. This is the one part of the repository that makes a network call, and only when run directly and explicitly; see below.
  5. Repo tooling (scripts/) - Node generators and validators that run in this repository’s own CI (see AGENTS.md, “Checks”).
  6. Docs (docs/, README.md, and similar).

Checking out this repository does not execute anything on its own. A skill’s scripted lane and the contract validator are local, stdlib-plus-one-dependency Python: each reads the artifact file (or inline content) and the skill’s own reference files, and writes only its own findings or validation output to stdout. Neither imports subprocess, network modules, or eval/exec; skills/ and contract/ contain none of those calls. A test holds this sentence to the code on every pull request: scripts/tests/test_shipped_code_claims.py parses every shipped Python file under those two directories, tests excluded, and fails on any such import or call.

The critique-critic subagent runs with Read and Bash only, and its Bash use is exactly two things: invoking a skill’s own scripts/checks.py against the supplied artifact, and validating the resulting envelope with contract/validate.py. No Write, no Edit: it reports, it never changes the artifact or anything else.

bench/run_bench.py reaches a model to run a skill’s judged lane and the frozen baseline comparison against pinned model tiers. It does so by shelling out to the Claude Code CLI, not by calling an HTTP API directly (ADR 0030, which supersedes ADR 0025). This is opt-in and explicit:

  • It needs no API key, and there is no ANTHROPIC_API_KEY anywhere in this repository, for a user or for a maintainer. The claude CLI authenticates from a Claude subscription. The anthropic SDK is no longer a dependency, and the requirements-bench.txt that carried it is deleted.
  • Nothing beyond contract/validate.py’s own jsonschema is installed to make this work. On a machine without the claude CLI the harness fails with an actionable message rather than reaching the network.
  • Without the CLI, only --dry-run grid planning works, and that path reaches no model at all.
  • bench.yml, the one GitHub Actions workflow that can run this harness live, is workflow_dispatch only. It never runs on push or pull_request (AGENTS.md, “Bench”).

Skills themselves never call a model. A skill is instructions read and followed by the agent you are already using, so there is nothing for it to authenticate. Only the standalone benchmark script reaches a model, and only when you run it directly.

Nothing else in this repository makes a network call.

  • npm audit --audit-level=high runs in CI (the audit job, .github/workflows/ci.yml) on every push and pull request against main, on both Node versions in the matrix (22.12.0, 24). A high-or-critical advisory in a dependency fails the build.
  • No third-party npm runtime dependencies exist today. package-lock.json’s only package entry is this repository itself. The audit job still runs on every change, so a PR that introduces one gets it reviewed rather than waved through.
  • Every GitHub Action is pinned to a full commit SHA, not a floating tag, in both ci.yml and release.yml (actions/checkout@<sha> # v7.0.1, actions/setup-node@<sha> # v7.0.0, and similarly for actions/setup-python and softprops/action-gh-release). agent-skills-toolkit, the toolkit this repository’s conformance gate wraps rather than vendors (ADR 0011), is checked out at a pinned commit (TOOLKIT_REF), bumped deliberately rather than tracked against a moving branch.
  • Dependabot proposes the bumps; a person merges them. .github/dependabot.yml opens one grouped update PR a week for the pinned Actions, the Python requirements, the root npm package and the documentation site (E108). It merges nothing. TOOLKIT_REF is outside its reach, because it is a checkout ref: input, so that pin stays a manual bump. Vulnerability alerts are on for this repository; Dependabot security updates, a separate setting, are off.
  • Third-party runtime dependencies require their own ADR (ADR 0009: “any third-party dependency requiring its own ADR justification”). Python currently carries exactly one: jsonschema, for contract/validate.py’s schema validation. The second, anthropic, is gone: the bench harness reaches a model through the Claude Code CLI instead, so it needs no API client (ADR 0030 above, which supersedes ADR 0025). Node carries zero. Adding one, in either language, needs a decision doc under docs/internal/decisions/ before it lands.
  • Releases are tag-triggered and version-guarded. Pushing a tag matching v* runs release.yml. It first fails unless the tagged commit is already on main (scripts/check-tag-on-main.mjs), so a tag pushed from an unmerged branch publishes nothing. It then re-runs the full CI suite, and fails the build if the tag does not equal every version-bearing manifest listed in scripts/lib/version-manifest.mjs (scripts/check-release-versions.mjs), before extracting that version’s section of RELEASE-NOTES.md for the GitHub Release body (scripts/extract-release-notes.mjs).

Pre-1.0: only the most recent release is supported. Fixes land at the tip of main and ship in the next release rather than being backported to earlier tags, so there is no version-support matrix and there will not be one before 1.0.

Report privately first.

Preferred channel: GitHub Private Vulnerability Reporting.

Fallback channel: open a GitHub issue requesting a private follow-up. Do not include exploit details or secrets in the issue itself.

What to include, where you can:

  1. Affected file(s) or workflow(s)
  2. Reproduction steps
  3. Impact assessment
  4. Suggested remediation, if you have one

Response targets: initial acknowledgement within 2 business days, ongoing status updates until resolution.

This policy covers:

  1. Repository content (skills/, agents/, contract/, docs/)
  2. The bench harness (bench/) and its opt-in network call
  3. Build and release tooling, and GitHub Actions workflows
  4. Published release artifacts (GitHub Releases created by release.yml)
  1. Vulnerabilities in third-party tools or clients not maintained here, including the agent runtime or editor a user invokes these skills from.
  2. Security behavior of external AI platforms or agents that choose to run these skills.