Protection Beta 0.1.0-beta.1

Local policy & rule families

Deterministic rules, severity routing and how they combine with Claude.

Rule families

RuleWhat it catchesResponse
TR-CRED-EXFILA credential source feeding an outbound transferCritical denial
TR-DESTRUCT-OUTSIDERecursive deletion of user or system data outside the projectCritical denial; review for other paths outside the project
TR-POLICY-TAMPERRemoving or disabling TraceRook or its hooksCritical denial
TR-REMOTE-EXECRemote content piped into an interpreterHigh review
TR-UNKNOWN-EGRESSUploads, remote copies and object-storage transfersHigh review
TR-SENSITIVE-READSSH, cloud, Keychain and token locationsHigh review
TR-DOTENV-ACCESSPrivate environment filesHigh review
TR-PRIV-ESCsudo, doas and privilege elevationHigh review
TR-SECURITY-CONFIGSecurity configuration, ownership or permission changesHigh review
TR-PUBLISH-DEPLOYPublishing, releasing or deployingHigh review
TR-ENCODED-COMMANDEncoded content inside an execution pipelineHigh review
TR-REPEAT-DENIEDAnother denied action proposed in the same sessionHigh review
TR-INSPECTION-INCOMPLETEDynamic syntax or nesting beyond inspection depthHigh review

Scores route decisions

ScoreSeverityResponse
0–39LowAllow and record
40–69MediumAllow and notify
70–89HighHuman review
90–100CriticalDenial backed by concrete deterministic evidence

Automatic critical blocking comes from an enabled catastrophic rule, never from a numeric score alone. Scores rank how urgently something deserves attention.

Evidence has precedence

  1. A catastrophic deterministic match denies immediately.
  2. Deterministic high-risk evidence requests review.
  3. A Claude recommendation can request review or add a warning.
  4. Medium risk warns while allowing; low risk records with no override.

Claude can raise the level of scrutiny but never lowers a deterministic critical denial, and Allow once is never offered for one.

Commands are read as a shell reads them

Rules consider paths, quoting, redirection, pipelines, wrappers such as sudo and env, embedded interpreter flags and relative path components. A sensitive path alone gets a review; a sensitive path flowing into an upload gets a block. Anything TraceRook can't fully inspect moves to review rather than being waved through.

Unsafe actions and agent behavior

Findings fall into two categories. Unsafe action findings concern the proposed operation itself. Agent behavior findings concern the session: drift away from your task, instructions from repository content that redirected the agent, or repeated attempts at denied actions. Claude flags session drift directly in its verdict, and a finding can belong to both categories.