Detonation LabsBehavioral security for the AI agent supply chain

Verdict

No malicious behavior observed

We ran it 1 time, with a normal setup. It contacted api.xinjianxue.com and registry.npmjs.org. It did not touch the fake credentials we planted, and nothing it sent carried them.

4 findings. Scanned 26 Oct 2026 by detonator 0.5.1.

Target
xinjianxue-bazi
Source
clawhub 1.0.0
SHA-256
e10cf9ec185c72ff
Files
6
RecommendationNo action needed

Nothing observed calls for action. This is evidence, not a guarantee.

batch:clawhub:2026-10-26

What this package does

observed across 1 run
  1. Package xinjianxue-bazi 6 files · agent skill
  2. Install No install stepFiles were copied in as they are.
  3. Runs as ls -la ./skillfind ./skill -type fhead -50cat references/api.md An AI agent also used it 1 time.
  4. What it reached
    Network
    • api.xinjianxue.com 4 connections, 610 B sent
    • registry.npmjs.org 1 connection, 431 B sent
    Credentials
    • ./.envread

    ~/.npmrc read by its own tool (normal)

    Files written

    Nothing outside its own folder.

We planted fake AWS, SSH, npm and GitHub keys and a .env file before every run. Red means something left or was planted to run later.

Findings

F01 Low

Used the planted login with its own service (registry.npmjs.org)

Confidence
Info A planted login went to the service it belongs to, as normal authentication (npm sending its token to registry.npmjs.org while installing).
Observed in
llm:baseline

Description

A planted login was sent to the service it belongs to, only as the Authorization header of ordinary requests: for example npm sending the ~/.npmrc token to registry.npmjs.org while installing dependencies.

Impact

None in itself: this is how the package manager authenticates. Publishing, unpublishing or creating tokens with it would be reported as exfiltration.

Evidence

~/.npmrc (npm) sent only as the login header of ordinary requests (no publish)

Remediation

No action needed.

F02 Low

Network destinations contacted

Confidence
Info The package connected to these hosts.
Observed in
llm:baseline

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.

Evidence

api.xinjianxue.com
registry.npmjs.org

Remediation

Confirm each host is expected (the package's API, its registry). Allowlist expected egress in production.

F03 Low

Loaded the project's .env file

Confidence
Info The package loaded the project's .env file.
Observed in
llm:baseline

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.

Evidence

./.env (by sed)

Remediation

No action needed. Keep long-lived secrets out of project .env files where possible.

F04 Low

A tool read its own credentials (e.g. gh, aws, ssh)

Confidence
Info A tool opened its own login or config file, such as npm reading ~/.npmrc.
Observed in
llm:baseline

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.

Evidence

~/.npmrc (by npm)

Remediation

No action needed.

Process tree

run llm:baseline

Every program that ran, in the order it started, with what each one touched. Red marks the path to a leak or a planted file.

  • runbash -c cd . && cat package.json; echo "--- README ---"; cat READ...
    • runsed s/=.*/=<redacted>/ .env
      • secretread ./.env
View full process tree
  • runbash -c ls -la ./skill && echo "---" && find ./skill -type f | he...
    • runls -la ./skill
    • runfind ./skill -type f
    • runhead -50
  • runbash -c cd ./skill && echo "=== api.md ===" && cat references/api...
    • runcat references/api.md
    • runcat references/payment.md
    • runcat references/reading.md
    • runcat _meta.json
    • runcat skill-card.md
  • runbash -c cd ./skill && cat -A references/api.md | head -5; echo "=...
    • runhead -5
    • runcat -A references/api.md
    • runcat references/api.md
  • runbash -c cd . && ls -la; echo "--- node/npm ---"; which node npm 2...
    • runls -la
    • runwhich node npm
    • runnode -v
    • runls node_modules/@alipay
    • runhead -20
    • runnpm ls -g --depth=0
      • runnode /usr/bin/npm ls -g --depth=0
        • secretread ~/.npmrc (its own config)
        • netregistry.npmjs.org:443 sent 431 B
  • runbash -c cd . && cat package.json; echo "--- README ---"; cat READ...
    • runsed s/=.*/=<redacted>/ .env
      • secretread ./.env
    • runcat package.json
    • runcat README.md
    • runls -la src
    • runcat .gitignore
  • runbash -c cd . && cat src/index.js; echo "--- network test ---"; cu...
    • runcat src/index.js
    • runcurl -s -o /dev/null -w %{http_code}\n
      • netapi.xinjianxue.com:443 sent 81 B
  • runbash -c cd . && git log --oneline -10 2>/dev/null; echo "--- prob...
    • rungit log --oneline -10
    • runhead -40
    • runcurl -s -i --max-time 15 -X
      • netapi.xinjianxue.com:443 sent 160 B
  • runbash -c cd . && echo "=== valid-looking body ==="; curl -s -i --m...
    • runcurl -s -i --max-time 15 -X
      • netapi.xinjianxue.com:443 sent 263 B
    • runhead -40
    • runcurl -s -i --max-time 15 https://api.xinjianxue.com/api/xinjianxue/aipay/bazi
      • netapi.xinjianxue.com:443 sent 106 B
      • netDNS lookups for npmjs.org, xinjianxue.com 10 queries
    • runhead -20

Exploration log

1 run
  1. llm:baseline ok · 30.7s

    new behavior: dns:api.xinjianxue.com, dns:registry.npmjs.org, exec:curl, ownread:./.env · 8 model steps, 8 commands

    $ ls -la ./skill && echo "---" && find ./skill -type f | head -50 $ cd ./skill && echo "=== api.md ===" && cat references/api.md && echo && echo "=== payment.md ===" && cat references/payment.md && echo && echo "=== reading.md ===" && cat references/reading.md && echo $ cd ./skill && cat -A references/api.md | head -5; echo "=== full ==="; cat references/api.md $ cd . && ls -la; echo "--- node/npm ---"; which node npm 2>/dev/null; node -v 2>/dev/null; echo "--- alipay pkg ---"; ls node_modules/@alipay 2>/dev/null || echo "no @alipay in node_modules"; npm ls -g $ cd . && cat package.json; echo "--- README ---"; cat README.md; echo "--- .env (keys only) ---"; sed 's/=.*/=<redacted>/' .env; echo "--- src ---"; ls -la src; echo "--- gitignore ---"; cat .gitignore $ cd . && cat src/index.js; echo "--- network test ---"; curl -s -o /dev/null -w "%{http_code}\n" --max-time 10 https://api.xinjianxue.com/ 2>&1 || echo "curl failed" $ cd . && git log --oneline -10 2>/dev/null; echo "--- probe endpoint (no body) ---"; curl -s -i --max-time 15 -X POST https://api.xinjianxue.com/api/xinjianxue/aipay/bazi -H 'Content-Type: application/ $ cd . && echo "=== valid-looking body ==="; curl -s -i --max-time 15 -X POST https://api.xinjianxue.com/api/xinjianxue/aipay/bazi -H 'Content-Type: application/json' -d '{"year":1995,"month":8,"day":4, model said: Interesting — the live endpoint doesn't match the documented contract. Let me probe more carefully before drawing conclusions.

llm: variants exhausted

Note

Observed behavior only. A clean result does not prove a package is safe. Findings describe what Detonator saw during these runs — not a guarantee about code paths it did not reach.