Find out what a skill actually accesses vs what it claims to need.
uvicorn scopecheck.app:app --port 8002
curl -s -X POST http://localhost:8002/v1/check-scope \
-H "Content-Type: application/json" \
-d "{\"skill_content\": $(cat path/to/SKILL.md | jq -Rs)}" | jq
Returns declared (env vars and bins from metadata), detected (what the skill actually references), and undeclared_access (detected but not declared — potential risk).
Each undeclared item is prefixed with its type: env:SECRET_KEY, bin:curl, fs:/etc/passwd, net:https://example.com.
共 1 个版本