synodic-ai™ AI SECURITY
AI Security Desk · Security Evaluation

What a clean result does not prove: silenced taint alerts, untested agent paths and model-written policies

Three papers posted on 2026-11-12 examine security signals that read the absence of a finding as evidence of safety. A static-analysis alert that disappears, an agent that never met the planted injection, and an authorization policy written by the agent's own model can each pass for protection, and each paper measures how often that reading is wrong.

An alert that disappears is not a fix

Static application security testing tools such as CodeQL act as gates in continuous integration, and the first paper points out that the gate is also read in reverse: when a reported alert disappears after a change, developers and alert-fixing tools tend to take the vulnerability as gone. That inference holds only if the analyzer is robust to changes that keep the flaw. A taint analyzer follows data through the code it sees and relies on hand-written summaries for library calls it does not analyze, so it has a modeling boundary. A change that moves a vulnerable flow across that boundary removes the alert and leaves the flaw. The paper does not say whether CodeQL's maintainers were notified.

The authors measured how often ordinary-looking edits do this. A large language model saw only what a CodeQL alert exposes, the source, sink and flow, and rewrote one function along the flow as a plausible maintenance change; each result was rerun through CodeQL and manually audited to confirm the vulnerable behavior survived. On 172 flows that CodeQL detects in confirmed npm vulnerabilities, dominated by path traversal and command injection, three rewrites per flow silenced 26.2% of them, at about $0.51 of model inference per silenced flow. The same generator asked only to refactor the same functions, without seeing the alert, silenced none.

Every silencing rewrite traced to one of seven gaps at the library-modeling boundary, and 64 of the 70 crossed a gap inside an API that CodeQL already models. The largest was the WHATWG URL constructor, which CodeQL treats as passing taint to a URL's query components but not to its pathname; it alone accounted for 43 of the 70. In another case, the command-injection query models an array join only with a single-space separator, so assembling the same shell command with a different separator ended the tracked flow. The gaps are not unique to one tool: 74% of the silencing rewrites in scope also silenced an independently built analyzer, and 53% of those in the three tools' common scope escaped all three. The study covers JavaScript only, and the authors, not blinded maintainers, judged whether each rewrite looked natural.

An agent that never met the attack was not tested

The second paper turns to mobile GUI agents, which read a phone screen and operate apps on a user's behalf, and to environmental injection, in which an attacker places instructions in ordinary content the agent will see. Existing benchmarks pin a hand-written payload to a fixed step of a fixed task. Agents given the same task take different routes, so an agent that never reaches the injected page is recorded as safe without having been tested.

The authors quantify that gap. With expert-chosen fixed injection points, the payload was never encountered in 13.3% and 12.0% of runs for two agents and 22.9% for a lightweight on-device agent, which strays from expected paths more often. Their framework, MobileProbe, first discovers attacker-controllable content surfaces in each app through automated penetration testing, then picks the injection point from each agent's actual trajectory and refines payloads through a filtered evolutionary loop with programmatic checks of the outcome. Miss rates fell to 4.8%, 3.6% and 6.0%.

On a benchmark of 83 long-horizon attack instances across 12 apps, labeled by confidentiality, integrity or availability goal, the full pipeline reached attack success rates of 85.1% to 86.3% on all three agents, where static templates and one-shot generated payloads stayed below 13% on two of them. Fake in-app dialogs succeeded more often than malicious text, cross-app tasks more often than single-app ones, and integrity goals more often than availability goals, which require the agent to abandon the user's task. Many attacks succeeded without disrupting the original task, so a user checking only whether the task got done would not notice.

A policy the model writes inherits the model's mistakes

The third paper examines prompt-injection defenses that take the decision away from the model and give it to code, but ask the agent's own model to write what the code enforces: a program, a privilege policy, a tool dependency graph or a constraint list. The authors ran four such published defenses on 15 open-weight models, 13 of them between 1.7 and 12 billion parameters, using the AgentDojo benchmark. Where the model-written artifact decides what is allowed, it failed open: generated policies admitted attacks on 14 of the 15 models, dependency graphs on 13 and constraint lists on 11. Where the artifact decides what runs, it failed closed: the program-based defense was breached in only 20 of 13,935 attacked episodes, but its programs failed to run in up to 68% of episodes, at about 94,000 tokens per episode. Failure rates showed no trend with model capability.

CapLite takes the model out of authorization. A policy is derived from the tool schemas by fixed rules, sorting tools into read and write by their verbs and marking arguments such as recipients, amounts, account and object identifiers and URLs as authority fields. A planner that sees only the user's request and the tool documentation commits the write calls before any tool result is read, and a deterministic mediator admits a write only if every authority argument equals a value stated in the request. Injected text can still influence which reads happen, dates and times, free-text content and the final answer, but it cannot add a write, switch to a different write tool or redirect one. No attack succeeded in 13,935 attacked episodes, and a trace audit run outside the agent found no violation in 25,452 episodes.

The guarantee has a price the authors report. Utility under attack averaged 29.0%, comparable to the program-based defense's 27.2% at 18% of its tokens, but 21 points below the undefended agent; most of that gap comes from the small model's planning, and in 43% of benign failures the committed plan missed a write the task needed. An authority value that appears only in a tool result requires the user's confirmation, free-text content is not constrained, and an injection goal that asks only for a sentence in the final answer falls outside the guarantee.

Measuring exposure, not only outcomes

The three results share a structure. Each trusted signal is an absence: no alert, no recorded attack, no policy violation. In each case the absence was partly produced by the measurement itself, whether a modeling gap, a payload the agent never saw, or a policy the model got wrong in the permissive direction. The practical response is to record what the check actually exercised and to put security decisions where the model's errors cannot reach them.

Sources