Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Llmtrim MCP server

by fkiene/llmtrimMPL-2.0 licenceAudited 6 Oct 2026 · source 382be9d3fbd6

npm llmtrim-tray-uistdio★ 244
!CAUTIONGrade B · 81/100 · 6 Oct 2026 · 382be9d
244GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score81/100!CAUTION B
0 critical0 high4 medium13 low6 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 14 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 6 findings
L3 InventoryDeclared tools match the sourcePASS 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmllmtrim-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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return __import__(mod).__version__
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · crates/llmtrim-cli/src/main.rs:2055
F-04 Network egressCWE-200 · CWE-319Layer L1
"  $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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
REPO     := ../../..
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/src/breakdown/app.rs:3535
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
.join("../../assets")
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · crates/llmtrim-cli/src/guard.rs:1015
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-13 Inventory / provenanceCWE-1104Layer L3
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
| 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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

  1. !CAUTION B 81 / 100

    First audit · 382be9d3fbd6

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/fkiene/llmtrim/badge.svg)](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?
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
Is Llmtrim safe to connect to an agent?
With care. The audit graded it B (81/100) and found 23 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Llmtrim need?
It reads OPENAI_API_KEY and OPENROUTER_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Llmtrim run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as llmtrim-tray-ui at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (382be9d3fbd6), read on 2026-10-06. The repository is watched and re-audited when it changes.

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.