Repository navigation
Commit 7fe6cd6
committed
scrubber: a flattened PEM body separated from its armour by a space is still a body
6db996b (council pass 2, gpt-6-astra's bypass) taught the truncated-block rule to consume a
base64 run glued straight onto the BEGIN armour. The coordinator's lane-D verification probe on
2026-10-22 found the next shape over: a one-line paste whose collapsed newline survives as a
space or tab (the BEGIN armour, one space, then MIIE..., what ssh-keygen/openssl output looks
like flattened) still had only its header redacted, because the inline form required the run to
start at the very next character.
The inline form now also admits horizontal whitespace before the run, but only when the run is
at least 20 base64 characters, which no word of prose is; an armour line followed by 'and
nothing follows' stays prose. Both branches keep possessive quantifiers, so matching stays
linear: 5 MB body 0.04 s, 20k armour lines each followed by short words 0.77 s, 100k spaces
then prose 0.01 s.
RED: three parametrised gap cases (space, two spaces, tab) fail without the src change and the
other 111 pass; with it 114 pass. The first commit attempt was refused by detect-private-key and
detect-secrets because a comment and a docstring spelled the armour line literally; reworded,
no allowlist pragmas. Not lane D's defect (main and the lane behaved identically).1 parent 7229e8c commit 7fe6cd6
2 files changed
Lines changed: 50 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
426 | 468 | | |
427 | 469 | | |
428 | 470 | | |
| |||
0 commit comments