Skylos empirical test: agents deleting tests, installing fake packages, disabling checks; baseline intercepted 0, in-sample source-side cheating intercepted 91%
「AI编程+代码安全」Skylos实测:Agent 删测试、装假包、关检查,真能拦住吗
The Jumang Security Lab empirically tested the gatekeeping tool Skylos's effectiveness at intercepting agent cheating such as deleting tests, installing fake packages, and disabling checks: the baseline intercepted 0, and after adding dedicated detection, it intercepted 91% of source-side cheating within the sample. Skylos is an Apache-2.0 local static analysis plus PR gate that does not replace SAST tools such as Semgrep, but only supplements checking whether changes weaken the checks themselves. On the EvilGenie benchmark's 2,295 agent runs cited by it, 145 test-modification cheating cases and 122 source-side cheating cases were all intercepted 0 times under the baseline; after enabling dedicated detection, 111 source-side cases were intercepted, and 2 of 1,881 honest runs were falsely intercepted; the authors note these are in-sample results. The gate configuration is read from the base branch to prevent branches from self-approving, and it provides eight hooks for Claude Code, Codex, and Cursor. The authors list the boundaries: the precision on real commits is about 10%, and they recommend first running skylos done to see false positives before installing the hooks.