{"id":"uS0-kv4RWxcYXdN7hZubeg","status":"done","kind":"skill","source":"clawhub","target":"clawhub:aso-keywords-metadata-rewrite","name":"aso-keywords-metadata-rewrite","version":"1.0.0","verdict":"NO MALICIOUS BEHAVIOR OBSERVED","top_finding":null,"findings":3,"critical":0,"public":true,"confidence":null,"created_at":"2026-10-27T11:18:04.707376Z","finished_at":"2026-10-27T12:27:05.944373Z","report_url":"https://detonationlabs.com/r/uS0-kv4RWxcYXdN7hZubeg","progress":[{"phase":"scripts","label":"baseline","status":"ok","duration":2.0,"new":[],"findings":[],"note":""},{"phase":"scripts","label":"guided:LC_MESSAGES","status":"ok","duration":1.8,"new":[],"findings":[],"note":""},{"phase":"scripts","label":"docs:--store","status":"ok","duration":1.3,"new":[],"findings":[],"note":""},{"phase":"llm","label":"baseline","status":"ok","duration":21.0,"new":["dns:api.appgoat.ai","exec:curl","ownread:./.env"],"findings":[],"note":"8 model steps, 9 commands"}],"error":null,"report":{"engine":"detonator 0.5.1","generated":"2026-10-27T12:27:05Z","target":{"name":"aso-keywords-metadata-rewrite","sha256":"bfb33cd3de9f99c8e9c5827d2682d463c736d574a6d9e4171d6bff6dae9c457a","files":5,"scripts":["scripts/check_metadata.py"],"declared":{},"trigger_hints":["cron","release","schedule","token"],"kind":"skill","source":"clawhub:aso-keywords-metadata-rewrite"},"verdict":"NO MALICIOUS BEHAVIOR OBSERVED","observed":{"network":["api.appgoat.ai"],"files_written":[],"secrets_read":[],"commands":["curl"],"exfiltration":[]},"findings":[{"rule":"network-egress","severity":"low","title":"Network destinations contacted","evidence":["api.appgoat.ai"],"run_label":"llm:baseline","confidence":"Info","confidence_reason":"The package connected to these hosts.","why":"Common for tools that fetch data. Check that the hosts fit what the package says it does.","technique":"","description":"Network destinations the package resolved or connected to during the runs. All traffic was captured by the sandbox; nothing reached the internet.","impact":"Context only. Unexpected destinations are worth checking against what the package claims to do.","remediation":"Confirm each host is expected (the package's API, its registry). Allowlist expected egress in production.","references":[]},{"rule":"env-file-read","severity":"low","title":"Loaded the project's .env file","evidence":["./.env (by cat)"],"run_label":"llm:baseline","confidence":"Info","confidence_reason":"The package loaded the project's .env file.","why":"Many libraries do this at startup (the official Python MCP SDK does). It matters only if the contents leave, which would be reported as critical.","technique":"","description":"The process loaded the project's .env file. Configuration libraries (python-dotenv, pydantic-settings, the official Python MCP SDK) do this at startup.","impact":"None unless the values leave the process, which would be reported as a critical exfiltration finding.","remediation":"No action needed. Keep long-lived secrets out of project .env files where possible.","references":[]},{"rule":"secret-sent-to-model","severity":"low","title":"Agent put secrets in the model's context (may be the agent's own choice)","evidence":["./.env (dotenv)"],"run_label":"llm:baseline","confidence":"Info","confidence_reason":"A planted secret appeared in text sent to the AI model during the agent test.","why":"The model saw it, but it did not leave through the package.","technique":"","description":"A planted secret appeared in content sent to the AI model during the agent test.","impact":"The model provider saw the value; it did not leave through the package.","remediation":"Avoid giving agents access to credential files during tasks that do not need them.","references":["OWASP LLM02:2025 Sensitive Information Disclosure"]}],"exploration":{"runs":[{"phase":"scripts","target":"scripts/check_metadata.py","label":"baseline","status":"ok","duration":1.995,"new_signatures":[],"findings":0,"note":"","commands":[],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"python3 <skill>/scripts/check_metadata.py","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"scripts","target":"scripts/check_metadata.py","label":"guided:LC_MESSAGES","status":"ok","duration":1.822,"new_signatures":[],"findings":0,"note":"","commands":[],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"python3 <skill>/scripts/check_metadata.py","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"scripts","target":"scripts/check_metadata.py","label":"docs:--store","status":"ok","duration":1.348,"new_signatures":[],"findings":0,"note":"","commands":[],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"python3 <skill>/scripts/check_metadata.py --store","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"llm","target":"SKILL.md","label":"baseline","status":"ok","duration":21.023,"new_signatures":["dns:api.appgoat.ai","exec:curl","ownread:./.env"],"findings":3,"note":"8 model steps, 9 commands","commands":["ls -la; echo ---; ls -R skill | head -50","cat skill/reference/api.md 2>/dev/null | head -200","cat .env; echo ---; cat README.md; echo ---; cat package.json; echo ---; ls src; echo ---; cat skill/scripts/check_metadata.py; echo ---; cat skill/_meta.json skill/skill-card.md","cat .env; echo ---; cat README.md; echo ---; cat package.json; echo ---; ls -la src; echo ---; head -80 skill/scripts/check_metadata.py","cat src/index.js; echo ---; git log --oneline | head; echo ---; env | grep -i -E 'appgoat|api_key' | sed 's/=.*/=<set>/'","curl -s -m 15 -o /dev/null -w '%{http_code}\\n' https://api.appgoat.ai/v1/apps/284882215?country=us; echo \"exit=$?\"","curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215?country=us | head -c 600","curl -s -m 15 -G https://api.appgoat.ai/v1/keywords --data-urlencode \"qs=habit tracker\" -d store=apple -d country=us | head -c 400; echo; curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215/keyword","curl -s -m 15 -H \"x-api-key: invalid-test-key\" -G https://api.appgoat.ai/v1/keywords --data-urlencode \"qs=habit tracker\" -d store=apple -d country=us | head -c 400"],"agent_reply":"I'll start by exploring the project and the skill's reference files.","graph":{"roots":[{"kind":"proc","label":"bash -c ls -la; echo ---; ls -R skill | head -50","flag":"","children":[{"kind":"proc","label":"ls -la","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -R skill","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -50","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat skill/reference/api.md 2>/dev/null | head -200","flag":"","children":[{"kind":"proc","label":"cat skill/reference/api.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -200","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"cat README.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat package.json","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls src","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat skill/scripts/check_metadata.py","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat skill/_meta.json skill/skill-card.md","flag":"","children":[],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"cat README.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat package.json","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -la src","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -80 skill/scripts/check_metadata.py","flag":"","children":[],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat src/index.js; echo ---; git log --oneline | head; ech...","flag":"","children":[{"kind":"proc","label":"cat src/index.js","flag":"","children":[],"hot":false},{"kind":"proc","label":"git log --oneline","flag":"","children":[],"hot":false},{"kind":"proc","label":"head","flag":"","children":[],"hot":false},{"kind":"proc","label":"env","flag":"","children":[],"hot":false},{"kind":"proc","label":"sed s/=.*/=<set>/","flag":"","children":[],"hot":false},{"kind":"proc","label":"grep -i -E appgoat|api_key","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -o /dev/null -w '%{http_code}\\n' https://ap...","flag":"","children":[{"kind":"proc","label":"curl -s -m 15 -o /dev/null","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 105 B","flag":"","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215?co...","flag":"","children":[{"kind":"proc","label":"head -c 600","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215?country=us","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 105 B","flag":"","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -G https://api.appgoat.ai/v1/keywords --dat...","flag":"","children":[{"kind":"proc","label":"head -c 400","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 -G https://api.appgoat.ai/v1/keywords","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 128 B","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215/keywords?country...","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 114 B","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"head -c 300","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -H \"x-api-key: invalid-test-key\" -G https:/...","flag":"","children":[{"kind":"proc","label":"head -c 400","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 -H x-api-key: invalid-test-key","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 157 B","flag":"","children":[],"hot":false},{"kind":"net","label":"DNS lookups for appgoat.ai  10 queries","flag":"","children":[],"hot":false}],"hot":false}],"hot":false}],"truncated":0}}],"stopped":"scripts/scripts/check_metadata.py: coverage plateau (2 runs with no new behavior); llm: variants exhausted","model_usage":{"prompt_tokens":40536,"completion_tokens":704,"llm_runs":1}},"surface":{},"startup":{},"partial_scan":"","note":"Observed behavior only. A clean result does not prove a package is safe.","summary":"We ran it 4 times, with a normal setup, LC_MESSAGES set and docs:--store. It contacted api.appgoat.ai. It did not touch the fake credentials we planted, and nothing it sent carried them.","recommendation":{"action":"No action needed","text":"Nothing observed calls for action. This is evidence, not a guarantee."},"iocs":{"hosts":[],"ips":[],"sha256":"bfb33cd3de9f99c8e9c5827d2682d463c736d574a6d9e4171d6bff6dae9c457a","benign_hosts":[]},"coverage":{"runs":4,"phases":["llm","scripts"],"environments":["baseline","guided:LC_MESSAGES","docs:--store"],"tool_calls":0,"model_runs":1,"stopped":"scripts/scripts/check_metadata.py: coverage plateau (2 runs with no new behavior); llm: variants exhausted"},"tree":{"run":"llm:baseline","roots":[{"kind":"proc","label":"bash -c ls -la; echo ---; ls -R skill | head -50","flag":"","children":[{"kind":"proc","label":"ls -la","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -R skill","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -50","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat skill/reference/api.md 2>/dev/null | head -200","flag":"","children":[{"kind":"proc","label":"cat skill/reference/api.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -200","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"cat README.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat package.json","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls src","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat skill/scripts/check_metadata.py","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat skill/_meta.json skill/skill-card.md","flag":"","children":[],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"cat README.md","flag":"","children":[],"hot":false},{"kind":"proc","label":"cat package.json","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -la src","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -80 skill/scripts/check_metadata.py","flag":"","children":[],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat src/index.js; echo ---; git log --oneline | head; ech...","flag":"","children":[{"kind":"proc","label":"cat src/index.js","flag":"","children":[],"hot":false},{"kind":"proc","label":"git log --oneline","flag":"","children":[],"hot":false},{"kind":"proc","label":"head","flag":"","children":[],"hot":false},{"kind":"proc","label":"env","flag":"","children":[],"hot":false},{"kind":"proc","label":"sed s/=.*/=<set>/","flag":"","children":[],"hot":false},{"kind":"proc","label":"grep -i -E appgoat|api_key","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -o /dev/null -w '%{http_code}\\n' https://ap...","flag":"","children":[{"kind":"proc","label":"curl -s -m 15 -o /dev/null","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 105 B","flag":"","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215?co...","flag":"","children":[{"kind":"proc","label":"head -c 600","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215?country=us","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 105 B","flag":"","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -G https://api.appgoat.ai/v1/keywords --dat...","flag":"","children":[{"kind":"proc","label":"head -c 400","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 -G https://api.appgoat.ai/v1/keywords","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 128 B","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"curl -s -m 15 https://api.appgoat.ai/v1/apps/284882215/keywords?country...","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 114 B","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"head -c 300","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c curl -s -m 15 -H \"x-api-key: invalid-test-key\" -G https:/...","flag":"","children":[{"kind":"proc","label":"head -c 400","flag":"","children":[],"hot":false},{"kind":"proc","label":"curl -s -m 15 -H x-api-key: invalid-test-key","flag":"","children":[{"kind":"net","label":"api.appgoat.ai:443  sent 157 B","flag":"","children":[],"hot":false},{"kind":"net","label":"DNS lookups for appgoat.ai  10 queries","flag":"","children":[],"hot":false}],"hot":false}],"hot":false}],"preview":[{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true}],"hot":true},{"kind":"proc","label":"bash -c cat .env; echo ---; cat README.md; echo ---; cat package....","flag":"","children":[{"kind":"proc","label":"cat .env","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true}],"hot":true}],"truncated":0},"flow":{"package":{"name":"aso-keywords-metadata-rewrite","version":"","files":5,"kind":"skill"},"install":[],"has_install":false,"run":["python3 <skill>/scripts/check_metadata.py","python3 <skill>/scripts/check_metadata.py --store","ls -la","ls -R skill","head -50","cat skill/reference/api.md"],"tools":[],"startup":"","partial":"","tool_calls":0,"agent_runs":1,"network":[{"host":"api.appgoat.ai","conns":5,"bytes":609,"leak":"","when":"while running","dns":false}],"secrets":[{"path":"./.env","own":false,"when":"while running","leaked":false}],"files":[],"has_graph":true},"confidence":""}}