L1Tool boundaries
Tools are allowlisted, tiered by risk, sandboxed when they execute, confined to a workspace, and pinned.
TB-01TB-02TB-03TB-04TB-05Open-source scanner · CLI and MCP server
Point it at an agent codebase and get a 0 to 100 score across the seven layers that keep agents out of trouble, with file and line evidence for every finding and the fix for every gap.
UI-01 Untrusted content is marked as data. MISSING: web pages and tool results reach the model with nothing telling it they are data, not instructions. agent/prompts.py:41The rubric
Each check says why it matters, what the scanner looks for, what earns full and partial credit, and how to fix it. Checks that can't apply, like sandboxing in an agent that never runs commands, are left out of the score instead of counted against you.
Tools are allowlisted, tiered by risk, sandboxed when they execute, confined to a workspace, and pinned.
TB-01TB-02TB-03TB-04TB-05Risky actions wait for a person, the approval is bound to that exact action, and anything unexpected fails closed.
AG-01AG-02AG-03AG-04Every tool call is a structured event, traced end to end, stored where it can't be quietly edited, with secrets redacted.
AU-01AU-02AU-03AU-04No keys in the repo, secrets loaded at runtime, scanning in CI, and outbound calls limited to known hosts.
SE-01SE-02SE-03SE-04Hard caps on steps, spend and time, so a loop or a bad prompt can't run all night on your card.
BL-01BL-02BL-03Fetched content is labelled as data, model output is schema-validated, and tool arguments are checked before use.
UI-01UI-02UI-03Tests run in CI, behaviour evals and safety tests exist, and there is a kill switch or dry-run mode.
ER-01ER-02ER-03ER-04Orange IDs are critical controls. Missing any one caps the grade at C, whatever the rest looks like.
Field test
Three popular open-source agents and four of my own, each pinned to a commit so anyone can reproduce the result. The best-known project did not score the highest, and my own ranged from an A to an F.
| Repository | Score | Grade | L1 | L2 | L3 | L4 | L5 | L6 | L7 | Critical gaps |
|---|
Scored on 9 November 2026 with agent-scorecard 0.1.0. A grade with * is capped at C by a missing critical control; a dash means the layer doesn't apply because the app never calls tools. These are static signals, not a penetration test.
Scoring
The number is a summary. The useful output is the list of gaps, each tied to the line of code it came from.
Weighted by severity: critical ×3, high ×2, medium ×1. Not-applicable checks drop out.
A perfect audit trail doesn't make up for having no approval gate, so each layer counts the same.
A 90 with no step cap is still a C. Grades run A at 85 and up to F under 40.
"We fail closed" in a docstring is not a control. Tests, examples and dev tooling are kept out of production signals.
Agent Safety Review
A fixed-price review by a senior engineer who builds production agents, delivered in five business days. For teams heading into a launch, an enterprise deal or a security questionnaire.
Code only, no production accessRead access to the repo or a tarball. Nothing is run against your systems.
Half up front, half on deliveryIf the report doesn't give you five fixes worth making, you don't pay the second half.
Your code stays yoursReviewed privately, deleted 30 days after delivery, NDA on request.
Send a line about your agent and what it can do. You'll hear back within one business day with a fit check and a start date.
Book a review