code-safety

Scan LLM-generated code for injection, XSS, and security vulnerabilities.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/framerslab/agentos-skills --skill code-safety
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-safety
Source: https://github.com/framerslab/agentos-skills/tree/main/registry/curated/code-safety
Command: npx skills add https://github.com/framerslab/agentos-skills --skill code-safety

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automatically scans LLM-generated code for security vulnerabilities, ensuring your code is safe from common threats.

Core Features & Use Cases

  • Security Vulnerability Detection: Identifies common security issues such as injection, XSS, and hardcoded secrets.
  • On-Demand Scanning: Allows for manual scanning of code at any point.
  • Use Case: Before deploying code to production, use this Skill to scan for vulnerabilities and ensure your code is secure.

Quick Start

Run the code-safety skill on your code snippet to check for security vulnerabilities.

Frequently Asked Questions about code-safety

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

FAQPage Schema
How do I scan LLM-generated code for security vulnerabilities?▼

To scan LLM-generated code for security vulnerabilities, you can use static analysis to automatically detect injection, XSS, and hardcoded secrets before deployment.

What is static analysis for code security?▼

Static analysis for code security is a scanning mechanism that utilizes language-aware pattern rules to detect common security issues within source code without executing it.

Can I manually trigger a security scan on my code snippet?▼

Yes, you can manually trigger on-demand security scanning to evaluate any code snippet at any point during your development workflow to ensure vulnerability detection.

Does this code safety scanning detect hardcoded secrets and XSS?▼

Yes, code safety scanning detects hardcoded secrets and XSS by applying language-aware pattern rules to identify injection vulnerabilities and other common security issues.

When should I run a vulnerability detection scan in my workflow?▼

You should run vulnerability detection scans before deploying code to production, ensuring your LLM-generated code is secure from common threats like injection and XSS.

Related Skills