Skip to content

Trustabl rules v0.9.0

Latest

Choose a tag to compare

@sairenchristianbuerano sairenchristianbuerano released this 01 Dec 05:22
efadd47

458 rules, up from 343 in v0.8.0. This release adds 115 rules. No rules were removed and no severities changed, so existing findings stay as they were.

v0.8.0 v0.9.0
Rules 343 458 (+115)
Rule schema 26 53

New rules by severity: 5 critical · 51 high · 43 medium · 7 low · 9 info.

Contributors

Thank you to everyone who wrote rules for this release:

  • @ivanpaghubasan: 82 rules (static batches 1 to 8, agent and MCP client config, agent server, slash commands, approval gates)
  • @ericksondelacruz: 31 rules (the 27 tool-call claim rules across nine SDK families, and OBS-009..012)
  • @jhumel-code: 2 rules (OBS-013, OBS-014)

Engine requirement

Use Agent Reliability Analyzer v0.1.17 or newer. It is the first engine that understands rule schema 53. Older engines still load this pack, but skip the rules they cannot evaluate and print a "rules newer than this build" warning, so upgrade to get every check.

Highlights

  • Tool-call claims (27 rules, 9 SDK families). A tool that sends, pays, deletes or deploys should take a structured claim (who authorized the call, and why) and check it against facts the server holds. New rules flag side-effecting tools with no claim argument, claim arguments that nothing checks, and claims that are only logged or returned: ADK-024..026, AG2-023..025, CSDK-026..028, CREW-016..018, LC-028..030, MCP-033..035, OAI-034..039, PYD-016..018.
  • Approval gates. Flags agents that hold a send, pay, delete or deploy tool with no approval step (OAI-212, PYD-204, ADK-204, LC-206, LC-118), and agents that can both request an approval and redeem it themselves (*-203).
  • Taint rules: input reaching dangerous calls. Tracks MCP tool parameters into eval/exec/new Function (MCP-216, MCP-220, critical), subprocess, git and file calls (MCP-215, MCP-219), SQL text (MCP-218), and memory and vector-store keys (MCP-217, LC-204, LC-205). Also flags model output reaching a shell or eval (RAW-003).
  • MCP server hardening. Unauthenticated servers bound to all interfaces, disabled DNS-rebinding protection, bearer tokens with no audience check, shared transports across requests, model-directed text and hidden characters in tool descriptions, unchecked elicitation, and secrets returned from tools (MCP-036, MCP-037, MCP-203..214, MCP-221..223).
  • New: coding agents in CI (7 rules). Agent steps on untrusted triggers without an actor gate, ungated jobs holding write tokens, persisted checkout credentials, unrestricted shell, no egress limits, agent-invocable PR approval or admin merge, and agent workflows with no CODEOWNERS owner (CI-001..007).
  • New: agent servers and slash commands. Agent servers open to any origin or published with no session key (AGSRV-001, AGSRV-002). Slash commands that pre-approve shell, file writes or web retrieval (CCMD-001..003).
  • Project config and skills supply chain. Over-broad pre-approved commands and fetch hosts, auto-approved Bash, agent CLIs run with approvals off, unpinned or archived MCP servers, unscoped credentials, plain-http remotes, trust_remote_code, and guidance files that hide text or direct risky installs (AGCFG-011..023, MCPCFG-003..006). Skills that decode and run payloads, run destructive commands, ship binaries, install unpinned packages or print secrets (CSKILL-088..094).
  • Observability. Shared or missing run identifiers, spans recorded only on success, constant attempt counts, reasoning text leaking into labels, and judge models on floating aliases (OBS-009..016).

All new rules

MCP servers (26)
Rule Severity Finds By
MCP-033 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
MCP-034 medium Tool declares a claim argument that nothing checks @ericksondelacruz
MCP-035 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
MCP-036 medium MCP tool description contains hidden characters @ivanpaghubasan
MCP-037 medium TypeScript MCP tool description contains hidden characters @ivanpaghubasan
MCP-203 high MCP server is bound to all interfaces with no authentication or host allow-list @ivanpaghubasan
MCP-204 high Path containment check uses startsWith with a root that has no separator @ivanpaghubasan
MCP-205 high MCP stdio client is started with a shell given -c or a command taken from request input @ivanpaghubasan
MCP-206 high MCP server verifies bearer tokens with no audience check @ivanpaghubasan
MCP-207 high MCP client passes a server-supplied URL to an operating-system opener with no check @ivanpaghubasan
MCP-208 high MCP server shares one server or HTTP transport across requests @ivanpaghubasan
MCP-209 high MCP server switches DNS-rebinding protection off and names no authentication @ivanpaghubasan
MCP-210 high MCP server runs npm or pnpm install with a specifier built from a value @ivanpaghubasan
MCP-211 high MCP tool description contains directives aimed at the model @ivanpaghubasan
MCP-212 high MCP tool requests elicitation but does not check for an accept action @ivanpaghubasan
MCP-213 high TypeScript MCP tool description contains directives aimed at the model @ivanpaghubasan
MCP-214 high TypeScript MCP tool requests elicitation but does not check for an accept action @ivanpaghubasan
MCP-215 high MCP tool parameter reaches a subprocess, git or file call without normalization @ivanpaghubasan
MCP-216 critical MCP tool parameter reaches eval, exec or compile @ivanpaghubasan
MCP-217 high MCP tool builds a memory scope key from parameters by concatenation @ivanpaghubasan
MCP-218 high MCP tool parameter is built into SQL text passed to execute @ivanpaghubasan
MCP-219 high TypeScript MCP tool parameter reaches a child process or file call without normalization @ivanpaghubasan
MCP-220 critical TypeScript MCP tool parameter reaches eval or new Function @ivanpaghubasan
MCP-221 medium Python MCP tool returns a secret-named environment value @ivanpaghubasan
MCP-222 medium TypeScript MCP tool returns a secret-named environment value @ivanpaghubasan
MCP-223 medium Python MCP tool writes a credential-named parameter into a memory store @ivanpaghubasan
Agent and MCP client config (17)
Rule Severity Finds By
AGCFG-011 high Project settings pre-approve fetches from hosts that serve user-published content @ivanpaghubasan
AGCFG-012 medium Project settings pre-approve a command prefix that can run other programs @ivanpaghubasan
AGCFG-013 medium Agent guidance file contains invisible or direction-overriding text @ivanpaghubasan
AGCFG-014 medium Project settings point Claude Code at a non-Anthropic API host @ivanpaghubasan
AGCFG-015 high Committed script runs an agent CLI with approvals or sandbox disabled @ivanpaghubasan
AGCFG-016 high Project settings auto-approve all Bash commands @ivanpaghubasan
AGCFG-017 high Project settings pre-approve an interpreter prefix or an unscoped tool @ivanpaghubasan
AGCFG-018 low Per-user Claude Code settings file is not git-ignored @ivanpaghubasan
AGCFG-019 medium MCP stdio server with a non-literal command is started with the whole parent environment @ivanpaghubasan
AGCFG-020 medium SSRF guard is called in logging mode or switched off by a literal @ivanpaghubasan
AGCFG-021 medium Model is loaded with trust_remote_code=True @ivanpaghubasan
AGCFG-022 high An agent guidance file instructs a risky action @ivanpaghubasan
AGCFG-023 high An agent guidance file directs an install the manifests do not declare @ivanpaghubasan
MCPCFG-003 high Project MCP config launches an unpinned package @ivanpaghubasan
MCPCFG-004 high Project MCP config starts a server with an unscoped credential @ivanpaghubasan
MCPCFG-005 medium Project MCP config points a client at a remote server over plain http @ivanpaghubasan
MCPCFG-006 high Project MCP config launches an archived reference server @ivanpaghubasan
OpenAI Agents SDK (14)
Rule Severity Finds By
OAI-034 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
OAI-035 medium Tool declares a claim argument that nothing checks @ericksondelacruz
OAI-036 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
OAI-037 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
OAI-038 medium Tool declares a claim argument that nothing checks @ericksondelacruz
OAI-039 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
OAI-204 medium Handoff to an agent with a shell tool sets no input filter @ivanpaghubasan
OAI-205 high Agent holds a tool taking authorized_by and a tool that requests an approval @ivanpaghubasan
OAI-206 high Handoff-target agent wires shell tools @ivanpaghubasan
OAI-208 high Tool that reaches shell, code or write calls takes a model-settable override parameter @ivanpaghubasan
OAI-209 high Options order tool has no loss or size limit and no approval gate @ivanpaghubasan
OAI-210 medium Agent with no input_guardrails reaches a shell-executing agent through its handoffs @ivanpaghubasan
OAI-211 low Agent with input_guardrails reaches a shell-executing agent through its handoffs @ivanpaghubasan
OAI-212 high Agent holds a send, pay, delete or deploy tool with no needs_approval @ivanpaghubasan
Claude skills and slash commands (10)
Rule Severity Finds By
CCMD-001 high Slash command pre-approves unrestricted shell @ivanpaghubasan
CCMD-002 high Model-invocable slash command pre-approves file writes @ivanpaghubasan
CCMD-003 medium Slash command pre-approves model-driven web retrieval @ivanpaghubasan
CSKILL-088 high Bundled skill script decodes a payload and runs it @ivanpaghubasan
CSKILL-089 high Bundled skill script runs a destructive host command @ivanpaghubasan
CSKILL-090 medium Skill ships an archive, native binary, WebAssembly or bytecode file @ivanpaghubasan
CSKILL-091 medium Skill installs a package without an exact version or pipes a remote script to a shell @ivanpaghubasan
CSKILL-092 low Skill description pushes the agent to choose this skill over others @ivanpaghubasan
CSKILL-093 high Skill body tells the agent to decode content and then act on it @ivanpaghubasan
CSKILL-094 medium Bundled skill script prints a secret-named environment value @ivanpaghubasan
LangChain / LangGraph (8)
Rule Severity Finds By
LC-028 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
LC-029 medium Tool declares a claim argument that nothing checks @ericksondelacruz
LC-030 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
LC-118 high Deep Agent with a host-shell backend and no approval on execute @ivanpaghubasan
LC-203 high Agent holds a tool taking authorized_by and a tool that requests an approval @ivanpaghubasan
LC-204 high LangChain tool parameter is built into a vector-store filter @ivanpaghubasan
LC-205 medium LangChain tool parameter reaches a LangGraph store namespace @ivanpaghubasan
LC-206 high Agent holds a side-effecting tool with no interrupt, interrupt_on or human-in-the-loop middleware @ivanpaghubasan
Observability (8)
Rule Severity Finds By
OBS-009 medium One agent-reliability-otel-labels Run is shared by every agent run @ericksondelacruz
OBS-010 low Tool spans are labelled only when the tool succeeds @ericksondelacruz
OBS-011 low The tool-call attempt count is a constant @ericksondelacruz
OBS-012 low The run's end is recorded only when the run succeeds @ericksondelacruz
OBS-013 medium A reasoning label may be carrying the reasoning text itself @jhumel-code
OBS-014 low A model is set to reason, but no span records that it did @jhumel-code
OBS-015 medium A judge or guardrail model call uses a floating alias and the trace does not record the served model @ivanpaghubasan
OBS-016 medium Tool-call spans record no run, conversation or tool-call identifier @ivanpaghubasan
CI: coding agents in GitHub Actions (7)
Rule Severity Finds By
CI-001 critical Agent step runs on an untrusted trigger without an actor gate @ivanpaghubasan
CI-002 critical Ungated agent job holds a write token or extra secrets @ivanpaghubasan
CI-003 high Checkout persists credentials in an agent job @ivanpaghubasan
CI-004 high Agent step grants unrestricted shell @ivanpaghubasan
CI-005 medium Agent job with shell or web access has no egress restriction @ivanpaghubasan
CI-006 high Agent-invocable code approves a pull request or merges it with administrator privileges @ivanpaghubasan
CI-007 high Workflow that runs a coding agent, or an agent-config file, has no CODEOWNERS owner @ivanpaghubasan
Google ADK (5)
Rule Severity Finds By
ADK-024 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
ADK-025 medium Tool declares a claim argument that nothing checks @ericksondelacruz
ADK-026 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
ADK-203 high Agent holds a tool taking authorized_by and a tool that requests an approval @ivanpaghubasan
ADK-204 high Agent holds a side-effecting tool with no confirmation or before_tool_callback @ivanpaghubasan
Claude Agent SDK (5)
Rule Severity Finds By
CSDK-026 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
CSDK-027 medium Tool declares a claim argument that nothing checks @ericksondelacruz
CSDK-028 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
CSDK-115 high Subagent omits tools and inherits the full subagent tool pool @ivanpaghubasan
CSDK-209 high Python function passes a parameter to ClaudeAgentOptions resume @ivanpaghubasan
Pydantic AI (5)
Rule Severity Finds By
PYD-016 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
PYD-017 medium Tool declares a claim argument that nothing checks @ericksondelacruz
PYD-018 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
PYD-203 high Agent holds a tool taking authorized_by and a tool that requests an approval @ivanpaghubasan
PYD-204 high Agent holds a side-effecting tool with no requires_approval @ivanpaghubasan
CrewAI (4)
Rule Severity Finds By
CREW-016 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
CREW-017 medium Tool declares a claim argument that nothing checks @ericksondelacruz
CREW-018 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
CREW-203 high Agent holds a tool taking authorized_by and a tool that requests an approval @ivanpaghubasan
AutoGen (3)
Rule Severity Finds By
AG2-023 info Side-effecting tool takes no structured claim for its calls @ericksondelacruz
AG2-024 medium Tool declares a claim argument that nothing checks @ericksondelacruz
AG2-025 medium Tool's claim argument is only written out or returned, never checked @ericksondelacruz
Agent servers (2)
Rule Severity Finds By
AGSRV-001 high Agent server is configured to accept any browser origin @ivanpaghubasan
AGSRV-002 critical OpenHands agent server is bound to all interfaces and published with no session key @ivanpaghubasan
Raw LLM SDKs (1)
Rule Severity Finds By
RAW-003 medium Model output reaches a shell, eval, exec or compile call @ivanpaghubasan

Using these rules

  • Default: trustabl scan pulls the rules from this repository's main branch, so a v0.1.17+ engine picks them up on its next scan.
  • Signed channel: --rules-source production uses the signed, digest-pinned bundle.
  • Docs: Analyzer README · Coverage · trustabl.ai

Full changelog: v0.8.0...v0.9.0