security-ops
БесплатноЗапускает вложенные скриптыНе проверенSecurity audit orchestrator - parallel dependency, SAST and auth/config agents consolidated into an OWASP-mapped severity report, plus PHP 8, Twig and Craft…
от 0xDarkMatter★ 86 звёзд на GitHubОб этом скилле
Security Operations
Orchestrator for security auditing. Detects project stack inline, dispatches three parallel audit agents (dependency, SAST, auth/config review), consolidates into a severity-ranked OWASP-mapped report. Ships one-topic references for PHP 8.x, Twig and Craft CMS 3/4/5.
Findings use OWASP Top 10:2025 IDs (https://top10.owasp.org/2025/), as the references do - write them
A05:2025so every report names its revision. 2025 renumbered the list (Injection A03 -> A05, Misconfiguration A05 -> A02, SSRF folded into A01, new A03 Supply Chain and A10 Exceptional Conditions); translate 2021-tagged reports through the crosswalk inreferences/audit-quickref.md, never by bare number.
Stack Routing
Load references by what T1 detects. Each is one topic, 300 lines or fewer, opens with a Contents list, and ends with a review checklist of ready-to-run rg patterns.
| Detected | Reference | Covers |
|---|---|---|
| Any web app | references/owasp-top10-a01-a05.md |
A01-A05:2025: access control + SSRF, misconfig, supply chain, crypto, injection |
references/owasp-top10-a06-a10.md |
A06-A10:2025: design, authn, integrity, logging + alerting, exceptional conditions | |
references/audit-quickref.md |
Triage sheet: 2025 table, 2021->2025 crosswalk, validation, secrets, grep patterns | |
references/secure-headers.md |
CSP, HSTS, framing, referrer and permissions headers | |
| Auth / crypto code | references/auth-patterns.md |
Password hashing, sessions, JWT, OAuth2 |
references/auth-account-protection.md |
MFA, rate limiting, lockout, password reset | |
references/crypto-patterns.md |
AES-GCM, KDFs, signatures, key storage | |
PHP 8.x (composer.json) |
references/php-input-validation.md |
Request helpers, filter_var, type juggling, paths, mass assignment |
references/php-sql-queries.md |
Query builder vs raw SQL, identifiers, PDO, element-query params | |
references/php-deserialisation.md |
unserialize, JSON, phar, signed data | |
references/php-password-hashing.md |
password_hash, Argon2id/bcrypt, legacy hashes, tokens | |
references/php-composer-supply-chain.md |
composer audit, advisory blocking, allow-plugins, prod installs | |
| Twig | references/twig-escaping.md |
Autoescape, context strategies, |raw, Craft output helpers |
references/twig-template-injection.md |
SSTI sinks, dynamic includes, Craft's sandbox, Twig floors | |
Craft CMS (craftcms/cms) |
references/craft-config-hardening.md |
.env, security key, devMode, production settings |
references/craft-access-control.md |
Permissions, allowAnonymous, require helpers, element auth | |
references/craft-csrf-forms.md |
csrfInput, hashed inputs, static caching, Blitz, Formie | |
references/craft-uploads-assets.md |
Allowed types, private volumes, transform CVEs | |
references/craft-graphql-security.md |
Schemas, tokens, limits, introspection, CORS | |
references/craft-advisories.md |
Support windows, exploited CVEs, triage, EOL mitigation | |
DDEV (.ddev/config.yaml) |
references/ddev-config-drift.md |
Local vs production PHP/Craft settings, data, ddev share; DDEV mechanics and a .ddev/ auditor: ddev-ops |
Craft 3 and Craft 4 are past security end of life (2024-04-30 and 2026-04-30); any audit of one leads with that finding (craft-advisories.md).
Architecture
User requests security audit or mentions security concern
|
+---> T1: Detect (inline, fast)
| +---> Identify languages/frameworks in project
| +---> Check installed audit tools
| +---> Determine scope (changed files vs full codebase)
| +---> Present: detection summary + recommended audit
|
+---> T2: Audit (3 parallel agents, background)
| +---> Agent 1: Dependency Audit
| | +---> Run pip-audit, npm audit, govulncheck, cargo audit, trivy
| | +---> Report: CVE IDs, severity, affected + fix versions
| |
| +---> Agent 2: Code Pattern Scan (SAST)
| | +---> Hardcoded secrets, injection, XSS, eval, shell, weak crypto
| | +---> Report: file:line, pattern, severity, fix suggestion
| |
| +---> Agent 3: Auth & Config Review
| | +---> Session, CSRF, CORS, CSP, JWT, OAuth, rate limiting, env vars
| | +---> Report: finding, severity, OWASP category, remediation
| |
| +---> Consolidate: deduplicate, rank by severity, map to OWASP Top 10:2025
|
+---> T3: Remediate (dispatch general-purpose + skill preload, foreground + confirm)
+---> Agent proposes specific fixes
+---> Preflight: what changes, security impact, risk of breaking
+---> User confirms
+---> Apply fixes
Safety Tiers
| Operation | Tier | Execution |
|---|---|---|
| Detect languages/frameworks | T1 | Inline |
| Check ins |
Установить security-ops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditWriteBashGlobGrepAgentTaskCreateTaskUpdateВложенные файлы
FAQ
Что делает скилл security-ops?
Security audit orchestrator - parallel dependency, SAST and auth/config agents consolidated into an OWASP-mapped severity report, plus PHP 8, Twig and Craft CMS hardening references. Triggers on: security review, security audit, OWASP, XSS, SQL injection, CSRF, authentication, authorization, secrets management, input validation, vulnerability scan, dependency audit, composer audit, PHP security, Twig escaping, template injection, Craft CMS security, devMode, allowAnonymous, security key, DDEV. Use when auditing or hardening an app before release - e.g. 'security review this PR', 'is this Twig |raw safe?', 'audit our Craft config for production', 'does this controller need allowAnonymous?', 'triage composer audit output', 'diff DDEV against production PHP settings'.
Как установить скилл security-ops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-ops запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic