Config files for AI coding assistants can run commands on developer machines, so reviews must check them
POLICYAnthropicredteam/daily · 1 source
- Severity
- Medium
- Sources
- 1
What happened
AI coding assistants can be set up using small configuration files stored in a project. A change that looks like a harmless convenience feature can quietly allow commands to run on a colleague's computer, so people need to check what these files can trigger before approving them.
Like I’m new · Written by AI from 1 source · Wrong?
What to do
- Treat changes to AI assistant configuration files, hooks and skills as executable code and review what they can trigger before approving them.
- Require a code owner to approve these files through branch protection, and check the rule with a sample pull request.
- Retest any control that was checked only at a developer terminal in the automated workflow that uses the same repository.
- Review the shared skills, plugins and user-level configuration that developers load outside the project.
Written by AI from the sources, checked against them
Full story timeline · 1 update
Who reported · 1 outlet
CSO Online
Who and what is in it
Products