Command Palette

Search for a command to run...

Назад к скиллам
скилл № 95187

skill-security-scan

This skill should be used when scanning Claude Code skills or agent files for advisory security risks: code-execution, prompt-injection, supply-chain…

БесплатноЗапускает вложенные скрипты
jikig-aiот jikig-ai★ 21 звезда на GitHub

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

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

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

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

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

Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

skill-security-scan

Advisory static-analysis gate that scans a SKILL.md or agent markdown file for five categories of security risk. Emits one of LOW-RISK | REVIEW | HIGH-RISK plus a findings report, with a mandatory advisory disclaimer footer. Advisory only: output is not a security audit, certification, or warranty. The skill executes in the operator's environment under the operator's account; the operator remains responsible for review.

Detection categories

  1. Code-execution anti-patterns — dynamic-eval primitives, shell-spawn with user-controlled args, obfuscation signatures. See references/rules/code-exec.yaml.
  2. Prompt-injection — frontmatter role-hijack and body proximity-gated patterns, with Soleur prose allowlist. See references/regex-patterns.md.
  3. Supply-chain risk — osv.dev batch query against parsed manifest references, with ecosystem allowlist + REVIEW-on-unknown + network-error-as-REVIEW.
  4. Filesystem boundary violations — path traversal, symlink-out, write attempts to credential dotfiles. See references/rules/filesystem-boundary.yaml.
  5. Third-Party Telemetry Surface — utm-tagged links, redirect-tracking domains, outbound-beacon URLs, vendor-branding footers. URL host-aware allowlist (not raw substring match — adversarial https://attacker.com/?ref=soleur.ai is detected as host=attacker.com). See references/first-party-allowlist.yaml.

Verdict semantics

Verdict Meaning Operator action
LOW-RISK No findings, or only finding-level metadata WARN tags Proceed silently
REVIEW At least one category emitted REVIEW Read findings; decide
HIGH-RISK At least one category emitted HIGH-RISK Block-by-default; override via structured artifact

Aggregation rule: max-severity across the five categories wins. Per-finding severity: WARN contributes REVIEW to the aggregate verdict, never HIGH-RISK alone.

Invocation

Scan a file:

bash "${CLAUDE_PLUGIN_ROOT}/skills/skill-security-scan/scripts/run-scan.sh" < path/to/SKILL.md

Scan stdin content (used by soleur:engineering:discovery:agent-finder post-fetch / skill-creator post-scaffold integrations):

echo "$skill_md_content" | bash "${CLAUDE_PLUGIN_ROOT}/skills/skill-security-scan/scripts/run-scan.sh"

No verdict line means REVIEW. If the output carries no LOW-RISK/REVIEW/HIGH-RISK verdict —

Полный SKILL.md на GitHub

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

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

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

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

  • references/disclaimer.md
  • references/first-party-allowlist.yaml
  • references/override-artifact-schema.json
  • references/override-mechanism.md
  • references/redirect-domains.yaml
  • references/regex-patterns.md
  • references/rules/code-exec.yaml
  • references/rules/filesystem-boundary.yaml
  • references/rules/manifest.yaml
  • references/rules/supply-chain.yaml
  • references/scan-meta-schema.json
  • references/test-fixtures/clean-soleur-style.skill.md
  • references/test-fixtures/clean-third-party.skill.md
  • references/test-fixtures/malicious-codeexec.skill.md
  • references/test-fixtures/malicious-curl-pipe-bash.skill.md
  • references/test-fixtures/malicious-prompt-injection.skill.md
  • references/test-fixtures/malicious-telemetry-beacon.skill.md
  • references/typosquat-targets.yaml
  • scripts/check-codeexec.sh
  • scripts/check-filesystem-boundary.sh
  • scripts/check-prompt-injection.sh
  • scripts/check-supply-chain.sh
  • scripts/check-telemetry-surface.sh
  • scripts/lib.sh
  • scripts/parse-override.sh
  • scripts/run-scan.sh
  • scripts/run-self-test.sh

FAQ

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

This skill should be used when scanning Claude Code skills or agent files for advisory security risks: code-execution, prompt-injection, supply-chain, filesystem-boundary, telemetry. Emits LOW-RISK | REVIEW | HIGH-RISK.

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

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

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

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

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

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