upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorMoonEyes <MoonEyes@users.noreply.github.com>2026-12-03 11:58:32 +0100
committerMoonEyes <MoonEyes@users.noreply.github.com>2026-12-03 11:58:32 +0100
commit7cc1c18e16e19a538e6445b35b905393b408d62b (patch)
treeb6e39d1350ae0c02a04d8775c319f733f4a661c0 /runtime/test/code_hooks_test.cpp
parente9cc6e921189d2cdb58a38ffef605fdc9621eaa1 (diff)
bug report info: allowlist scrub, so no program name, path or quoted text reaches the clipboard (review)
The blocklist missed what the runtime really logs: pipeline/host.rs logs the title's program names as names=["PS_..."], capture.rs logs path=D:\..., and paths outside the home folder or quoted file names passed. Now every word of an error line is kept only if it is a plain word, a number, a timestamp, the logging module or a Windows status code; a field keeps its value only if it is a number, true/false or a status code; a word made of 6+ hex letters (deadbeef) is dropped; removed words in a row become one <removed>. The exception text of a failed read is scrubbed too. The scrub tests now assert that nothing leaks, with the reviewer's real runtime lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions