TL;DR: An unauthenticated SQL injection was found during continuous penetration testing, then proved to expose live customer endpoint records in a high-risk application, according to terra. The case shows that traditional scanners and manual testing can still miss exploitable flaws when business context and chained proof-of-impact matter.
NHIMG editorial — based on content published by terra: How Terra’s AI Agents Uncovered a Critical SQL Injection Missed by Traditional Tools and Manual Testers
Questions worth separating out
Q: What breaks when SQL injection is not blocked at the application layer?
A: When SQL injection is not blocked, the application boundary between user input and database instructions collapses.
Q: When should teams prioritise exploit validation over scanner alerts?
A: Teams should prioritise exploit validation whenever a scanner flags a public-facing path that can reach sensitive records, authentication logic, or database operations.
Q: How do security teams know whether continuous pentesting is actually working?
A: They know it is working when the programme produces repeatable evidence: blocked actions are logged, approvals are traceable, scope changes are controlled, and test behaviour stays within policy.
Practitioner guidance
- Define exploit-validation thresholds for high-risk web findings Require proof-of-exploit for unauthenticated inputs, database-linked endpoints, and any issue that could expose operational customer data.
- Insert human approval gates before destructive or data-revealing steps Use explicit guardrails for any action that could query live records, enumerate tables, or move from reconnaissance to exploitation.
- Prioritise business-impact testing over raw vulnerability counts Rank web findings by the sensitivity of the data they can reach, the downstream systems they can expose, and the business consequence of disclosure.
What's in the full article
terra's full article covers the operational detail this post intentionally leaves for the source:
- The exact request path and payload progression that turned an anonymous API probe into a working SQL injection proof of concept.
- The business-impact demonstration showing how exposed endpoint records mapped to operational risk in a customer environment.
- The guardrail workflow used to keep the test safe while still allowing controlled exploitation and evidence capture.
- The disclosure and remediation sequence that followed the validation step.
👉 Read terra’s analysis of how an AI agent found a critical SQL injection →
Agentic pentesting and SQL injection gaps: what teams should know?
Explore further
Agentic testing is becoming a coverage model, not just a speed model. The value in this case was not that an AI agent found a familiar flaw, but that it combined enumeration, exploitation, and business-context reasoning in one controlled workflow. That expands what continuous validation can cover when scanners stop at detection. For AppSec leaders, the practical conclusion is that coverage depth now matters as much as scan volume.
A question worth separating out:
Q: What should teams do after a critical injection flaw is proven in testing?
A: Teams should isolate the vulnerable path, confirm whether similar query logic exists elsewhere, and retest the fix with the same exploit conditions that demonstrated impact. They should also review logging, detection, and data exposure scope so that a single flaw cannot reveal operational records across environments.
👉 Read our full editorial: Agentic pentesting exposes SQL injection gaps scanners miss