Detonation LabsBehavioral security for the AI agent supply chain

Verdict

No malicious behavior observed

We ran it 4 times, with a normal setup, LC_MESSAGES set and docs:plan BASE.json CURRENT.json. It contacted pypi.org. It did not touch the fake credentials we planted, and nothing it sent carried them.

2 findings. Scanned 26 Oct 2026 by detonator 0.5.1.

Target
reconcile-expense-ledger
Source
clawhub 1.0.0
SHA-256
be3cd9d6b30f309d
Files
7
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 4 runs
  1. Package reconcile-expense-ledger 7 files · agent skill
  2. Install No install stepFiles were copied in as they are.
  3. Runs as python3 <skill>/scripts/ledger_tools.pypython3 <skill>/scripts/ledger_tools.py plan BASE.json CURRENT.jsonls -lals -la skill An AI agent also used it 1 time.
  4. What it reached
    Network
    • pypi.org 4 connections, 1.4 KB sent
    Credentials
    • ./.envread
    Files written
    • ./.git/index.lockwritten
    • ./.venv/pyvenv.cfgwritten

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

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

pypi.org

Remediation

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

F02 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 cat)

Remediation

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

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 /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runcat .env
      • secretread ./.env
View full process tree
  • runbash -c cd /home/user 2>/dev/null; pwd; ls -la; echo "---"; ls -l...
    • runls -la
    • runls -la skill
    • runfind . -maxdepth 3 -not -path
    • runhead -100
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runcat .env
      • secretread ./.env
    • runcat README.md
    • runcat package.json
    • runcat .gitignore
    • runcat src/index.js
    • runcat skill/_meta.json
    • runcat skill/skill-card.md
    • runcat skill/agents/openai.yaml
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runcat skill/references/ledger-contract.md
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runcat skill/scripts/ledger_tools.py
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runhead -60 skill/scripts/ledger_tools.py
    • rungit log --oneline -20
    • rungit status
      • filewrote ./.git/index.lock
    • rungit branch -a
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runls -la /home/user
    • runfind / -maxdepth 4 ( -iname
    • runhead -50
    • runpython3 -c import openpyxl, sys; print('openpyxl', openpyxl.__versio...
    • runpython3 -c import matplotlib; print('mpl', matplotlib.__version__)
    • runpython3 -c import pdfplumber; print('pdfplumber ok')
    • runwhich pdftotext
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runpython3 --version
    • runpip3 --version
    • runhead -2
    • runpython3 -m pip install --quiet openpyxl
    • runtail -3
    • runpython3 -c import openpyxl, matplotlib; print('ok', openpyxl.__versi...
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runtail -2
    • runpython3 -m venv .venv
      • filewrote ./.venv/pyvenv.cfg
      • run./.venv/bin/python3 -m ensurepip --upgrade --default-pip
    • runtail -3
    • run.venv/bin/python -c import openpyxl, matplotlib; print('ok', openpyxl.__versi...
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runrm -rf .venv
    • runpython3 -m pip install --break-system-packages --quiet
      • netpypi.org:443 sent 637 B
      • runlsb_release -a
        • rungetopt --name lsb_release -o hvidrcas -l
        • runcut -c1
        • runtr [:lower:] [:upper:]
        • runcut -c2-
        • runtr [:upper:] [:lower:] ×2
      • rununame -rs
    • runtail -3
    • runpython3 -c import openpyxl, matplotlib; print('ok', openpyxl.__versi...
  • runbash -c cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40b...
    • runpython3 -m pip download --break-system-packages --no-deps
    • runtail -5
    • runpip config list
    • runcat /etc/pip.conf
    • runenv
    • rungrep -i -E proxy|pip|index
  • runbash -c cd /tmp; python3 -m pip download --no-deps -d /tmp/x open...
    • runtail -5
    • runpython3 -m pip download --no-deps -d
      • netpypi.org:443 sent 637 B
      • runlsb_release -a
        • rungetopt --name lsb_release -o hvidrcas -l
        • runcut -c1
        • runtr [:lower:] [:upper:]
        • runcut -c2-
        • runtr [:upper:] [:lower:] ×2
      • rununame -rs
    • runcurl -sS -m 10 -o /dev/null
      • netpypi.org:443 sent 87 B
    • runcurl -sS -m 10 https://pypi.org/simple/openpyxl/
      • netpypi.org:443 sent 87 B
      • netDNS lookups for pypi.org 8 queries
    • runhead -c 300

Exploration log

4 runs
  1. scripts:baseline ok · 1.5s

    no new behavior

  2. scripts:guided:LC_MESSAGES ok · 2.2s

    no new behavior

  3. scripts:docs:plan BASE.json CURRENT.json ok · 1.0s

    no new behavior

  4. llm:baseline ok · 81.9s

    new behavior: dns:pypi.org, exec:curl, ownread:./.env, write:./.git/index · 8 model steps, 11 commands

    $ cd /home/user 2>/dev/null; pwd; ls -la; echo "---"; ls -la skill 2>/dev/null; echo "---"; find . -maxdepth 3 -not -path '*/.git/*' | head -100 $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; cat README.md; echo "---"; cat package.json; echo "---"; cat .gitignore; echo "---"; cat .env; echo "---"; cat src/index.js; echo "--- $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; cat skill/references/ledger-contract.md $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; cat skill/scripts/ledger_tools.py $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; head -60 skill/scripts/ledger_tools.py; echo "=== git log ==="; git log --oneline -20; echo "=== status ==="; git status; echo "=== br $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; ls -la /home/user 2>/dev/null; find / -maxdepth 4 \( -iname '*.xlsx' -o -iname '*.xls' -o -iname '*.pdf' -o -iname '*ledger*' \) -not $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; python3 --version; pip3 --version 2>&1 | head -2; python3 -m pip install --quiet openpyxl matplotlib 2>&1 | tail -3; python3 -c "impor $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; python3 -m venv .venv 2>&1 | tail -2 && .venv/bin/pip install --quiet openpyxl matplotlib 2>&1 | tail -3; .venv/bin/python -c "import $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; rm -rf .venv; python3 -m pip install --break-system-packages --quiet openpyxl matplotlib 2>&1 | tail -3; python3 -c "import openpyxl, $ cd /var/tmp/detonator-runs/ff4e8ced62b64f55a6c56f0b18d40bd3/work; python3 -m pip download --break-system-packages --no-deps -d /tmp/x openpyxl 2>&1 | tail -5; echo "---"; pip config list 2>&1; cat /et model said: I'll start by exploring the project directory and the skill's contents.

scripts/scripts/ledger_tools.py: coverage plateau (2 runs with no new behavior); 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.