
Security Scanner
- 30 installs
- 84 repo stars
- Updated January 28, 2026
- aidotnet/moyucode
security-scanner is a Claude Code skill that performs security-focused code analysis to identify OWASP Top 10 vulnerabilities, hardcoded secrets, and insecure configuration.
About
security-scanner is a Claude Code skill that performs security-focused code analysis to find vulnerabilities. A developer invokes it to check for OWASP Top 10 issues, hardcoded secrets, and weak configuration. The SKILL.md shows vulnerable-vs-safe examples for SQL injection, XSS, password hashing, secret detection, security headers, and input validation.
- Security-focused code analysis for OWASP Top 10 vulnerabilities
- Covers SQL injection, XSS, auth hashing, and secret detection
- Includes security headers and input-validation patterns
Security Scanner by the numbers
- 30 all-time installs (skills.sh)
- Ranked #1,493 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
security-scanner capabilities & compatibility
- Capabilities
- security audit · vulnerability scanning · secret detection · code review
- Use cases
- security audit · code review
- Pricing
- Free
What security-scanner says it does
Perform security-focused code analysis to identify vulnerabilities and security issues.
You are a security expert that identifies vulnerabilities and recommends fixes.
npx skills add https://github.com/aidotnet/moyucode --skill security-scannerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 30 |
|---|---|
| repo stars | ★ 84 |
| Last updated | January 28, 2026 |
| Repository | aidotnet/moyucode ↗ |
What it does
Scan code for OWASP Top 10 vulnerabilities, hardcoded secrets, and insecure configuration.
Who is it for?
Reviewing code for OWASP Top 10 issues, secrets, and insecure config
Skip if: Runtime penetration testing of a live deployed service
When should I use this skill?
You want a security review of code for vulnerabilities or secrets
What you get
A list of identified vulnerabilities with recommended safe fixes
- A vulnerability report with safe-fix recommendations
By the numbers
- Covers 6 vulnerability areas: SQL injection, XSS, auth hashing, secret detection, security headers, and input validation
Files
Security Scanner Skill
Description
Perform security-focused code analysis to identify vulnerabilities and security issues.
Trigger
/securitycommand- User requests security review
- User asks about vulnerabilities
Prompt
You are a security expert that identifies vulnerabilities and recommends fixes.
SQL Injection Prevention
// ❌ VULNERABLE: SQL Injection
const query = `SELECT * FROM users WHERE email = '${email}'`;
// ✅ SAFE: Parameterized query
const query = 'SELECT * FROM users WHERE email = $1';
const result = await db.query(query, [email]);
// ✅ SAFE: Using ORM
const user = await prisma.user.findUnique({ where: { email } });XSS Prevention
// ❌ VULNERABLE: XSS in React (rare but possible)
<div dangerouslySetInnerHTML={{ __html: userInput }} />
// ✅ SAFE: Sanitize HTML
import DOMPurify from 'dompurify';
<div dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(userInput) }} />
// ✅ SAFE: Use text content (React auto-escapes)
<div>{userInput}</div>Authentication Security
// ❌ BAD: Weak password hashing
const hash = crypto.createHash('md5').update(password).digest('hex');
// ✅ GOOD: Strong password hashing
import bcrypt from 'bcrypt';
const hash = await bcrypt.hash(password, 12);
const isValid = await bcrypt.compare(password, hash);
// ✅ GOOD: JWT with proper configuration
import jwt from 'jsonwebtoken';
const token = jwt.sign(
{ userId: user.id },
process.env.JWT_SECRET!,
{ expiresIn: '1h', algorithm: 'HS256' }
);Secret Detection Patterns
// ❌ DETECTED: Hardcoded secrets
const API_KEY = 'sk-1234567890abcdef';
const password = 'admin123';
const awsSecret = 'AKIAIOSFODNN7EXAMPLE';
// ✅ SAFE: Environment variables
const API_KEY = process.env.API_KEY;
const password = process.env.DB_PASSWORD;Security Headers (Express)
import helmet from 'helmet';
app.use(helmet({
contentSecurityPolicy: {
directives: {
defaultSrc: ["'self'"],
scriptSrc: ["'self'", "'unsafe-inline'"],
styleSrc: ["'self'", "'unsafe-inline'"],
imgSrc: ["'self'", "data:", "https:"],
},
},
hsts: { maxAge: 31536000, includeSubDomains: true },
noSniff: true,
referrerPolicy: { policy: 'strict-origin-when-cross-origin' },
}));
// CORS configuration
app.use(cors({
origin: ['https://myapp.com'],
credentials: true,
methods: ['GET', 'POST', 'PUT', 'DELETE'],
}));Input Validation
import { z } from 'zod';
const CreateUserSchema = z.object({
email: z.string().email().max(255),
password: z.string().min(8).max(100),
name: z.string().min(1).max(100).regex(/^[a-zA-Z\s]+$/),
});
// Validate input
const validated = CreateUserSchema.parse(req.body);Tags
security, vulnerability, owasp, scanning, compliance
Compatibility
- Codex: ✅
- Claude Code: ✅
Related skills
FAQ
What vulnerability classes does it cover?
SQL injection, XSS, weak authentication hashing, hardcoded secrets, missing security headers, and input validation.
Does it reference a standard?
Yes. It targets the OWASP Top 10 vulnerabilities.