MCP server · Audited from source
Llmtrim MCP server
by fkiene/llmtrimMPL-2.0 licenceAudited 6 Oct 2026 · source 382be9d3fbd6
Is it safe? With care — CAUTION, grade B (81/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 23 findings (0 critical, 0 high, 4 medium, 13 low). Maintainer's description: Local proxy that compresses your LLM API requests so you pay less, with no change to the answers. Trims wasted tokens from prompts, history, tool output, and code before they're sent: -31% input / -74% output, measured live. Any provider, no extra model calls. Also an MCP server and embeddable libra
Cite
Cite this page
ModelsAtlas. “Llmtrim MCP server (fkiene/llmtrim)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/fkiene/llmtrim
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
23 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared10 observations
- NetworkDeclared6 observations
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 14 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 6 findings |
L3 Inventory | Declared tools match the source | PASS 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
fkieneUser accountAccount type recorded when we read the repository. - PackagePublished on npm
llmtrim-tray-ui, no version recorded - LicenceMPL-2.0From the repository, as read at the audited commit.
- Last push5 days agoActivity of the repository when we read it.
- Source commit read382be9d3fbd6The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventoryBuilt at runtimeThe source declares no tools; the server lists them when a client connects, so we cannot read them.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (23)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · crates/llmtrim-tray/icons/icon.icns
icon.icns
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · crates/llmtrim-uniffi/packaging/kotlin/gradle/wrapper/gradle-wrapper.jar
gradle-wrapper.jar
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMCode injectioncode.dynamic_import · crates/llmtrim-cli/bench/scripts/benchkit/gate.py:97
return __import__(mod).__version__
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · crates/llmtrim-cli/src/main.rs:2055
" $env:HTTPS_PROXY = \"http://127.0.0.1:{}\"",- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · crates/llmtrim-core/tests/eval.rs:43
println!("\nllmtrim input-side eval (Stage D only):");- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · crates/llmtrim-core/tests/output.rs:110
println!("\nllmtrim output-side eval (terse instruction input cost):");- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/bench/Makefile:12
REPO := ../../..
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/src/breakdown/app.rs:3535
.join("../../assets")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/src/guard.rs:1015
let p = marker_path(dir, "../../etc/passwd");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/src/reroute/catalog.rs:16
serde_json::from_str(include_str!("../../bench/pricing.json")).unwrap_or(Value::Null)- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · crates/llmtrim-core/src/provider/mod.rs:1306
let input = include_str!("../../fixtures/tool_desc_workflow.txt");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CHANGELOG.md:1296
headroom on a different port (e.g. `http://127.0.0.1:9999`).
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · HERMES.md:30
export HTTPS_PROXY=http://127.0.0.1:43117
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · HERMES.md:31
export HTTP_PROXY=http://127.0.0.1:43117
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · HERMES.md:104
HTTPS_PROXY=http://127.0.0.1:43117 curl --cacert ~/.llmtrim/ca.pem \
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · crates/llmtrim-tray/package.json
@tauri-apps/api, typescript, vite
- Why
- 3 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWInventory / provenancemcp.no_tools_extracted · server.json
- Why
- the tool list is enumerated at runtime by tools/list, not declared in source
- Fix
- the page says so rather than showing an empty table
INFOPrompt injectionprompt.persistence · INSTALL.md:42
export PATH="$HOME/.local/bin:$PATH" # add to ~/.bashrc or ~/.zshrc
- Why
- instructs the agent to persist itself in the user's environment
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · CHANGELOG.md:1197
exits non-zero, `update` prints the manual command for that channel (the `curl ... | sh`
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · INSTALL.md:27
curl -fsSL https://raw.githubusercontent.com/fkiene/llmtrim/main/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · INSTALL.md:36
curl -fsSL https://raw.githubusercontent.com/fkiene/llmtrim/main/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · INSTALL.md:137
| Binary (`curl \| sh`) | Re-runs the installer, restarts the daemon, runs `ensure` |
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:105
curl -fsSL https://raw.githubusercontent.com/fkiene/llmtrim/main/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
None declared in source
The tool list is built at runtime, so we cannot read it from the source.
Install
audited commit 382be9d
Read the findings first. The most severe is Inventory / provenance (medium) at crates/llmtrim-tray/icons/icon.icns.
claude mcp add cli -- npx -y @llmtrim/[email protected] mcp
The command does not pin a version; the audit covers commit 382be9d3fbd6. Transport: stdio. Reads these environment variables: OPENAI_API_KEY, OPENROUTER_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 81 / 100
First audit ·
382be9d3fbd6
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/fkiene/llmtrim/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Llmtrim MCP server
What is the Llmtrim MCP server?
Is Llmtrim safe to connect to an agent?
What credentials does Llmtrim need?
How does Llmtrim run?
How current is this page?
Sources
- fkiene/llmtrim on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 382be9d3fbd6Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Llmtrim MCP server?
- Is Llmtrim safe to connect to an agent?
- What credentials does Llmtrim need?