context-attachment-manager@r1
CAUTION· install onlyPublisher claims: "A local plugin for Codex and Claude Code that replaces earlier images with short placeholders. Its MCP tool retrieves the original image by ID when needed, even after context compaction." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 3 of 3 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
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-22, context-attachment-manager@r1 read no files and called no hosts, and its code names 18 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
CAM_CLAUDE_BIN, CAM_DATA_DIR, CAM_ENGINE_PORT, CAM_HOST, CAM_LANG, CAM_NO_ENGINE, CAM_SOURCE, CAM_TEST_EFFORT, CAM_TEST_MODEL, CLAUDECODE, CLAUDE_CODE_SESSION_ID, CODEBUDDY, CODEX_CLI_PATH, CODEX_HOME, CODEX_THREAD_ID, DSH_PROFILE, DSH_SHELL, KEY
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
- use of the skill by an agent
| Run date | 2026-11-22 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try context-attachment-manager |
| 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
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso relay.example, example.test, old.example, evil.example, first.example, unrelated.example, new.example, not-a-setting.example, top.example, good.example, bad.example, second.example, elsewhere.example, mine.example, a.example, b.example, workbuddy.cn, x.example, picked.example — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it under the guard. Bundled scripts ran with no arguments; no agent task scenario for this bundle. The code names no credential variable; 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 context-attachment-manager@r1 safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-22 and scored it 68/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: Hidden zero-width characters detected; 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 · 0 s · 3 scenarios · 0 deviationsStatic findings
const text = readFileSync(file, "utf8").replace(/^/, "");Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// leave its file (as with Codex's .env). Only the settings changed are recorded.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Output: config.toml (copied to <data dir>/config-backup/ before every change), ~/.codex/.env (never copied orFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// stay. The files themselves are never copied: settings files and .env files often hold API keys, and a key does notFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://github.com/chipfighter/context-attachment-manager/releases/latest/download/uninstall.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# curl -fsSL https://github.com/chipfighter/context-attachment-manager/releases/latest/download/install.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."conflict.noProxy": ".env 里已经设置了 NO_PROXY,没有覆盖它。",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const line of text.replace(/^/, "").split(/\r?\n/)) {Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// Input: synthetic config and .env texts; output: Node test assertions only.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const env = join(dir, ".env");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.printf '%s\n' 'The NO_PROXY block was taken out of .env.'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.test(".env is needed only when an environment proxy would swallow loopback requests", () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.deepEqual(gemini.edits(info)[0], { file: join(home, ".gemini", ".env"), env: "GOOGLE_GEMINI_BASE_URL", value: info.url });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."note.noProxy": "Wrote NO_PROXY into .env: a proxy is set in the environment and does not leave out this machine",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.checks.dotenvRestored = readFileSync(join(home, ".env"), "utf8") === dotenv;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(readFileSync(join(home, ".env"), "utf8"), "OTHER=1\n");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.dotenv="$codex_home/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const baseUrl of ["file:///etc/passwd", "https://user:[email protected]/v1", "https://relay.example/v1#fragment", "http://localhost:17891/__cam/routes/abc", "https://relay.example/\r\nx"]) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log("\n| arm | runs | input tokens (mean) | cached | uncached | output | context of the last request |\n|---|---|---|---|---|---|---|");Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.writeFileSync(join(home, ".env"), "OTHER=unchanged\n");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://github.com/chipfighter/context-attachment-manager/releases/latest/download/uninstall.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.test("without an environment proxy no .env is written, and an old block is cleared", () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."note.noProxy": "写入 .env 的 NO_PROXY:环境变量里有代理,而且没有覆盖本机地址",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.ok(text.startsWith("# >>>"));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// Purpose: P3-4 — installing writes every managed block (and .env only when needed); uninstalling restores bothFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."cli.step.directEnv": "恢复直连:去掉代理设置和 .env 里的 NO_PROXY",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log(`| ${arm} | ${rows.length} | ${mean("input")} | ${mean("cached")} | ${mean("input") - mean("cached")} | ${mean("output")} | ${mean("lastContext")} |`);Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.// notes, labels, lists, and the words of the fetch tool, in Chinese and English. Every platform and request formatFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."conflict.noProxy": ".env already sets NO_PROXY; it was left as it is.",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.test(".env: enabling twice changes nothing, and a user's own NO_PROXY is never overridden", () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// (which starts), uninstall gives back config.toml and .env exactly as they were and removes the plugin. TheFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# CODEX_CLI_PATH, CODEX_HOME. Output: Codex's plugin cache, config.toml (backed up first) and, when needed, .env.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Takes out only the marked blocks this tool wrote to config.toml and .env (config.toml is backed up first), then removesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const samples = [withFeatures, withoutFeatures, "", "" + withFeatures.replaceAll("\n", "\r\n"), "# only a comment\n"];Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.test("install writes the proxy settings and, with an environment proxy, .env; the plugin brings the MCP server", () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Input: CODEX_HOME, CAM_DATA_DIR, XDG_DATA_HOME, CODEX_CLI_PATH. Output: config.toml, .env, Codex's plugin cache.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// .env NO_PROXY block are inserted and removed without touching anything else.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.writeFileSync(join(home, ".env"), dotenv);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://github.com/chipfighter/context-attachment-manager/releases/latest/download/install.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.assert.equal(existsSync(join(data, "config-backup")), false, "no file is copied: settings and .env files may hold API keys");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.checks.dotenvPreservedOnFailure = readFileSync(join(home, ".env"), "utf8") === dotenv;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const baseUrl of ["file:///etc/passwd", "https://user:[email protected]/v1", "https://relay.example/v1#fragment", "http://localhost:17891/__cam/routes/abc", "https://relay.example/\r\nx"]) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# A .env that held nothing but this block is deleted rather than left empty.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…" }\n\n[model_providers.local]\nbase_url = \'http://127.0.0.1:9123/api/v1\'\n\n[mcp_servers.other]\nbase_url = "https://unrelated.example"\n'; const endpoints: string[] = []; const route = (up…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.writeFileSync(join(home, ".env"), "OTHER=1\n");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const crlf = "" + withFeatures.replaceAll("\n", "\r\n");Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…nect") { const undone = undoEdits(platform.name, dataDir()); console.log([`${platform.title}: settings put back in ${undone.files.length ? undone.files.join(", ") : "no file (nothing was…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.test(".env: the NO_PROXY block goes first and disable restores the file byte for byte", () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const childEnv: Record<string, string | undefined> = { ...process.env, ...env };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(readFileSync(join(home, ".env"), "utf8"), "OTHER=unchanged\n");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.writeFileSync(join(home, ".env"), "OTHER=unchanged\n");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. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim chipfighter: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- 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.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- File type combined with upload action≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.