Skip to content

Sentinel hunts agent blast radius: what one agent command could wreck - #2077

Open
keshav55 wants to merge 1 commit into
masterfrom
codex/claude-sentinel-agent-blast-radius-class-20261122-010645
Open

keshav55 wants to merge 1 commit into
masterfrom
codex/claude-sentinel-agent-blast-radius-class-20261122-010645

Conversation

@keshav55

Copy link
Copy Markdown
Contributor

Sentinel's audit gets a new thing to hunt: places where one command from a coding agent could destroy data, infrastructure, money or messages with nothing outside the model to stop it.

Adapted from the in-repo checks of jdpru/cover-your-ais, prompts/ai-codebase-safety-audit.md:

  • recursive deletes whose target is a variable or glob
  • test setup that drops, truncates, resets or migrates a database (conftest and jest/vitest/playwright setup are now read for this class only; other test files stay skipped)
  • infrastructure without deletion protection, auto-approve and force flags
  • agents running in CI
  • pay, refund, order and send paths with no cap or confirmation
  • prose-only rules in AGENTS.md, CLAUDE.md, .cursorrules (matched in those files only, so code comments do not seed work)

The machine-level checks from that list (account tokens, synced folders, shell aliases, MCP pinning, hooks) are not source. Hooks, MCP pinning, permissions and hidden characters are already covered by atris sentinel agents.

Proof: new map test; all 249 sentinel and audit tests pass. A free plan of atrisos-backend seeds 133 blast-radius areas out of 3,921.

🤖 Generated with Claude Code

Adds a hunter class adapted from jdpru/cover-your-ais (ai-codebase-safety-audit):
recursive deletes on a variable, test setup that wipes a database, infrastructure
one command can destroy, agents in CI, uncapped money and message sends, and
prose-only rules in AGENTS.md, CLAUDE.md and .cursorrules. Test setup files are
now read for this class only; prose-rule patterns match instruction files only.

Co-authored-by: Atris <299057014+atris-builder[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant