◀No Side Doors Allowed
AI Parcha-ai/agentrun #2798 · ★ 1.1kfeat(serve): a pin can fence an object argument to named keys, and a pinned tool takes only its listed argumentsA real, public pull request, signed as made with Claude Code. See it on GitHub ↗
IN THE WORLD

Locks down unattended AI agents so they cannot sneak past tool restrictions

REACH

Built by Parcha Labs (GREP.AI) and recently launched on Hacker News (133 points) with 1,051 GitHub stars, AgentRun is used by developers managing AI coding and workflow agents.

WHAT IT MEANS

Stops unattended agents from sneaking extra fields into CRM updates or using hidden parameter aliases in Gmail and Slack to bypass safety limits.

  • Parcha Labsmakes it
RED · how I did it
  • GONE Pinned simple arguments (like recipient_email or contact_id) must match their exact pinned value.
  • GONE Object arguments (like properties) cannot have their inner keys restricted by a pin.
  • GONE Extra top-level arguments not in the tool's official listing (like 'to' or 'id') are ignored and let through.
GREEN · how I do it now
  • NEW Pinned simple arguments must still match their exact pinned value.
  • NEW An object argument pinned to allowed keys may only contain those keys (or be null or omitted).
  • NEW Any top-level argument not declared in the pinned tool's official listing is immediately refused.

WHERE In AgentRun's Settings → Tools screen and the background tool gate that inspects every external action before an agent sends it.

SCENE You run an unattended AI agent allowed to email `recipient_email: ops@acme.test` (listed args: `recipient_email`, `subject`, `body`) and update HubSpot `contact_id: "42"` (listed args: `contact_id`, `properties`, with `properties` now pinned to key `hs_lead_score`).

Guarding
Unattended AI agent calls to pinned Gmail and HubSpot tools
What it can do
Allowed to run · Refused by gate