session-reflect
Skill declares local-only processing but commands use undocumented shell subprocess to cat config and sync sessions; also accesses undocumented ~/.claude memory path.
为什么得出这个结论
1/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
没有完整依赖信息,供应链判断需要保留弹性。
风险分是怎么被拉高的
Commands run 'python3 ~/coding/session-reflect/extract_sessions.py sync' and 'cat ~/.config/session-reflect/config.json' via shell - not declared in SKILL.md
commands/reflect/default.md:42 accesses ~/.claude/projects/-Users-wh-coding/memory/user_profile.md without disclosure
shell:WRITE capability required for subprocess but not declared in SKILL.md
最关键的证据
Undeclared shell execution in command files
All three command files (default.md, drift.md, emerge.md) execute 'python3 ~/coding/session-reflect/extract_sessions.py sync' and 'cat ~/.config/session-reflect/config.json' via subprocess. SKILL.md declares filesystem:READ but does not mention shell execution capability.
commands/reflect/default.md, commands/reflect/drift.md, commands/reflect/emerge.md:3 Undeclared memory path access
commands/reflect/default.md line 42 reads from ~/.claude/projects/-Users-wh-coding/memory/user_profile.md - a sensitive user profile path not mentioned in SKILL.md.
commands/reflect/default.md:42 Hardcoded username in path
Memory path contains hardcoded username 'wh-coding' which may not be portable across systems.
commands/reflect/default.md:42 声明能力 vs 实际能力
commands/reflect/default.md:42 reads ~/.claude memory path Commands execute python3 and cat via shell No direct env access No network requests found 可疑产物与外联
https://www.youtube.com/watch?v=6MBq1paspVU SKILL.md:115
https://clawskills.sh/skills/riley-coyote-continuity SKILL.md:117
依赖与供应链
没有结构化依赖告警。
文件构成
SKILL.md commands/reflect/default.md