Can one rules file control four coding agents? Study tests them at four security boundaries
In brief
A paper released Nov. 27 gave a single 278-word rules file to four coding agents, including Claude Code, and tested how they behaved at security boundaries.
1 min read
Edited by Seung Kim
Translated from the Korean original. Read the original in Korean
Why it matters
- Many development teams treat a one-page rules file kept in their repository as a way to control agents. The study tested that assumption experimentally from a security perspective.
- The experiments deliberately turned off the permission prompts each company built in as its own control, comparing the role the rules file plays at the boundary with that of a separate gate.
By the numbers
- 20
- Small repositories with hidden tests
- 12
- Working repositories for three agents
Key details
- Subjects: Claude Code, Codex CLI, Gemini CLI, and OpenCode paired with a DeepSeek model
- Boundary 1: An endpoint to which access was denied
- Boundary 2: A destructive shortcut that could delete data
- Boundary 3: Instructions secretly planted in the repository
- Boundary 4: A package secretly planted in the repository
Context
An earlier preregistered study found that agents rarely look up a repository's contribution rules. Author Sandeep Dhuri went further, asking what a rules file does at a boundary, and published his hypotheses and analysis code before running the experiments. The paper's title means "Markdown is not a firewall."