trail-code@0.29.0
CAUTION· startup onlyPublisher claims: "Your team's shared memory for coding agents: a code map on your machine, and the learnings, decisions and skills your whole team shares. Formerly graft." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- trailhq.com (its own)Also acme.internal — not the publisher's domain; check what for before connecting.
- What the honeypot saw
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it under the guard. Startup only; authenticated tool behavior not tested. The code names no credential variable and talks to trailhq.com, its own; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-13 and scored it 62/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Collapsed <details> block carrying instructions; URL with embedded credentials. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 33 s · 3 scenarios · 0 deviationsStatic findings
console.log(`· send one: ${cmd("graft share-session")} <number>`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.* system package): an npm prefix in the home folder, set once. Not sudo: a sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.<summary><b>Method</b></summary> Two clones of PocketBase at the same commit: one wired with `graft init`, one untouched and verified to have no graft map in itFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct./** Env kill switch, mirroring `GRAFT_NO_REFRESH` in ./refresh.ts. */Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…:-]+ ){0,3}?`; const RUNNER = String.raw `(?:npm|pnpm|yarn|bun)(?: run)? test\b|npx (?:vitest|jest|playwright test)\b|go test\b|cargo test\b|make test\w*|python3? -m pytest\b|pytest\b|bats\…Fix: Pin versions and sources; vendor anything fetched at install time.* `[email protected]:NanoNets/Graft.git`, `https://user:[email protected]/NanoNets/Graft`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** True when `npm install -g` actually ran (false for the npx no-op path). */Fix: Pin versions and sources; vendor anything fetched at install time.console.log(`An earlier send stopped with ${left} of ${earlier.manifest.items.length} items left (${homePath(earlier.dir)}).`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.* block it (`clearNpmLeftover`) and turning EACCES into the no-sudo fix, thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.env: opts.session ? { ...env, CLAUDE_CODE_SESSION_ID: opts.session } : env,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** True when the running module lives under an npx cache dir (e.g.Fix: Pin versions and sources; vendor anything fetched at install time.return (`running via npx: npx already fetches the latest ${brand()} on every run.\n` +Fix: Pin versions and sources; vendor anything fetched at install time.* block it (`clearNpmLeftover`) and turning EACCES into the no-sudo fix, thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.`npm needs sudo to write to ${path}.`,Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.console.log(` meaning: ${m.computed} computed, ${m.cached} cached, ${m.stale} stale, ${m.pending} pending`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// Codex, Hermes and Antigravity all write AGENTS.md: list each write once.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| You write and update CLAUDE.md by hand | Learnings are saved from your conversations, in files you can read |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.…aph yet \u2014 run <code>graft graph</code> to generate <span class="mono">graph.json</span>.'));else{let i=J();!i||i.nodes.length===0?lt(i?.meta.emptyNote?Ht(i.meta.emptyNote):e==="code"?'No code graph yet \u2014 run <code>graft graph</co…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why./** Runs `npm install -g @nanonets/graft@latest`, clearing npm leftovers thatFix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.* system package): an npm prefix in the home folder, set once. Not sudo: a sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell./** True when the running module lives under an npx cache dir (e.g.Fix: Pin versions and sources; vendor anything fetched at install time.* false — `graft upgrade` would then run `npm install -g` on top of an npx run.Fix: Pin versions and sources; vendor anything fetched at install time.* false — `graft upgrade` would then run `npm install -g` on top of an npx run.Fix: Pin versions and sources; vendor anything fetched at install time./** Runs `npm install -g @nanonets/graft@latest`, clearing npm leftovers thatFix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for @trailhq/trail-code@0.29.0 as of 6 h ago. This is the package itself, not its dependencies.
What would make this Verified
18 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim trailhq: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unpinned dependencies≈ +3 on the totalPin exact versions (and ideally hashes) in package.json, requirements or the install script so the bundle cannot change under you.