You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
history-redact echoes the sensitive literal in command output #864
pm history-redact <id> --literal <secret> successfully rewrites the item and history, but its success envelope includes the original raw value under patterns.literals. This defeats safe redaction workflows because the secret is copied into terminal logs, CI output, and agent transcripts.
Observed with pm 2026.8.1. No real credential is included in this report.
Reproduction
Create an item whose body contains a synthetic secret such as example-sensitive-value.
Run pm history-redact <id> --literal example-sensitive-value.
Inspect stdout.
Actual: stdout includes the raw literal in patterns.literals.
Expected: mutation output reports only a count, a stable one-way fingerprint, or redacted placeholders. Dry-run output must be safe as well.
Acceptance criteria
Raw --literal values are never emitted in TOON, JSON, profile, dry-run, error, telemetry, or audit output.
Output still reports deterministic pattern and replacement counts without revealing the input.
Tests exercise ordinary success, dry-run, and failure paths using canary literals and assert those literals are absent from stdout/stderr.
Documentation states that regex text may itself be sensitive and defines its output treatment.
Tracked and actively remediated as pm-y3w0ld. The item records the all-status duplicate check, public SDK lineage, disclosure-safe result contract, tests, documentation, and delivery evidence.
Activity
unbraind commentedon Aug 2, 2026
Tracked and actively remediated as pm-y3w0ld. The item records the all-status duplicate check, public SDK lineage, disclosure-safe result contract, tests, documentation, and delivery evidence.