Skills/Glama/context-trim

context-trim@1.3.1

CAUTION· startup only

Publisher claims: "Enables AI coding assistants to retrieve a lean, optimized codebase context without lockfile and build bloat, and to analyze which files consume the most tokens." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry GlamaPublisher kaanefebusiness-ai · publishing for 12 daysInstalls 0Last detonated 12d ago

Coverage

Startup only; authenticated tool behavior not tested.
Tested
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.

Behavior

In our sandbox run on 2026-11-13, [email protected] read no files and called no hosts, and its code names 3 environment variables. Coverage: startup only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

CONTEXT_TRIM_MAX_CONCURRENCY, CONTEXT_TRIM_ROOT, OPENAI_APPS_CHALLENGE

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

  • the tool list (the server exited before answering)
  • what the tools do when called with real credentials
Run date2026-11-13
Coveragestartup only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try context-trim
This recordbehavior.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 code
What we saw when it ran
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; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- <the server's command>

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; startup only; authenticated tool behavior not tested) on 2026-11-13 and scored it 77/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 · 20 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
20sclaimedstartup only: exited (0) before answering · Estimated Tokens : ~21,063 Payload Size : 78 KB Security Shield : 🛡️ 5 secret key(s) redacted ──────────────────────────────────────────────────────
20sprocessscript backend runs setup only
20sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsbin/cli.js:154 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconsole.log(` Credential Files : \x1b[32m🔒 ${scan.secretFilesSkipped} left out (.env, keys)\x1b[0m`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file paths.codex-plugin/plugin.json:24 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…les, build output, caches and binaries, never includes credential files such as .env or private keys, and masks API keys and passwords found in code. It is read-onl…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packagebin/cli.js:38 · npx invocation of non-well-known package — may execute untrusted codenpx context-trim # Packs current directory and saves ai-context.mdFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Access to sensitive file pathstest/test.js:65 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfs.writeFileSync(path.join(project, '.env.example'), 'SECRET=\n');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsskills/pack-codebase/SKILL.md:20 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- They never read credential files such as `.env` or private keys, and they mask API keys found in code. If the user asks about a secret value, tell them it was masked on purpose.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packagebin/cli.js:40 · npx invocation of non-well-known package — may execute untrusted codenpx context-trim -o prompt.md # Exports clean markdownFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagebin/cli.js:24 · npx invocation of non-well-known package — may execute untrusted codenpx context-trim [options] [path]Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Access to sensitive file pathstest/test.js:59 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert.ok(!isSecretFile('.env.example'), 'Templates stay in');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/index.js:71 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.env(\..+)?$/i, // .env, .env.local, .env.production ...Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionbin/cli.js:135 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(`\n\x1b[32m✔ Context saved to:\x1b[0m \x1b[1m${defaultOutput}\x1b[0m`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Access to sensitive file pathstest/test.js:64 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfs.writeFileSync(path.join(project, '.env'), 'SECRET=hunter2hunter2\n');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstest/test.js:56 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert.ok(isSecretFile('.env.production'));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandDockerfile:9 · File permission modification command — agent changes file ownership/permissionsRUN chmod +x ./bin/cli.jsFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsopenai-skills/pack-github-repo/SKILL.md:20 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- Credential files such as `.env` are left out and API keys in code are masked on purpose.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstest/test.js:55 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert.ok(isSecretFile('.env'));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/index.js:82 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Templates such as .env.example carry no real values and help the modelFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packagebin/cli.js:41 · npx invocation of non-well-known package — may execute untrusted codenpx context-trim --stats # Analyzes token bloat and estimated cost savingsFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathssrc/mcp.js:41 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'leaving out lockfiles, build output, caches, binaries and credential files (.env, keys), and masking API keys found in code. ' +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packagebin/cli.js:39 · npx invocation of non-well-known package — may execute untrusted codenpx context-trim -c # Packs and copies directly to clipboardFix: Pin versions and sources; vendor anything fetched at install time.
AST06

Cost to the agent

Instructions loaded
≈636 tok
2 files · 23 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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

3 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim kaanefebusiness-ai: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. 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.
  3. 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.
  4. npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
  5. File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
  6. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim kaanefebusiness-aiPropose a patch to the maintainer