Skip to content

Aletheia: A least-privilege testing framework for coding agent rulesAletheia: Permission-Minimality Testing for Coding-Agent Rules

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.39678· Jieke Shi, Yuchen Chen, Junda He, Yue Liu, David Lo·Indexed by this site · 2026-10-01· Originally publishedDefenses
AI summary

Aletheia is a least-privilege testing framework for coding agent repository instruction files, designed to detect malicious rules that request credential access or data transfer permissions while generating correct patches. It translates the permissions requested by a rule into a typed language and synthesizes executable sandbox configurations, running the same unmodified rule and task under full permissions and under separate restrictions with each permission removed; if functional tests still pass after strictly reducing permissions, it obtains a witness that the permission can be discarded, then diagnoses suspicious requests in the context of the task. The authors formalize configuration synthesis and the conditions between witnesses and enforced restrictions. On a shared refactoring task, Aletheia executed and detected all 314 AIShellJack attack inputs with no false positives on five benign templates; among 80 manually verified benign GHAgentFiles rules, it produced 3 false positives (3.75%).

Related events and news

1 events · 1 news mentions

News that mentions this paper

Aletheia:用最小权限测试检测编程智能体规则注入

Read originalarxiv.org