AltimateAI / AltimateAI/altimate-code

Compaction secret redaction matches argument names, not values

Offen
#1,221 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
811
Forks
134
Ø Merge
3 T. 2 Std.
Gemergte PRs (30 T.)
50

Beschreibung

Deferred from the v0.10.0 release review. Self-disclosed in `.github/meta/harness-review-followups.md`.

Compaction redacts sensitive tool arguments by **argument name** (`isSensitiveArgName`, `packages/opencode/src/session/compaction.ts:62-75`). A secret that appears in a value rather than a recognisably-named argument — inside a URL, or in free text — is not matched.

Because the compaction ledger is replayed into later synthetic prompts, an unmatched secret can be re-sent after the tool output it came from has been pruned.

Name-based matching cannot close this. It needs allowlisted metadata plus value-level secret detection.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.