← Lab /Software

Aletheia flags all 314 prompt-injection attacks with 3.75% false positives

Permission-minimality testing can reliably identify malicious coding-agent rules

Software arXiv 30 Sep 2026 Measurement Prototype evidence

Published as “Aletheia: Permission-Minimality Testing for Coding-Agent Rules”

Why it matters

The technique can automatically flag unnecessary permissions in LLM-driven coding agents, helping reduce attack surface without manual policy analysis.

Summary

Aletheia detects all 314 tested prompt-injection attacks (100% detection) and incurs only three false positives (3.75%) on benign GHAgentFiles rules; the evidence comes from a single shared refactoring task evaluated on 394 inputs, but the paper notes no classification gain over a simpler baseline.

What they found 4

  1. 100% detection of AIShellJack attack inputs

    “All 314 attack inputs complete execution and are detected (100%), with no alarms on the five templates (Table 1).”

  2. 3.75% false-positive rate on benign GHAgentFiles rules

    “GHAgentFiles produces three false positives (3.75%), 52 completed negative decisions, and 25 unresolved outcomes: 22 unsupported permission interpretations, two translation failures, and one provider refusal.”

  3. Synthesis generated 1,112 configurations and found 26 ineffective deletions

    “Synthesis prepares all 1,112 configurations for the cached attack projections and identifies 26 ineffective deletions.”

  4. Median runtime 44.35 s and cost $0.22 per input

    “translation and sandbox execution take a median of 44.35 seconds and US$0.22 per input, excluding subsequent task-context interpretation.”

Caveats 4

  • In an earlier development comparison, task-context interpretation alone produces the same file-level alarms as the combined criterion. Execution therefore supplies tested authority-removal evidence without an established classification gain.
  • Translation fidelity, nativeservice equivalence, enforcement, and oracle integrity limit the conclusions; attacks that misuse already-required authority may yield no witness.
  • The shared task may omit legitimate project obligations, and all 80 GHAgentFiles files informed method development.
  • Five templates and this development set do not establish a population false-positive rate.

What’s new here 4

  • Tests whether each declared permission can be removed while still completing the task, rather than mining permissions from observed accesses.
  • Performs dependency-aware permission synthesis to preserve required authority across deletions.
  • Uses independent leave-one-out executions to produce witnesses linking permission removal to successful artifact generation.
  • Operates on LLM-generated coding-agent rules without needing to understand natural-language intent.