基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/DataDog/pathrunner --skill list-gaps命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | list-gaps |
| description | List pathfinding-labs scenarios that don't have pathrunner modules yet |
| context | fork |
| argument-hint | [service] (optional filter, e.g., lambda, ecs, iam) |
| allowed-tools | Bash, Read, Glob, Grep |
Cross-reference pathfinding-labs scenarios against pathrunner's module registry to find gaps.
List all scenario.yaml files and extract their pathfinding-cloud-id:
Paths are relative to the pathrunner repo root (siblings ../pathfinding.cloud/ and ../pathfinding-labs/ under a shared pathfinding/ parent).
# Note: scenarios/ has multi-level nesting (single-account/, cross-account/, ctf/, etc.)
# — must use `find` recursively, NOT a single-level glob.
# The plabs scenario ID is "{pathfinding-cloud-id}-{goal}" where goal is the parent
# directory name (to-admin, to-bucket, etc.), NOT the scenario directory name.
find ../pathfinding-labs/modules/scenarios/ -name "scenario.yaml" | while read -r f; do
ID=$(grep 'pathfinding-cloud-id' "$f" 2>/dev/null | head -1 | sed 's/.*: *//' | tr -d '"' | tr -d "'")
GOAL=$(basename "$(dirname "$(dirname "$f")")")
if [ -n "$ID" ]; then
echo "$ID|${ID}-${GOAL}"
fi
done | sort
List registered module IDs:
grep -r 'modules.Register(' pkg/exploits/*/module.go | sed 's/.*Register("\([^"]*\)".*/\1/' | sort
Or read pkg/exploits/register.go directly — it's the auto-generated fan-out of every registered module directory.
For each scenario ID, check if a pathrunner module exists.
For scenarios without modules, check if they're deployed (useful for prioritizing):
(cd ../pathfinding-labs && ./plabs scenarios list) 2>&1
If the user provided a service filter argument ($ARGUMENTS), only show gaps for that service.
Format as a markdown table:
| Path ID | Scenario | Module Exists | Category | Services |
|---|---|---|---|---|
| ecs-001 | ecs-001-to-admin | No | new-passrole | iam, ecs |
| ecs-002 | ecs-002-to-admin | No | new-passrole | iam, ecs |
| ... | ... | ... | ... | ... |
Also show summary stats:
If filtered by service, show service-specific stats.
Batch-create pathrunner exploit modules from a list of pathfinding-labs coverage gaps, using a rolling pool of concurrent sub-agents that enable → build → test → disable each lab. Verify stage iteratively fixes pathrunner-side failures (default budget 5 per module). Uses multi-agent orchestration.
Clean up AWS resources after testing a pathrunner module against a pathfinding-labs scenario
Create a new pathrunner exploit module from pathfinding.cloud path definition