Claude Code, Plugin
tokenmiser
Token-reduction toolkit for Claude Code: context audit, retrieval discipline, output compression, delegation contracts, model routing, and a measurement harness.
Compatibility: Not stated.
Grade C
One Medium finding. Read the report before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
bin/tokenmiser.mjs, line 23
* curl -fsSL https://raw.githubusercontent.com/Srinivasan-78/tokenmiser/main/install.sh | bash
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
bin/tokenmiser.mjs, line 122
const rmrf = (p) => fs.rmSync(p, { recursive: true, force: true });
Install and update
Serious
install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
README.md, line 136
curl -fsSL https://raw.githubusercontent.com/Srinivasan-78/tokenmiser/main/install.sh | bash
README.md, line 144
curl -fsSL https://raw.githubusercontent.com/Srinivasan-78/tokenmiser/main/install.sh | bash -s -- --hook
bin/tokenmiser.mjs, line 23
* curl -fsSL https://raw.githubusercontent.com/Srinivasan-78/tokenmiser/main/install.sh | bash
Show more
bin/tokenmiser.mjs, line 345
${C.dim('no node? curl -fsSL https://raw.githubusercontent.com/Srinivasan-78/tokenmiser/main/install.sh | bash')}
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
install.sh, line 24
# Piped from curl (or otherwise run away from the tree): fetch a checkout, then re-exec
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
hooks/filter-tool-output.py, line 97
if os.environ.get("TOKENMISER_FILTER_OFF"):
scripts/miser-bench.mjs, line 33
const RATES_FILE = process.env.TOKENMISER_RATES || path.join(HERE, 'rates.json');
.gitignore, line 10
*.py[cod]
Show more
.gitignore, line 11
.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit a2885c4bd3d9. can delete files. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: a2885c4bd3d9c0988adfa63afb340012c88e7aac
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.