Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

security-scan

БесплатноЗапускает вложенные скриптыНе проверен

Scan code for OWASP vulnerabilities and security issues. Use for security-sensitive implementations.

vneseyoungsterот vneseyoungster★ 27 звёзд на GitHub6 установок в других каталогах

Об этом скилле

Security Scan Skill

Purpose

Identify and prevent security vulnerabilities.

OWASP Top 10 Checklist

Reference: checklists/owasp-top-10.md

A01: Broken Access Control

  • Authorization on all endpoints
  • Deny by default
  • Rate limiting implemented
  • CORS properly configured

A02: Cryptographic Failures

  • Data encrypted in transit (HTTPS)
  • Sensitive data encrypted at rest
  • Strong algorithms used
  • Keys properly managed

A03: Injection

  • Parameterized queries
  • Input validation
  • Output encoding
  • No eval() with user input

Authentication Checklist

Reference: checklists/auth-security.md

  • Passwords hashed (bcrypt/argon2)
  • Session properly managed
  • Tokens securely stored
  • Logout invalidates session

Data Validation Checklist

Reference: checklists/data-validation.md

  • All input validated
  • Type checking enforced
  • Size limits set
  • Format validation done

Automated Scan Script

Run: scripts/security-scan.sh

#!/bin/bash
# Run dependency audit
npm audit

# Run static analysis (if available)
npx eslint --plugin security .

# Check for secrets
npx secretlint .

Vulnerability Severity Levels

Critical

  • Remote code execution
  • SQL injection
  • Authentication bypass
  • Sensitive data exposure

High

  • Cross-site scripting (XSS)
  • Cross-site request forgery (CSRF)
  • Insecure deserialization
  • Privilege escalation

Medium

  • Information disclosure
  • Missing encryption
  • Weak session management
  • Insufficient logging

Low

  • Missing security headers
  • Verbose error messages
  • Outdated dependencies (no known exploits)

Security Report Format

Save to: docs/reviews/security-audit-{session}.md

Remediation Process

  1. Critical/High: Fix immediately, block merge
  2. Medium: Fix before release
  3. Low: Track in backlog

Best Practices

Do

  • Use parameterized queries
  • Validate all input
  • Encode all output
  • Use security headers
  • Keep dependencies updated

Don't

  • Hardcode secrets
  • Trust user input
  • Expose stack traces
  • Use weak algorithms
  • Skip authentication checks

Установить security-scan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

checklists/auth-security.mdchecklists/data-validation.mdchecklists/owasp-top-10.mdscripts/security-scan.sh

FAQ

Что делает скилл security-scan?

Scan code for OWASP vulnerabilities and security issues. Use for security-sensitive implementations.

Как установить скилл security-scan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-scan запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить security-scan с