security-scan
БесплатноБез исполняемых скриптовНе проверенUse when scanning a codebase or a change for XSS, injection, command execution, SSRF, path traversal, weak crypto, hardcoded secrets, insecure deserialization…
от Fusengine★ 36 звёзд на GitHubОб этом скилле
It reports; it never fixes. Verified findings, each with a re-test check, go back to the caller.
Security Scan Skill
Workflow
- Scope. Full repository by default. When asked to review a change (
--diff, a PR, a branch), limit the scan to the files changed against the merge base and say so in the report header:git diff --name-only $(git merge-base HEAD <base>)(default<base>: the branch the caller names, elseorigin/HEAD). Unchanged files are read only to trace data flow, not reported. - Detect languages and frameworks from project markers (
package.json,composer.json,pyproject.toml,requirements.txt,Package.swift,*.xcodeproj,go.mod,Cargo.toml,Gemfile,pom.xml,build.gradle*,*.csproj) and from the file extensions actually present (git ls-files | rg -o '\.[A-Za-z0-9]+$' | sort | uniq -c). - Automated first pass:
bun ${CLAUDE_PLUGIN_ROOT}/../node_modules/@fusengine/harness/dist/cli/bin.mjs scan <dir>This is a first-pass pattern scanner (one regex per line), not a complete audit. It prints one JSON report and always exits 0. Since@fusengine/harness0.1.115 the report ends with acoverageblock: that block is the coverage summary. The top-levellanguagefield is the first root marker found, in this order:package.json,composer.json,requirements.txtorpyproject.toml,Package.swift,go.mod,Cargo.toml, elseunknown. It is not the list of scanned languages, but it decides which files get that language's legacy rules (18 in all) and are exempt from the skip rules and caps: only files with that marker's extension (.jsforpackage.json,.php,.py,.swift; none for Go, Rust orunknown). Every other file gets only the precise rules (a barechild_processimport is flagged in such a.jsfile, not in a.tsfile). Each finding carriesid,cwe,owasp(Top 10:2025, omitted when not verified) andlanguage.- Scanned with rules (each also gets the secret rules): JS/TS family (
.js .jsx .mjs .cjs .ts .tsx .mts .cts .vue .svelte .astro), PHP (.php .phtml .inc), Python (.py .pyw), Swift (.swift), Go (.go), Rust (.rs), Ruby (.rb .rake .erb), Java (.java), Kotlin (.kt .kts), C# (.cs). - Scanned for secrets only (reported as language
text):.envand.env.*(not*example/*sample/*template, counted asgenerated),.npmrc,.pypirc,.netrc, and.json .yaml .yml .toml .ini .cfg .conf .properties .xml .plist .gradle .sh .bash .zsh .tf .tfvars .pem .key. - Rule families per language (pattern set
2026.11.2; secrets and keys apply to every scanned file): JS/TS family — code execution, command injection, XSS, SQL injection, deserialization, weak crypto/randomness, TLS; PHP — code execution, command injection, deserialization, SQL injection,includeof$_GET/$_POST/$_REQUEST/$_COOKIE, weak password hash, weak randomness; Python — code execution, command injection, deserialization, SQL injection, weak hash/randomness, TLS; Go — command injection, SQL injection, XSS (template.HTML& co.), weak crypto/randomness, TLS; Rust —unsafe, command injection, SQL injection, weak hash, TLS; Ruby — code execution, command injection, deserialization, SQL injection, weak hash, TLS; Java/Kotlin and C# — command injection, deserialization, SQL injection, weak crypto/randomness, TLS; Swift —NSKeyedUnarchiverdeserialization,UserDefaultssecret keys, weak hash. Swift"http://literals andkSecAttrAccessibleAlwaysare legacy-only rules: they run only when the root marker isPackage.swift(never for an*.xcodeproj-only app). XSS has rules only for JS/TS and Go (none for PHPecho, Python, Ruby, Java, Kotlin, C# templates). Not covered by any rule: SSRF, open redirect, path traversal other than that PHPinclude, and anything outside these families (auth, access control, CSRF, GraphQL, ...). - Reading
coverage:languages,filesScannedandpatternsApplied(the largest rule count applied to one file of that language) list what was scanned.totals.files: 0or an emptylanguagesmeans nothing was scanned (also the output for a wrong or missing path), never "clean". "Scanned" with no finding means no pattern matched, not "clean": the
- Scanned with rules (each also gets the secret rules): JS/TS family (
Установить security-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-scan?
Use when scanning a codebase or a change for XSS, injection, command execution, SSRF, path traversal, weak crypto, hardcoded secrets, insecure deserialization or any OWASP Top 10:2025 vulnerability, and reporting verified findings.
Как установить скилл security-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-scan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic