PromptRiskDBThreat intelligence atlas
AI Risk

Models generating code with security vulnerabilities

"Models can generate code or coding suggestions that contain security vulner- abilities. This may occur across various LLM-based model families, including more advanced models with superior coding performance, where the tendency to produce insecure code is even more pronounced [26]."

AI Risk7. AI System Safety, Failures, & Limitations7.3 > Lack of capability or robustness2 - Post-deployment

Record summary

A quick snapshot of what this page covers.

Techniques0Attack methods connected to this risk.
Mitigations0Defenses that may help with related attacks.
Domain7. AI System Safety, Failures, & LimitationsThe broad risk area this belongs to.

Risk profile

How this risk is described and categorized.

Domain7. AI System Safety, Failures, & Limitations
Subdomain7.3 > Lack of capability or robustness
Entity2 - AI
Intent2 - Unintentional
Timing2 - Post-deployment
CategoryImpacts of AI (Cyberattacks)
SubcategoryModels generating code with security vulnerabilities

Suggested mitigations

Defenses that may help with related attacks.

No propagated mitigations. No defense is available through the connected attack methods.

Source

Research source for this risk, when available.