Shipping an agent with tools, a schedule or an untrusted feed?
Paid diagnosis or a bounded hardening sprint/agent-hardening/llms.txtAgent Hardening Directory
Synthetic configs
Twelve agent configs scored by a static checker: ten that fail in common ways and two hardened references that pass. See where each one sits by autonomy tier, open its five checks, or paste your own config and check it in your browser.
Risk matrix
Twelve synthetic configs, placed by the autonomy tier the checker computed. Select one to open its scorecard.
Read-Only (1)
No mutating tools.
Simulated (1)
Paper or dry-run actions only.
Human-Gated (1)
Mutating tools stop for approval.
Autonomous (9)
Acts with no enforced gate.
All configs
Status
Autonomy tier
Failure class
Showing 12 of 12 configs.
| Config | Surface | Tier | Status | Score | Triggered classes |
|---|---|---|---|---|---|
| claude-skill-auto-pr-mergerA skill that merges green pull requests and deletes branches. The prose promises a human sign-off that the frontmatter never enforces. | Claude SKILL.md | Autonomous | fail | 40 | PHANTOM_APPROVAL_GATEIMPLICIT_TOOL_PRIVILEGE |
| mcp-postgres-slack-opsAn ops agent with raw SQL, row deletion and channel posting through two MCP servers, no scope split and an undeclared guard skill. | MCP manifest (JSON) | Autonomous | fail | 40 | IMPLICIT_TOOL_PRIVILEGESTRIPPED_DEPENDENCY_DRIFT |
| paper-book-trading-deskA paper trading desk that rebalances on a schedule. The prose claims every order is approved, the metadata says approval is not stated, and its guard skill was stripped on import. | Shared bot page (Markdown) | Simulated | fail | 0 | PHANTOM_APPROVAL_GATEUNBOUNDED_CRON_BURNIMPLICIT_TOOL_PRIVILEGESTRIPPED_DEPENDENCY_DRIFT |
| social-inbound-auto-dmScrapes Reddit threads and X mentions on a timer and sends direct messages from the same context, so any post can steer what gets sent. | Agent manifest (YAML) | Autonomous | fail | 30 | UNBOUNDED_CRON_BURNIMPLICIT_TOOL_PRIVILEGEINJECTION_SURFACE_EXPOSURE |
| email-to-refund-billing-botReads a billing inbox and issues refunds for the amount a sender asks for. It mentions human review but has no approval configuration. | System prompt (plain text) | Autonomous | fail | 0 | PHANTOM_APPROVAL_GATEUNBOUNDED_CRON_BURNIMPLICIT_TOOL_PRIVILEGEINJECTION_SURFACE_EXPOSURE |
| webhook-to-crm-mutatorApplies inbound webhook payloads straight to CRM records, including deletes, and lets the payload choose the action. | Agent manifest (JSON) | Autonomous | fail | 40 | IMPLICIT_TOOL_PRIVILEGEINJECTION_SURFACE_EXPOSURE |
| cron-research-brief-uncappedAn hourly research job that emails a brief with no run cap, quiet hours, spend breaker or dedupe key. | Agent manifest (YAML) | Autonomous | fail | 60 | UNBOUNDED_CRON_BURNIMPLICIT_TOOL_PRIVILEGE |
| multi-agent-stripped-skillsAn orchestrator that hands work to sub-skills and MCP tools that were stripped when the template was exported. | Claude SKILL.md | Autonomous | fail | 50 | IMPLICIT_TOOL_PRIVILEGESTRIPPED_DEPENDENCY_DRIFT |
| support-ticket-closer-raw-htmlIngests raw HTML email, follows instructions found in the message body, replies to customers and deletes attachments. | System prompt (plain text) | Autonomous | fail | 40 | IMPLICIT_TOOL_PRIVILEGEINJECTION_SURFACE_EXPOSURE |
| autonomous-deploy-watcherWatches a deploy pipeline every two minutes and runs shell commands to roll back or redeploy, with no scope and no approval step. | Agent manifest (YAML) | Autonomous | fail | 50 | UNBOUNDED_CRON_BURNIMPLICIT_TOOL_PRIVILEGE |
| ref-human-gated-mcp-opsA ticket ops agent where every mutating tool stops for a single-use approval token, the schedule has all four guards, and scopes, recipients and dependencies are declared. | Agent manifest (YAML) | Human-Gated | pass | 100 | None |
| ref-airlocked-read-only-triageReads public tickets and an RSS feed inside a read-only airlock, extracts typed JSON for a person to review, and holds no mutating tools. | Agent manifest (YAML) | Read-Only | pass | 100 | None |
Scorecard
Auto PR merger skill
- Score
- 40/100
- Status
- fail
- Autonomy tier
- Autonomous
- Checks
- 3 pass, 0 warn, 2 fail
- fail
Phantom approval gate
PHANTOM_APPROVAL_GATEseverity CRITICALLine 4
allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]
destructive tool 'delete_remote_branch'
Line 4
allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]
outbound tool 'post_review_comment'
Line 5
approval: Not stated
declared approval config is 'Not stated'
Line 10
Ask me first before merging anything. You approve every merge.
prose claims human approval
The prompt promises a human approves actions, but nothing in the config enforces it. Move the approval into the tool layer so mutating tools halt until a valid, single-use approval token is presented.
Required controls
- Tool-level approval flag on every mutating, financial, or outbound tool
- Runner halts (interrupt_before) and waits for a signed, expiring approval token
- Approval receipts logged with approver identity and action hash
- Config value replaces any 'not stated' approval metadata
Config patch example
tools: place_order: requires_approval: true approval_gate: interrupt_before: [place_order, create_payout] token_ttl_seconds: 300 - pass
Unbounded cron burn
UNBOUNDED_CRON_BURNseverity NONENo finding for this class.
- fail
Implicit tool privilege
IMPLICIT_TOOL_PRIVILEGEseverity CRITICALLine 4
allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]
destructive tool 'delete_remote_branch'
Line 4
allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]
outbound tool 'post_review_comment'
Line 4
allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]
no scope separation, allowlist, or least-privilege role declared
Mutating, financial, destructive, or outbound tools are available without scoping. Split read and write scopes, allowlist targets and recipients, and grant write tools only to a narrowly scoped role.
Required controls
- Separate read-only and write tool scopes
- Allowlisted recipients, hosts, accounts, or symbols for each write tool
- Least-privilege role per agent or step
- Per-call amount or volume ceilings on financial tools
Config patch example
tool_scopes: read: [lookup_order] write: send_email: allowed_recipients: ["ops@yourco.example"] role: support_agent - pass
Stripped dependency drift
STRIPPED_DEPENDENCY_DRIFTseverity NONENo finding for this class.
- pass
Injection surface exposure
INJECTION_SURFACE_EXPOSUREseverity NONENo finding for this class.
Source config (read-only, 14 lines)
---name: auto-pr-mergerdescription: Reviews open pull requests in the harborline.example monorepo and merges the ones with green checks.allowed-tools: [read_pull_request, merge_pull_request, delete_remote_branch, post_review_comment]approval: Not stated---# Auto PR mergerAsk me first before merging anything. You approve every merge.1. Read each open pull request with read_pull_request.2. When checks are green, call merge_pull_request, then delete_remote_branch.3. Leave a summary with post_review_comment.
A paid diagnosis or a bounded hardening sprint for your own agent config.
Runs locally in your browser. Nothing is uploaded or logged.
A SKILL.md file, an MCP or agent manifest (JSON or YAML) or a system prompt. The check runs as you type. Remove secrets before pasting. The checker masks common credential patterns in evidence excerpts.
Paste a config or load a sample to see its scorecard.
Read this before sharing a scorecard
- What the checker does
- Reads the config text and applies fixed rules for five failure classes. It does not run the agent, call its tools or use AI.
- What is synthetic
- All twelve configs. The companies and domains are fictional, and every scorecard is computed from the config shown.
- What a pass means
- The checker found no matching issue in the text. A pass does not verify the behavior of a running agent.
Found a failure class in your own agent? Describe the agent and the config surface, and Sleyter replies by email with a scoped diagnosis or a bounded hardening sprint.
Checker source: sleylabs-hardening-agent, commit ca48368.