tresor@0.5.0
CAUTION· not startedPublisher claims: "Enables Claude to use locally stored API tokens from the macOS Keychain without exposing their values, including through environment variables, HTTPS headers, commands with redacted output, and protected .env files." In our sandbox: Not started: dependency install failed; the server itself was not observed.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
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.
Behavior
In our sandbox run on 2026-11-07, [email protected] read no files and called no hosts, and its code names no environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
None found.
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-07 |
| Coverage | not started |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try tresor |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Not enough was observed to say yet. Not started: dependency install failed; the server itself was not observed. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try tresor` runs it now and prints the full answer.
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 (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-07 and scored it 74/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: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 60 s · 2 scenariosStatic findings
expect(decide({ tool_name: 'Grep', tool_input: { pattern: 'KEY', path: '.env' }, cwd: DIR }, registry)).toMatch(/off-limits/);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const file = args[0] ?? '.env';Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'sudo bw get password x',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.<summary>Manual setup without the plugin</summary> ```bash git clone https://github.com/Benewe1337/tresor && cd tresor npm install && npm run build && npm test Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.const FILE = process.platform === 'win32' ? 'C:\\Users\\x\\proj\\.env' : '/Users/x/proj/.env';Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path: z.string().describe('Path to the .env file'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.expect(bash('cat .env', DIR)).toBe('deny');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const path = join(process.env.TRESOR_HOME!, 'proj', '.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const ok of ['tresor scan --staged', 'tresor import .env --yes', 'tresor log', 'tresor profile', 'tresor list']) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path: z.string().describe('Path to the .env file'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- Before committing, run tresor_scan with staged=true. Plaintext .env files can be moved into tresor with tresor_import.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: Use API tokens, passwords and other credentials without ever seeing them, via the tresor MCP tools (tresor_list, tresor_request, tresor_link, tresor_run, tresor_http, tresor_write_file, tFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result.skipped.push({ key: item.key, reason: 'read-back mismatch, kept in .env' });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: 'Move credentials from a plaintext .env file into tresor (OS keychain) and record the mapping in .tresor.json next to it. By default only entries that look like credentials are imported; Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.move credentials out of a .env into the keychain, write .tresor.jsonFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: 'Move credentials from a plaintext .env file into tresor (OS keychain) and record the mapping in .tresor.json next to it. By default only entries that look like credentials are imported; Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// `npx @benewe1337/tresor mcp` – entry point for MCP clients installing from a registry.Fix: Pin versions and sources; vendor anything fetched at install time.const file = args[0] ?? '.env';Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* from the .env. Values are verified by reading them back before anything is removed.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: `Write a file (mode 600) with secrets filled in, e.g. a .env. The file is registered so you cannot read it back. Make sure it is gitignored. ${PLACEHOLDER_HINT}`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.mkdir -p /work && cp -a /src/. /work/ && rm -rf /work/node_modules /work/dist && cd /workFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- Before committing, run tresor_scan with staged=true. Plaintext .env files can be moved into tresor with tresor_import.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Heuristic: does this .env entry look like a credential rather than config? */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* `.env` import: moves values out of a plaintext .env into the credential store,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| Project needs a `.env` / config file | `tresor_write_file` | `{"path": "/abs/project/.env", "content": "OPENAI_API_KEY={{secret:openai}}\n"}` |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- Use tokens only through tresor_run (env vars, or bundles for multi-value credentials like AWS; a project's .tresor.json is applied automatically), tresor_http ({{secret:NAME}} placeholders) or tresoFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// Never forward secrets to wherever a redirect points.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.tresor import [.env] [--remove] [--all | --only A,B | --except C] [--prefix p] [--yes] [--dry-run]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* from the .env. Values are verified by reading them back before anything is removed.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: `Write a file (mode 600) with secrets filled in, e.g. a .env. The file is registered so you cannot read it back. Make sure it is gitignored. ${PLACEHOLDER_HINT}`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* `.env` import: moves values out of a plaintext .env into the credential store,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.move credentials out of a .env into the keychain, write .tresor.jsonFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// `npx @benewe1337/tresor mcp` – entry point for MCP clients installing from a registry.Fix: Pin versions and sources; vendor anything fetched at install time.result.skipped.push({ key: item.key, reason: 'read-back mismatch, kept in .env' });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- **Plaintext `.env` files**: offer `tresor_import` (`remove: true` once the user agrees). Afterwards the app runs via `tresor_run`, and `.tresor.json` can be committed. Point out if `.env` is trackedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.TRESOR_INTEGRATION=1 npx vitest runFix: Pin versions and sources; vendor anything fetched at install time.- Use tokens only through tresor_run (env vars, or bundles for multi-value credentials like AWS; a project's .tresor.json is applied automatically), tresor_http ({{secret:NAME}} placeholders) or tresoFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.tresor import [.env] [--remove] [--all | --only A,B | --except C] [--prefix p] [--yes] [--dry-run]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Heuristic: does this .env entry look like a credential rather than config? */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Never forward secrets to wherever a redirect points.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.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
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
6 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim benewe1337: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Credential pass-through configuration≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
- Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.