Skip to content

Shipping an agent with tools, a schedule or an untrusted feed?

Paid diagnosis or a bounded hardening sprint/agent-hardening/llms.txt

Agent 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.

Curated agent configs and their computed scorecards
ConfigSurfaceTierStatusScoreTriggered 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.mdAutonomousfail40PHANTOM_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)Autonomousfail40IMPLICIT_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)Simulatedfail0PHANTOM_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)Autonomousfail30UNBOUNDED_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)Autonomousfail0PHANTOM_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)Autonomousfail40IMPLICIT_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)Autonomousfail60UNBOUNDED_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.mdAutonomousfail50IMPLICIT_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)Autonomousfail40IMPLICIT_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)Autonomousfail50UNBOUNDED_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-Gatedpass100None
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-Onlypass100None

Scorecard

Auto PR merger skill

Score
40/100
Status
fail
Autonomy tier
Autonomous
Checks
3 pass, 0 warn, 2 fail
  1. fail

    Phantom approval gate

    PHANTOM_APPROVAL_GATEseverity CRITICAL
    • Line 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
  2. pass

    Unbounded cron burn

    UNBOUNDED_CRON_BURNseverity NONE

    No finding for this class.

  3. fail

    Implicit tool privilege

    IMPLICIT_TOOL_PRIVILEGEseverity CRITICAL
    • Line 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
  4. pass

    Stripped dependency drift

    STRIPPED_DEPENDENCY_DRIFTseverity NONE

    No finding for this class.

  5. pass

    Injection surface exposure

    INJECTION_SURFACE_EXPOSUREseverity NONE

    No 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.
Fix this failure class

A paid diagnosis or a bounded hardening sprint for your own agent config.

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.