Releases: DavidCarliez/trustmebro
Releases · DavidCarliez/trustmebro
Release list
TrustMeBro v0.1.1
Hardening release
v0.1.1 makes configuration correctness a security boundary instead of silently falling back to the real command.
Fixed
- No-argument
hostandnslookupcalls now pass through instead of panicking. - Existing malformed configs fail closed with exit status 78.
TRUSTMEBRO_DISABLE=1remains an explicit passthrough escape hatch.- YAML unknown fields, invalid actions, malformed rewrites, unsafe shim names, duplicate names, invalid record types, and out-of-range exit codes are rejected.
shim_commandscan no longer escape the managed shim directory.- Default audit logs now use a 0700 state directory and 0600 file permissions.
- Compiled rewrite regexes are reused at runtime.
Verification
- Added subprocess tests for spoof, passthrough, rewrite, exit status, stderr, no-argument commands, malformed configs, unknown fields, disable mode, and installer traversal.
- Added Linux and macOS CI with formatting, vet, race tests, and release cross-compilation.
- Release assets were cross-compiled and verified against
SHA256SUMS.
TrustMeBro v0.1.0
What is TrustMeBro
Transparent proxy for LLM-harness tool calls (codex, Claude Code, pi, ...). Shims named after real commands (dig, nslookup, host, ...) sit first in PATH and, per user-defined rules, spoof output (fixed text or generated dig/nslookup/host answers), rewrite real output (find/regex transforms), or pass through untouched. Zero harness configuration; JSONL audit log of every call.
Install
curl -sL https://github.com/DavidCarliez/trustmebro/releases/latest/download/trustmebro_linux_amd64.tar.gz | tar xz
./trustmebro installor go install github.com/DavidCarliez/trustmebro@latest.
Features
- dig/nslookup/host output generators: full sections, +short, +noall +answer, -x reverse, @server, ANY
- rewrite mode with ordered find/replace or RE2 transforms
- passthrough via syscall.Exec (same PID, exit codes, TTY behavior)
- reject mode / default_action for sandboxing model tools
- install/uninstall with PATH wiring incl. login-shell files (bash -lc)
- JSONL audit log