Overview
| Comment: | guard post: one pass over the JSON's strings (linear, every duplicate key, NULs kept), a field named data redacted with only base64 blobs left alone, and a host name under dp.st. not taken for a Doppler token |
|---|---|
| Timelines: | family | ancestors | descendants | both | secrets-guard |
| Files: | files | file ages | folders |
| SHA3-256: |
eb30db897dda5fd4800b65a396ccc928 |
| User & Date: | dmestas on 2026-11-24 13:52:32.511 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-24
| ||
| 14:02 | guard post: a lone surrogate decodes to U+FFFD so the reply stays UTF-8; a result over 16 MB exits 1 with a message instead of passing silently; howto names what passes unchecked closed check-in: bf51212f61 user: dmestas tags: secrets-guard | |
| 13:52 | guard post: one pass over the JSON's strings (linear, every duplicate key, NULs kept), a field named data redacted with only base64 blobs left alone, and a host name under dp.st. not taken for a Doppler token check-in: eb30db897d user: dmestas tags: secrets-guard | |
| 13:30 | ctx guard: keep secrets out of the conversation. PreToolUse turns back direct reads of secret files (Read on .env, cat/grep of one, < from one, env or printenv alone) with a way to use them unprinted; ctx guard post (PostToolUse) returns the tool's result with the archive's redaction applied, as updatedToolOutput for pic and updatedMCPToolOutput for Claude Code's MCP tools. Redaction now also catches Doppler service tokens with a config (dp.st.prd.TOKEN), version 4, so the archive is redacted again. check-in: 100c35d51c user: dmestas tags: secrets-guard | |
Changes
Modified src/ctx.c
from [694867cecd]
to [425ef6c565].
[diff]
Modified test/run.sh
from [86a707ccbd]
to [6a97138cbe].
[diff]