Only 46.3% of developers with prior security training solved SecureFlag’s prompt injection lab, and just 37.7% solved its supply chain lab, according to the 2026 Developer Competency in Securing LLM Applications report from secure coding training platform SecureFlag. The findings drew on 420,383 attempts by developers to fix security vulnerabilities in realistic lab environments mapped to the OWASP Top 10 for Large Language Model (LLM) Applications.
Prompt injection, where attackers trick an AI into following their instructions instead of its own, is ranked the top risk in the OWASP Top 10 for LLM Applications. It affects almost any app where AI reads user or external content, and can lead to leaked data or unauthorized actions. More than half of developers in SecureFlag’s labs failed to fix the vulnerability, and this category saw the highest demand for hints, suggesting that developers found it particularly challenging.
The findings carry added weight as developers increasingly rely on AI coding assistants to write security controls they may not be able to evaluate themselves.
Emilio Pinna, CTO of SecureFlag, said: “Recognizing an AI threat and defending against it are very different skills. Developers are increasingly using AI to write their security code, and if you can’t judge whether a defense works yourself, you can’t judge whether the AI’s version works either. The answer isn’t to stop using AI coding tools, but to make sure the people using them have the skills to check what those tools produce.”
Other key findings
- Supply chain was the hardest flaw to fix. Ranked third in the OWASP Top 10 for LLM Applications, it had the lowest solve rate in the study with an average 3.58 attempts per developer.
- System prompts leak to persistent attackers. In an attacker-role lab, practitioners extracted a chatbot’s hidden system prompt 84.5% of the time, averaging 7.56 attempts. A prompt that survives the first try can still be extracted by a persistent attacker.
- Security code that detects but never enforces. Across every category, the most common failure was a correct detection step that did not gate anything: scanner results never checked, sanitized output discarded, and rate limiters attached to the wrong application instance.
- Old instincts point the wrong way. Developers sanitize user input, but in LLM apps the dangerous data often comes from the model’s own output, which looks like a trusted server response.
- No code-fix category exceeded 70%. Solve rates on code-fix labs ranged from 37.7% to 70.0%, and the median across all nine categories was 63.6%, even among developers who had completed prior security training.
The full report is available at https://www.secureflag.com/resources/press-releases/2026-developer-competency-in-securing-llm-applications/





