HushLine
Local output boundary

Keep command output useful, local, and bounded.

HushLine runs a command, then redacts and shapes stdout and stderr before they reach a prompt chain, automation step, or CI log. No telemetry. No cloud dependency.

$ hushline mute -- terraform plan

Plan: 3 to add, 1 to change
token = [REDACTED]

… 1,284 noisy lines bounded
 exit code preserved
v0.1.7GitHub Action
v0.1.5Rust · Python · Node
v0.1.0Go CLI metadata
4Independent cores
01 / Capabilities

A smaller, quieter execution boundary.

HushLine is deliberately thin. It does not replace a secret manager or sandbox; it gives command output a deterministic local filter before the next system sees it.

01

Local by construction

Filtering happens on the machine running the command, with no network reporting or telemetry.

02

Regex redaction

Mask tokens, credentials, and project-specific patterns using explicit, reviewable rules.

03

Output bounds

Limit line count and width so unexpected command output cannot flood prompts or logs.

04

Noise shaping

Strip ANSI sequences and apply ordered silence rules while preserving useful structure.

05

Permit gate

Optionally require a local marker before commands can execute in a working directory.

06

Exit semantics

Keep the child process exit code and choose whether stderr is shaped or discarded.

02 / Pipeline

One contract, four implementations.

The Go reference, Rust, Python, and Node cores implement the same command contract independently and produce byte-identical output in the published benchmark corpus.

Run command locally
Capture stdout and stderr
Redact, strip, and bound
Return shaped output and status
03 / Install

Choose the core that fits your stack.

Each core is a standalone package. You do not need the other runtimes.

Goreference
go install github.com/anulum/HushLine/cmd/hushline@latest
Rustfastest measured
cargo install hushline
Pythonstandard library only
pip install hushline
Nodestandard library only
npm install -g hushline
04 / Evidence

Measured, not generalized.

Published results for a 20,000-line, approximately 1.04 MB fixture over seven repetitions. Output was byte-identical across all four cores.

CoreMedian latencyThroughputOutput parity
Rust5.07 ms204.7 MB/sByte-identical
Go12.85 ms80.7 MB/sByte-identical
Node52.94 ms19.6 MB/sByte-identical
Python59.85 ms17.3 MB/sByte-identical

These figures are hardware- and workload-specific, not universal performance claims. Reproduce them from the public repository before making deployment decisions.

Security boundary

Defense in depth, with explicit limits.

  • HushLine reduces accidental disclosure in output; it is not a secret-management guarantee.
  • The child process still receives its configured environment and permissions.
  • --raw intentionally bypasses redaction and shaping.
  • Redaction regexes need review and tests for your own credential formats.
  • Use sandboxing, least privilege, and a real secret manager alongside it.