Code security

From ApiliumCode/mayros · View interactive version

Code security is an AI agent skill from the GitHub repository ApiliumCode/mayros. Classifies code vulnerabilities by OWASP Top 10 and CWE identifiers

How to use this skill

Skill file

code-security

Classifies code vulnerabilities by OWASP Top 10 categories and CWE identifiers, providing severity ratings for each finding.

When to Use

Use this skill when:

Vulnerability Coverage

The skill detects 12 vulnerability classes:

| CWE | Category | Severity |

| ------- | ---------------------------------- | -------- |

| CWE-89 | SQL Injection | critical |

| CWE-79 | Cross-Site Scripting (XSS) | high |

| CWE-78 | Command Injection | critical |

| CWE-22 | Path Traversal | high |

| CWE-502 | Insecure Deserialization | high |

| CWE-798 | Hardcoded Secrets | critical |

| CWE-95 | Code Injection | critical |

| CWE-918 | Server-Side Request Forgery (SSRF) | high |

| CWE-327 | Weak Cryptography | medium |

| CWE-601 | Open Redirect | medium |

| CWE-209 | Information Exposure | low |

| CWE-306 | Missing Authentication | medium |

Instructions

  1. Store code content in the graph using skill_assert or other write tools
  2. Query with predicate security:finding to trigger the code-security runtime
  3. The skill enriches each result with a findings array containing CWE IDs and severity levels
  4. Use security:vulnerability (with proof) to record confirmed vulnerabilities
  5. Query security:history to review past audit results for the current agent
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.