PromptRiskDBThreat intelligence atlas
AI Risk

Harmful code generation

"Models might generate code that causes harm or unintentionally affects other systems."

AI Risk2. Privacy & Security2.2 > AI system security vulnerabilities and attacks2 - Post-deployment

Record summary

A quick snapshot of what this page covers.

Techniques1Attack methods connected to this risk.
Mitigations0Defenses that may help with related attacks.
Domain2. Privacy & SecurityThe broad risk area this belongs to.

Risk profile

How this risk is described and categorized.

Domain2. Privacy & Security
Subdomain2.2 > AI system security vulnerabilities and attacks
Entity2 - AI
Intent2 - Unintentional
Timing2 - Post-deployment
CategoryOutput risks (Value alignment)
SubcategoryHarmful code generation

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.