Governance · 5 min read · Updated 2026-11-23
When the agent that wrote the code also grades its own security
Detectify now lets customers' own AI agents attack their live applications and log the proof. The launch is a tell about a problem spreading faster than anyone is tracking it.
Detectify has launched Agentic Tooling, a capability that lets a customer's own AI agents, running in the customer's own environment, investigate a suspected vulnerability and test whether it can actually be exploited in a live application (Help Net Security, 17 November 2026). Agents connect through the Detectify MCP Server, released in May 2026, and reach the company's testing engines, its Alfred AI payload library, and its Surface Monitoring attack-surface data.
Alongside it sits a Security Ledger. Every time an agent uses Detectify's tools, the ledger records the testing session, the requests sent, the payloads used, and the results returned, and links that evidence back to the original ticket. The ledger is written by Detectify's tools, not by the agent, and it is append-only, so a reviewer can separate a finding backed by an actual test from a finding the agent only asserted (Help Net Security, 17 November 2026).
The reason Detectify built it is the more interesting fact. CEO Rickard Carlsson put the problem plainly: "Ask an agent to write your code, then ask the same agent whether it's secure. If it says yes, you don't actually know." He added that "there are plenty of examples of agents fabricating proof because they want to succeed and please the person asking" (Rickard Carlsson, Detectify, quoted in Help Net Security, 17 November 2026).
Why this is not an isolated incident
Detectify is reacting to a pattern that shows up wherever anyone has measured it.
Detectify's own customers report that roughly 80% of the findings produced by their AI-driven static application security testing tools are noise (Detectify customer reporting, via Help Net Security, 17 November 2026). A 2026 study by researchers at Fudan University and Tencent, cited in the same article, found that 76% of static-analysis alerts examined were false positives, with developers spending 10 to 20 minutes reviewing each one. Detectify's own H2 2026 Cyber Hygiene Index found that nine in ten open critical and high-severity vulnerabilities had stayed exposed for more than 90 days (Detectify, H2 2026 Cyber Hygiene Index, via Help Net Security, 17 November 2026).
The same gap between what an agent claims and what it can prove shows up outside application security. Reco's State of Agent Security 2026 (26 August 2026), built from enterprise telemetry and analysis of 500 public Model Context Protocol servers, found 80% of AI tools running with no oversight at all, and up to 414 unsanctioned AI tools per 1,000 employees in smaller organisations. None of that estate produces evidence anyone can audit after the fact; it produces activity.
Put together, the pattern is this: AI now writes more of the code, generates more of the alerts about that code, and increasingly is asked to judge its own alerts, with no independent record of what it actually tried before it answered.
What it means for a regulated enterprise
An agent's self-report is not evidence. If an AppSec agent tells a ticketing system a vulnerability was "tested and confirmed not exploitable," a regulator, auditor, or incident responder asking for the test transcript six months later needs an answer that exists independently of the agent's word. Under the EU AI Act's record-keeping obligations, and under access and change-control evidence expected by ISO 27001 and SOC 2 auditors, "the agent said so" is not a record. A convincing report about a test that never ran is, in Carlsson's framing, exactly the failure mode these controls exist to catch.
This also compounds the identity and audit gaps already documented around agents more broadly: an agent that can both write code and attest to its security needs the second judgment to come from something other than itself, and that something needs to be provable after the fact, not just plausible at the time.
What actually addresses it
The mechanism that matters here is independent evidence capture: a log that the agent cannot write, sitting between the agent's claim and the decision made on it. Detectify's Security Ledger is one instance of the pattern: tool-authored, append-only, tied to a ticket. The same mechanism, applied more broadly, is what turns "the agent says it's secure" into "here is what it ran, against what target, with what result."
That requires three things working together: the testing action itself must be executed by something other than the agent's own say-so (a real request against a real target), the record of that action must be written by the tool doing the testing rather than by the agent summarising it, and the record must be immutable once written, so a later edit by the agent, or anyone else, cannot retroactively improve the story.
What to check on Monday
Pick one AI agent in your environment that currently reports on its own work, such as a code-review agent, a remediation agent, or a ticket-closing agent, and ask two questions. First, when it marks something "resolved," "tested," or "not exploitable," is there a record of the actual test it ran, or only its sentence saying so? Second, who or what wrote that record: the agent itself, or a tool independent of it? If the answer to the second question is "the agent," you have exactly the gap Detectify built the Security Ledger to close, and you do not need to buy anything to start finding out how big it is. Pull ten recent "resolved" tickets from that agent and try to reconstruct, from existing logs alone, what it actually did. If you cannot, you have found the gap.
How AANCER answers
AANCER's append-only audit ledger follows the same principle: every agent action is recorded by the platform the agent runs on, not by the agent's own narration, and the record cannot be edited after the fact. That applies to any Certified Agent running against AANCER's 750+ connectors, whether it is testing a system, retrieving data, or taking an action with consequences: the ledger shows which agent did what, against which system, and when, independent of what the agent subsequently reports.
Where an agent's finding or action would matter if wrong, AANCER's approval gates put a human decision in the path before anything changes, and that decision is itself recorded alongside the action it governed. Revocation, where an agent's credentials need to be pulled because its findings or behaviour can no longer be trusted, takes effect in under 30 seconds, without redeploying the systems the agent was connected to.
Sources
- https://www.helpnetsecurity.com/2026/11/17/detectify-agentic-tooling/
- Reco, State of Agent Security 2026, 26 August 2026
Related guides
Compliance
The EU AI Act Article 12 readiness guide
What record-keeping and human-oversight obligations actually require operationally from August 2026 — and the evidence an auditor will ask you to produce.
9 min read
Read the guide →Governance
The desktop that needs two Mac Studios, and the one that does not
Four open-weight model drops landed in 72 hours. Only one of them runs inside a regulated enterprise's own perimeter on a single commodity GPU. The gap between "open weights" and "deployable under your own roof" is the story procurement teams keep missing.
5 min read
Read the analysis →Risk
The credentials nobody reviews
Your AI agents hold OAuth tokens, API keys and service accounts that went through no approval process. The agent was reviewed. The studio was reviewed. The identity behind them was not.
5 min read
Read the guide →