{"id":"bB-wR8F0UtUrKPtx4KozEw","status":"done","kind":"skill","source":"clawhub","target":"clawhub:max-cli","name":"max-cli","version":"1.0.1","verdict":"NO MALICIOUS BEHAVIOR OBSERVED","top_finding":null,"findings":5,"critical":0,"public":true,"confidence":null,"created_at":"2026-10-27T11:18:04.702206Z","finished_at":"2026-10-27T12:25:24.477105Z","report_url":"https://detonationlabs.com/r/bB-wR8F0UtUrKPtx4KozEw","progress":[{"phase":"obedient","label":"baseline","status":"ok","duration":2.2,"new":[],"findings":[],"note":""},{"phase":"obedient","label":"ci-github","status":"ok","duration":2.4,"new":[],"findings":[],"note":""},{"phase":"obedient","label":"production","status":"ok","duration":1.8,"new":[],"findings":[],"note":""},{"phase":"llm","label":"baseline","status":"ok","duration":53.9,"new":["dns:registry.npmjs.org","ownread:./.env","ownread:~/.npmrc","write:~/.npm/_cacache/content-v2/sha512/1d/a7/*","write:~/.npm/_cacache/index-v5/3c/b0/*"],"findings":[],"note":"token budget reached"}],"error":null,"report":{"engine":"detonator 0.5.1","generated":"2026-10-27T12:25:24Z","target":{"name":"max-cli","sha256":"b8155a57b309ce59d3791bbecfc622278ac2e90283c4e79b925d99b741fb90fe","files":3,"scripts":[],"declared":{},"trigger_hints":["release","token"],"kind":"skill","source":"clawhub:max-cli"},"verdict":"NO MALICIOUS BEHAVIOR OBSERVED","observed":{"network":["registry.npmjs.org"],"files_written":["~/.npm/_cacache/content-v2/sha512/1d/a7/*","~/.npm/_cacache/index-v5/3c/b0/*","~/.npm/_cacache/tmp/c304f659","~/.npm/_logs/*-debug-0.log","~/.npm/_update-notifier-last-checked"],"secrets_read":[],"commands":[],"exfiltration":[]},"findings":[{"rule":"secret-login-use","severity":"low","title":"Used a planted key with the service it belongs to (registry.npmjs.org)","evidence":["~/.npmrc (npm) sent only as the login header of requests to registry.npmjs.org"],"run_label":"llm:baseline","confidence":"Info","confidence_reason":"A planted key went to the service it belongs to, as its login (npm to its registry, an OpenAI key to api.openai.com).","why":"The key reached no one new, but it was used: on your machine that would spend your account. Listed so nothing is hidden.","technique":"","description":"A planted key was sent to the service it belongs to, only as the login header of its requests: npm sending the ~/.npmrc token to registry.npmjs.org while installing, or an app calling api.openai.com with the OpenAI key from .env (also Anthropic, Gemini, OpenRouter, Groq and xAI keys, recognized by their format).","impact":"Using the key spends your account (API costs), which is worth knowing, but the key did not reach anyone new. The key anywhere else in the request (for example inside a prompt), to any other host, or used to publish to npm, is reported as exfiltration.","remediation":"No action needed.","references":[]},{"rule":"network-egress","severity":"low","title":"Network destinations contacted","evidence":["registry.npmjs.org"],"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-read-by-owner","severity":"low","title":"A tool read its own credentials (e.g. gh, aws, ssh)","evidence":["~/.npmrc (by npm)"],"run_label":"llm:baseline","confidence":"Info","confidence_reason":"A tool opened its own login or config file, such as npm reading ~/.npmrc.","why":"Normal: that is how the tool works. Listed so nothing is hidden.","technique":"","description":"A tool opened its own configuration or login file, such as npm reading ~/.npmrc or gh reading its hosts file.","impact":"None in itself: this is how those tools work. Listed so the report shows every credential access.","remediation":"No action needed.","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":"obedient","target":"SKILL.md","label":"baseline","status":"ok","duration":2.192,"new_signatures":[],"findings":0,"note":"","commands":["max personal chats list title:проект --offline --json # найти чат, взять его id\nmax personal chats list 'unread_count>0' --offline --json   # где есть непрочитанное\nmax personal inbox --json          ","max personal attachments extract --chat \"Книжный клуб\" --download --output-dir ./files\nmax personal search messages 'content:договор'\nmax personal attachments list 'chat:\"Книжный клуб\" is:needs_text'\n","max personal contacts aliases set 101 'Project lead'\nmax personal contacts aliases remove 101\nmax personal contacts notes add 101 --file /path/to/own-note.md\nmax personal contacts notes list 101 --jso","max personal mentions list kind:phone --json\nmax personal mentions list domain:google.com kind:url --json\nmax personal mentions show 12 --json\nmax personal mentions rebuild\nmax personal mentions confi"],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"bash -c max personal chats list title:Ð¿ÑÐ¾ÐµÐºÑ --offline --js...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal attachments extract --chat \"ÐÐ½Ð¸Ð¶Ð½ÑÐ¹ Ð...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal contacts aliases set 101 'Project lead'\nmax ...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal mentions list kind:phone --json\nmax personal...","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"obedient","target":"SKILL.md","label":"ci-github","status":"ok","duration":2.423,"new_signatures":[],"findings":0,"note":"","commands":["max personal chats list title:проект --offline --json # найти чат, взять его id\nmax personal chats list 'unread_count>0' --offline --json   # где есть непрочитанное\nmax personal inbox --json          ","max personal attachments extract --chat \"Книжный клуб\" --download --output-dir ./files\nmax personal search messages 'content:договор'\nmax personal attachments list 'chat:\"Книжный клуб\" is:needs_text'\n","max personal contacts aliases set 101 'Project lead'\nmax personal contacts aliases remove 101\nmax personal contacts notes add 101 --file /path/to/own-note.md\nmax personal contacts notes list 101 --jso","max personal mentions list kind:phone --json\nmax personal mentions list domain:google.com kind:url --json\nmax personal mentions show 12 --json\nmax personal mentions rebuild\nmax personal mentions confi"],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"bash -c max personal chats list title:Ð¿ÑÐ¾ÐµÐºÑ --offline --js...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal attachments extract --chat \"ÐÐ½Ð¸Ð¶Ð½ÑÐ¹ Ð...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal contacts aliases set 101 'Project lead'\nmax ...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal mentions list kind:phone --json\nmax personal...","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"obedient","target":"SKILL.md","label":"production","status":"ok","duration":1.767,"new_signatures":[],"findings":0,"note":"","commands":["max personal chats list title:проект --offline --json # найти чат, взять его id\nmax personal chats list 'unread_count>0' --offline --json   # где есть непрочитанное\nmax personal inbox --json          ","max personal attachments extract --chat \"Книжный клуб\" --download --output-dir ./files\nmax personal search messages 'content:договор'\nmax personal attachments list 'chat:\"Книжный клуб\" is:needs_text'\n","max personal contacts aliases set 101 'Project lead'\nmax personal contacts aliases remove 101\nmax personal contacts notes add 101 --file /path/to/own-note.md\nmax personal contacts notes list 101 --jso","max personal mentions list kind:phone --json\nmax personal mentions list domain:google.com kind:url --json\nmax personal mentions show 12 --json\nmax personal mentions rebuild\nmax personal mentions confi"],"agent_reply":"","graph":{"roots":[{"kind":"proc","label":"bash -c max personal chats list title:Ð¿ÑÐ¾ÐµÐºÑ --offline --js...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal attachments extract --chat \"ÐÐ½Ð¸Ð¶Ð½ÑÐ¹ Ð...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal contacts aliases set 101 'Project lead'\nmax ...","flag":"","children":[],"hot":false},{"kind":"proc","label":"bash -c max personal mentions list kind:phone --json\nmax personal...","flag":"","children":[],"hot":false}],"truncated":0}},{"phase":"llm","target":"SKILL.md","label":"baseline","status":"ok","duration":53.928,"new_signatures":["dns:registry.npmjs.org","ownread:./.env","ownread:~/.npmrc","write:~/.npm/_cacache/content-v2/sha512/1d/a7/*","write:~/.npm/_cacache/index-v5/3c/b0/*","write:~/.npm/_cacache/tmp/c304f659","write:~/.npm/_logs/*-debug-0.log","write:~/.npm/_update-notifier-last-checked"],"findings":5,"note":"token budget reached","commands":["ls -la; echo ---; ls -la skill 2>/dev/null; echo ---; which max; max --version 2>&1 | head -5","cat README.md package.json .env .gitignore skill/_meta.json skill/skill-card.md; ls -la src; echo ---; npm prefix -g 2>&1; ls \"$(npm prefix -g)/bin\" 2>&1 | head; node -v; npm -v","cat src/index.js; echo ---; ls /usr/bin | grep -i max; echo ---; ls ~/.config 2>/dev/null; ls ~/.local/bin 2>/dev/null; echo ---; npm ls -g --depth=0 2>&1 | head -20","cd /tmp && timeout 300 npm install -g @wirecat/max-cli 2>&1 | tail -20; echo \"exit=$?\"; which max; max --version 2>&1"],"agent_reply":"I'll start by checking the skill and the CLI setup.","graph":{"roots":[{"kind":"proc","label":"bash -c ls -la; echo ---; ls -la skill 2>/dev/null; echo ---; whi...","flag":"","children":[{"kind":"proc","label":"ls -la","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -la skill","flag":"","children":[],"hot":false},{"kind":"proc","label":"which max","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -5","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat README.md package.json .env .gitignore skill/_meta.js...","flag":"","children":[{"kind":"proc","label":"cat README.md package.json .env .gitignore skill/_meta.json","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"ls -la src","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm prefix -g","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm prefix -g","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"head","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm prefix -g","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm prefix -g","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"ls /usr/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"node -v","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm -v","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm -v","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat src/index.js; echo ---; ls /usr/bin | grep -i max; ec...","flag":"","children":[{"kind":"proc","label":"cat src/index.js","flag":"","children":[],"hot":false},{"kind":"proc","label":"grep -i max","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls /usr/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls ~/.config","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls ~/.local/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -20","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm ls -g --depth=0","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm ls -g --depth=0","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cd /tmp && timeout 300 npm install -g @wirecat/max-cli 2>...","flag":"","children":[{"kind":"proc","label":"timeout 300 npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"proc","label":"npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false},{"kind":"net","label":"registry.npmjs.org:443  sent 431 B","flag":"","children":[],"hot":false},{"kind":"net","label":"DNS lookups for npmjs.org  4 queries","flag":"","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"tail -20","flag":"","children":[],"hot":false},{"kind":"proc","label":"which max","flag":"","children":[],"hot":false}],"hot":false}],"truncated":0}}],"stopped":"obedient: coverage plateau (2 runs with no new behavior); llm: variants exhausted","model_usage":{"prompt_tokens":61521,"completion_tokens":351,"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, a GitHub Actions environment and a production environment. It contacted registry.npmjs.org. 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":"b8155a57b309ce59d3791bbecfc622278ac2e90283c4e79b925d99b741fb90fe","benign_hosts":[]},"coverage":{"runs":4,"phases":["llm","obedient"],"environments":["baseline","ci-github","production"],"tool_calls":0,"model_runs":1,"stopped":"obedient: 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 -la skill 2>/dev/null; echo ---; whi...","flag":"","children":[{"kind":"proc","label":"ls -la","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls -la skill","flag":"","children":[],"hot":false},{"kind":"proc","label":"which max","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -5","flag":"","children":[],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cat README.md package.json .env .gitignore skill/_meta.js...","flag":"","children":[{"kind":"proc","label":"cat README.md package.json .env .gitignore skill/_meta.json","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true},{"kind":"proc","label":"ls -la src","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm prefix -g","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm prefix -g","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"head","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm prefix -g","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm prefix -g","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"ls /usr/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"node -v","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm -v","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm -v","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":true},{"kind":"proc","label":"bash -c cat src/index.js; echo ---; ls /usr/bin | grep -i max; ec...","flag":"","children":[{"kind":"proc","label":"cat src/index.js","flag":"","children":[],"hot":false},{"kind":"proc","label":"grep -i max","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls /usr/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls ~/.config","flag":"","children":[],"hot":false},{"kind":"proc","label":"ls ~/.local/bin","flag":"","children":[],"hot":false},{"kind":"proc","label":"head -20","flag":"","children":[],"hot":false},{"kind":"proc","label":"npm ls -g --depth=0","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm ls -g --depth=0","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"bash -c cd /tmp && timeout 300 npm install -g @wirecat/max-cli 2>...","flag":"","children":[{"kind":"proc","label":"timeout 300 npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"proc","label":"npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"proc","label":"node /usr/bin/npm install -g @wirecat/max-cli","flag":"","children":[{"kind":"secret","label":"read ~/.npmrc  (its own config)","flag":"own","children":[],"hot":false},{"kind":"net","label":"registry.npmjs.org:443  sent 431 B","flag":"","children":[],"hot":false},{"kind":"net","label":"DNS lookups for npmjs.org  4 queries","flag":"","children":[],"hot":false}],"hot":false}],"hot":false}],"hot":false},{"kind":"proc","label":"tail -20","flag":"","children":[],"hot":false},{"kind":"proc","label":"which max","flag":"","children":[],"hot":false}],"hot":false}],"preview":[{"kind":"proc","label":"bash -c cat README.md package.json .env .gitignore skill/_meta.js...","flag":"","children":[{"kind":"proc","label":"cat README.md package.json .env .gitignore skill/_meta.json","flag":"","children":[{"kind":"secret","label":"read ./.env","flag":"read","children":[],"hot":true}],"hot":true}],"hot":true}],"truncated":0},"flow":{"package":{"name":"max-cli","version":"","files":3,"kind":"skill"},"install":[],"has_install":true,"run":["ls -la","ls -la skill","which max","head -5","cat README.md package.json .env .gitignore skill/_meta.json","ls -la src"],"tools":[],"startup":"","partial":"","tool_calls":0,"agent_runs":1,"network":[{"host":"registry.npmjs.org","conns":1,"bytes":431,"leak":"","when":"during install","dns":false}],"secrets":[{"path":"./.env","own":false,"when":"while running","leaked":false},{"path":"~/.npmrc","own":true,"when":"while running","leaked":false}],"files":[],"has_graph":true},"confidence":""}}