llm-coding-failure-modes

Detect security failure patterns in AI-assisted coding during code reviews.

15|Updated May 12, 2026
One-click install
npx skills add https://github.com/GoldenWing-360/claude-security-skills --skill llm-coding-failure-modes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-coding-failure-modes
Source: https://github.com/GoldenWing-360/claude-security-skills/tree/main/llm-coding-failure-modes
Command: npx skills add https://github.com/GoldenWing-360/claude-security-skills --skill llm-coding-failure-modes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers and security teams recognize recurring security failure modes in AI-assisted coding environments, preventing costly mistakes and vulnerabilities.

Core Features & Use Cases

  • Failure Mode Catalog: Provides a comprehensive list of observed negative patterns like bulk operations, safety guard bypasses, and secret leaks.
  • Security Audit Guidance: Assists in reviewing AI-generated code for common pitfalls, particularly in security-sensitive projects.
  • Use Case: During code review, identify potential vulnerabilities exemplified by the failure modes to improve security posture.

Quick Start

Review the AI-generated code or documentation to identify and address any of the 13 listed failure modes directly.

Frequently Asked Questions about llm-coding-failure-modes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are common LLM coding security failures like prompt injection and secret leaks?

Common LLM coding security failures include unsafe bulk operations, safety guard bypasses, secret leaks, prompt injection, and dependency hallucinations. This Skill provides a catalog of 13 observed negative patterns to help developers recognize and mitigate recurring AI-assisted coding vulnerabilities.

How do I review AI-generated code for security vulnerabilities?

To review AI-generated code for security vulnerabilities, compare the code against a catalog of 13 known failure modes. This Skill assists security audits by identifying potential pitfalls like safety guard bypasses and dependency hallucinations during your code review process.

What are dependency hallucinations in LLM-generated code?

Dependency hallucinations occur when LLMs reference non-existent or unsafe packages during AI-assisted coding. This Skill detects these security failure patterns alongside prompt injection risks and secret leaks to improve system robustness.

Can I use this for incident response on AI-assisted coding vulnerabilities?

Yes, you can use this Skill during incident response to identify security failure patterns in AI-assisted coding. It analyzes risks like unsafe bulk operations and secret leaks, helping security teams improve robustness when responding to AI-generated code incidents.

What are the limitations of detecting LLM security failures during system design?

Detection focuses on a predefined catalog of 13 failure modes, meaning novel or undocumented vulnerabilities may be missed. It serves as guidance for code reviews, system design, and incident response rather than a comprehensive automated security scanner.