rcekit 3.12.1__tar.gz → 3.19.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rcekit-3.12.1 → rcekit-3.19.0}/CHANGELOG.md +676 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/PKG-INFO +103 -42
- {rcekit-3.12.1 → rcekit-3.19.0}/README.md +102 -41
- rcekit-3.19.0/SECURITY.md +239 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/docs/guide.md +24 -2
- rcekit-3.19.0/docs/oracle-model.md +138 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/docs/reference.md +116 -12
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.egg-info/PKG-INFO +103 -42
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.egg-info/SOURCES.txt +2 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.py +1932 -160
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/README.md +77 -5
- rcekit-3.19.0/tests/bench/cases/flask-ssti-syntax.json +74 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/runner.py +27 -8
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/test_bench_runner.py +63 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/test_docs.py +73 -1
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/test_generator.py +1841 -20
- rcekit-3.12.1/SECURITY.md +0 -69
- {rcekit-3.12.1 → rcekit-3.19.0}/CONTRIBUTING.md +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/LICENSE +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/MANIFEST.in +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/docs/generation.md +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/docs/verify-it-yourself.md +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/pyproject.toml +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.egg-info/dependency_links.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.egg-info/entry_points.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/rcekit.egg-info/top_level.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/setup.cfg +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/templates/payloads.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/fastjson-1.2.83.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/gitlist-cve-2018-1000533-argv.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/hugegraph-gremlin-eval.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/hugegraph-gremlin-reflected-class.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/hugegraph-gremlin-shell.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/log4shell-cve-2021-44228.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/mongo-express-where-boolean.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/opentsdb-cve-2023-25826.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/php-inclusion-file-read.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/php-inclusion-include-execute.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/struts2-s2-001.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/thinkphp-lang-include-execute.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/tomcat-cve-2017-12615.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/webmin-cve-2019-15107-enumerated.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/webmin-cve-2019-15107-file.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/webmin-cve-2019-15107-time.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/cases/webmin-cve-2019-15107.json +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/requests/mongo-express-literal.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/requests/mongo-express-where.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/bench/requests/webmin.txt +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tests/test_corpus_embedding.py +0 -0
- {rcekit-3.12.1 → rcekit-3.19.0}/tools/embed_corpus.py +0 -0
|
@@ -8,8 +8,127 @@ formats, or the template schema.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **A bench case that spelled out its `compose` lost its teardown, and said
|
|
14
|
+
nothing.** `compose_command` read the down command as
|
|
15
|
+
`case.get("compose_down", [])`; an absent key gave the empty list, and
|
|
16
|
+
`take_down` reads an empty command as "this case manages no containers" and
|
|
17
|
+
returns. So a case that named `compose` -- all four that did it named it only
|
|
18
|
+
to add `--build` -- reported `pass` and left its container running.
|
|
19
|
+
|
|
20
|
+
What that cost, measured on the 3.19.0 sweep:
|
|
21
|
+
`gitlist-cve-2018-1000533-argv` passed, kept `:8080` for the next hour, and
|
|
22
|
+
the seven later cases that publish that port failed one after another on
|
|
23
|
+
`port is already allocated`. Eight red rows from one leak, and nothing wrong
|
|
24
|
+
with any of the eight -- re-run on a free port, all eight pass. A harness
|
|
25
|
+
that turns a leak into findings is worse than no harness, because the
|
|
26
|
+
findings look real.
|
|
27
|
+
|
|
28
|
+
An absent `compose_down` now falls back to the standard teardown, run in the
|
|
29
|
+
directory the `up` ran in. `compose_down: []` still means no teardown, which
|
|
30
|
+
is now the only way to say it and says it on purpose.
|
|
31
|
+
`TeardownTestCase.test_every_real_case_that_comes_up_also_goes_down` walks
|
|
32
|
+
the shipped corpus rather than a fixture, both halves of every case, and
|
|
33
|
+
fails on 8 halves across 4 cases against the old logic.
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- **A bench case for `syntax`, the last method without one.** `flask-ssti-syntax`
|
|
38
|
+
points the differential at vulhub's `flask/ssti` -- three lines whose
|
|
39
|
+
parameter reaches `Template(...).render()` -- and the sink is the shape the
|
|
40
|
+
method was designed against: `?name={{7*7}}` answers 200 with `Hello 49`,
|
|
41
|
+
and `?name={{7*7` answers 500 with Flask's error page. A difference in the
|
|
42
|
+
response's *structure*, which is what `response_shape` reads.
|
|
43
|
+
|
|
44
|
+
The case is worth more than its one row because of the 24 `inconclusive`
|
|
45
|
+
rows beside it. Jinja2 does not parse `${}`, `#{}`, `%{}`, `<%= %>` or `@()`,
|
|
46
|
+
so the app echoes those forms back verbatim and the two halves of each pair
|
|
47
|
+
differ because the *input* differed. The reflection guard says so and
|
|
48
|
+
refuses to answer -- so the guard this oracle most needs is exercised on the
|
|
49
|
+
same target as the finding, in the same run. Two shapes are disclosed as not
|
|
50
|
+
tested rather than reported negative: `@()` in `shell_subshell`, whose
|
|
51
|
+
broken half that context's own `)` closes.
|
|
52
|
+
|
|
53
|
+
The control is class attribution and the mirror of the Struts2 case: Jinja2
|
|
54
|
+
parses the value and no shell is behind it, so `reflected`'s shell-syntax
|
|
55
|
+
probes have nothing to execute. Measured at 52 probes, all negative.
|
|
56
|
+
|
|
57
|
+
### Documentation
|
|
58
|
+
|
|
59
|
+
- **The bench claim is a sweep again, and it is measured at this version.**
|
|
60
|
+
The README said the suite was last green at 3.0.1, 10/10 in 55m48s, with a
|
|
61
|
+
paragraph beside it listing the 7 cases added since, each run on its own --
|
|
62
|
+
honest about what it was, and no longer a statement about the suite.
|
|
63
|
+
`python tests/bench/runner.py --all` is now green at **18/18 in 1h21m42s at
|
|
64
|
+
3.19.0**, every case and every control in one run on the fixed runner, and
|
|
65
|
+
the figure in both READMEs is that run. With `flask-ssti-syntax` in it, all
|
|
66
|
+
12 detection methods have a bench case; `syntax` was the last one without.
|
|
67
|
+
`tests/bench/README.md` carries the table, the four cases that are most of
|
|
68
|
+
the wall clock and why each of them is, and the teardown bug the sweep
|
|
69
|
+
found.
|
|
70
|
+
|
|
71
|
+
- **Two measured claims in `rcekit.py` corrected by a longer soak.** The
|
|
72
|
+
`syntax` differential's guards were documented as holding *completely*
|
|
73
|
+
against a 20% drifting page, on 1200 judgements. At 120000 they leave
|
|
74
|
+
**171, a rate of 0.14%** -- about one claim in 700. The docstring now says
|
|
75
|
+
0.14% and says that 0 was a sample rather than a floor. The same soak left
|
|
76
|
+
the `boolean` scalar channel's 0 of 2000 at 0 of 20000, which the docstring
|
|
77
|
+
now records, because the two zeros came from different places: one was
|
|
78
|
+
structure and one was sample size.
|
|
79
|
+
|
|
80
|
+
- **`docs/oracle-model.md`: where to audit the verdict logic.** The trust core
|
|
81
|
+
-- the oracle contract, the verdict vocabulary, and the delivery facts the
|
|
82
|
+
engine decides for every method -- is interleaved with HTTP delivery, CLI
|
|
83
|
+
parsing, injection-point enumeration and an embedded corpus, because
|
|
84
|
+
`rcekit.py` is one file on purpose. A reviewer's first question is where the
|
|
85
|
+
verdict logic lives, and the answer was "read 14,000 lines".
|
|
86
|
+
|
|
87
|
+
The page is an index rather than a second copy of anything: the three regions
|
|
88
|
+
with the symbols in each, and every invariant the model rests on with **the
|
|
89
|
+
test that holds it**. `rcekit.py` now fences those three regions with the
|
|
90
|
+
banner style the rest of the file already uses, so each is citable.
|
|
91
|
+
|
|
92
|
+
The citations are checked. `OracleModelPageTestCase` asserts that every test
|
|
93
|
+
the page names exists and that every symbol in its region table is a symbol,
|
|
94
|
+
because which test guards which property is a judgement and cannot be
|
|
95
|
+
derived -- so without the check the page would rot the way every
|
|
96
|
+
hand-written cross-reference here has rotted before: the property stays
|
|
97
|
+
true, the test gets renamed, and the page sends a reviewer after something
|
|
98
|
+
that is not there.
|
|
99
|
+
|
|
100
|
+
Module extraction was considered and declined. One file is a distribution
|
|
101
|
+
property -- `rcekit.py` runs alone on a jump box -- and the three regions
|
|
102
|
+
cannot be made one contiguous block without moving code, so the page says
|
|
103
|
+
where they are instead of pretending they are adjacent.
|
|
104
|
+
|
|
105
|
+
No version bump -- this is documentation and comments only.
|
|
106
|
+
|
|
11
107
|
### Documentation
|
|
12
108
|
|
|
109
|
+
- **The README said a run that reached nothing exits non-zero, and it exits 0.**
|
|
110
|
+
The sentence bundled `error` together with `nothing-tested` and claimed the
|
|
111
|
+
status for both, and it left `blocked` out although the paragraph above it
|
|
112
|
+
names three cases and the heading counts three rows. Measured rather than
|
|
113
|
+
read: `nothing-tested` exits 1, `error` and `blocked` exit 0.
|
|
114
|
+
|
|
115
|
+
The code is right and the sentence was wrong, which is worth stating because
|
|
116
|
+
the opposite conclusion was the tempting one. `CLIExitCodeTestCase` holds the
|
|
117
|
+
contract -- every refusal to *run* exits non-zero, and a completed run exits 0
|
|
118
|
+
even when it confirmed nothing, because that is a result and not a failure --
|
|
119
|
+
and an all-`error` run completed: the probes were built and sent, and nothing
|
|
120
|
+
arrived. `nothing-tested` exits 1 for the other reason, that no probes were
|
|
121
|
+
built at all, which is a configuration refusal and belongs with an unusable
|
|
122
|
+
corpus or a missing `FUZZ`. Changing the exit codes to match the sentence
|
|
123
|
+
would have broken the CLI contract a test already pins.
|
|
124
|
+
|
|
125
|
+
What replaces the claim is what a CI author actually needs, which the sentence
|
|
126
|
+
had been standing in the way of: branch on the verdict rather than on `$?`,
|
|
127
|
+
because the status cannot tell an unreachable target from a clean negative.
|
|
128
|
+
`--detect-json` carries the collapsed `verdict` for exactly that.
|
|
129
|
+
|
|
130
|
+
No version bump -- this is documentation only.
|
|
131
|
+
|
|
13
132
|
- **Two bench notes still named a blocker that had already been removed.** The
|
|
14
133
|
second-order row said "the reason is the harness" and the Chartbrew paragraph
|
|
15
134
|
said "there is no setup hook in the runner" — both true when written, both
|
|
@@ -390,6 +509,553 @@ formats, or the template schema.
|
|
|
390
509
|
|
|
391
510
|
No version bump -- this is documentation and tests only.
|
|
392
511
|
|
|
512
|
+
## [3.19.0] — 2026-11-19
|
|
513
|
+
|
|
514
|
+
### Added
|
|
515
|
+
|
|
516
|
+
- **`boolean` reads one bit of a JSON answer, not just the shape of one.**
|
|
517
|
+
`response_shape` drops every scalar a document carried -- which is what keeps
|
|
518
|
+
a request id and a timestamp from making two identical answers look different
|
|
519
|
+
-- so `{"allowed":true}` and `{"allowed":false}` had the same shape, and a
|
|
520
|
+
sink that evaluates an attacker-supplied predicate and renders one bit of the
|
|
521
|
+
result was invisible to the one method built for predicate sinks. A rules
|
|
522
|
+
engine, a filter-expression evaluator and an authorisation endpoint all have
|
|
523
|
+
that shape. The `$where` case was never affected: a document set changes
|
|
524
|
+
length, and a list's length is kept.
|
|
525
|
+
|
|
526
|
+
The scalar channel reads those values back at identical JSON paths, **off the
|
|
527
|
+
series already fired**, so it costs no request unless it finds something. It
|
|
528
|
+
runs only where the shape channel said nothing: a whole response partitioning
|
|
529
|
+
is the stronger reading of the same probes.
|
|
530
|
+
|
|
531
|
+
It is guarded harder than the shape channel because it has to be, and the
|
|
532
|
+
floors are measured rather than chosen. Against a body carrying a scalar that
|
|
533
|
+
flips on its own -- an A/B variant, a feature flag, a cache marker -- and
|
|
534
|
+
against one that really evaluates the predicate, 2000 runs each:
|
|
535
|
+
|
|
536
|
+
| configuration | flips on its own | really evaluates |
|
|
537
|
+
|---|---|---|
|
|
538
|
+
| one wave, 2 pairs (`quick`) | 152/2000 (7.6%) | 2000/2000 |
|
|
539
|
+
| one wave, 4 pairs (`full`) | 14/2000 (0.70%) | 2000/2000 |
|
|
540
|
+
| one wave, 6 pairs | 0/2000 | 2000/2000 |
|
|
541
|
+
| screen then confirm, 2 pairs | 2/2000 (0.10%) | 2000/2000 |
|
|
542
|
+
| **screen then confirm, 4 pairs** | **0/2000** | **2000/2000** |
|
|
543
|
+
|
|
544
|
+
So: a confirming wave on fresh operands, and a floor of four pairs per
|
|
545
|
+
connective -- which is why this channel does not answer at `--probe-depth
|
|
546
|
+
quick` and says so in the negative's evidence rather than letting the run read
|
|
547
|
+
as a clean one. Six pairs in a single wave reaches the same 0 and was not
|
|
548
|
+
taken: it costs 20 extra requests on every context including every clean one,
|
|
549
|
+
where a confirming wave costs nothing until something screens. The shape
|
|
550
|
+
channel's floor of two is untouched -- `response_shape` drops the scalar that
|
|
551
|
+
is doing the flipping, so one oracle's measured floor is not another's.
|
|
552
|
+
|
|
553
|
+
Four further guards exclude a confound structurally rather than by name: a
|
|
554
|
+
path must appear in every answer of the wave; its values across the wave must
|
|
555
|
+
number exactly two, which is what rules out an id, a timestamp and a counter;
|
|
556
|
+
the three true anchors must agree on the path and with the true half; and a
|
|
557
|
+
value carrying the predicate back is reflection. Measured at 200 runs each: 0
|
|
558
|
+
of 200 for a random id, a monotonic timestamp, an incrementing counter, an
|
|
559
|
+
echoed predicate, and a filter that refuses the false half.
|
|
560
|
+
|
|
561
|
+
JSON only, deliberately. A path is a stable identity for "the same value" and
|
|
562
|
+
a plain-text body has none -- which is where the measurement behind
|
|
563
|
+
`response_shape` came from, a length-shaped signature claiming a differential
|
|
564
|
+
in 13 of 25 runs against a target that only echoed its input.
|
|
565
|
+
|
|
566
|
+
The ceiling is unchanged: `evaluation-sink`, a lead rather than a finding.
|
|
567
|
+
Which evaluator rendered the bit is no more visible here than in the shape
|
|
568
|
+
channel.
|
|
569
|
+
|
|
570
|
+
## [3.18.2] — 2026-11-18
|
|
571
|
+
|
|
572
|
+
Both of these were raised by automated review on the pull request that shipped
|
|
573
|
+
3.18.1, verified against the code, and are defects in that release rather than
|
|
574
|
+
in what it replaced.
|
|
575
|
+
|
|
576
|
+
### Fixed
|
|
577
|
+
|
|
578
|
+
- **A syntax pair was voided by its own transport encoding.** 3.18.1 judged
|
|
579
|
+
whether a form's broken twin survives its context by looking at the fully
|
|
580
|
+
wrapped payload -- escaping included. A context has two parts doing different
|
|
581
|
+
things: the prefix and suffix are text the sink concatenates, while the escape
|
|
582
|
+
is how the value survives the trip, and an XML consumer turns `<%=` back
|
|
583
|
+
into `<%=` before any template parser sees it. So the `xml` context voided
|
|
584
|
+
`<%= %>` for a reason that has nothing to do with the sink, dropping the sixth
|
|
585
|
+
form and with it a real `syntax-sink` on a target whose ERB is reached through
|
|
586
|
+
an XML body.
|
|
587
|
+
|
|
588
|
+
Survival is read from the prefix and suffix now. Measured across every shipped
|
|
589
|
+
context, before and after: `xml` voided `<%= %>` and no longer does, and
|
|
590
|
+
`shell_subshell` still voids `@()`, which is the one a structural suffix
|
|
591
|
+
really does repair.
|
|
592
|
+
|
|
593
|
+
It is 3.18.1's own mistake mirrored. That release stopped a form that was
|
|
594
|
+
never tested from reading as a clean negative, and introduced a form that was
|
|
595
|
+
perfectly testable reading as untested.
|
|
596
|
+
|
|
597
|
+
- **A refused read counted as a read.** 3.18.1 added an `unauthorised` state for
|
|
598
|
+
an observed endpoint that answers 401/403, and drew it from the poll phase
|
|
599
|
+
alone -- so a session that expired mid-run overwrote rows that had been read
|
|
600
|
+
successfully. The first fix for that was to stop overwriting `polled`, and a
|
|
601
|
+
test showed it was not enough: the per-probe read path marked a row `polled`
|
|
602
|
+
from a 403 as well, so `polled` never meant "read, and the value was not
|
|
603
|
+
there" at all. It meant "a status came back".
|
|
604
|
+
|
|
605
|
+
A refused read is not a read, at all three sites that take one -- the control,
|
|
606
|
+
the per-probe read and the poll -- and `polled` means what it says again. A
|
|
607
|
+
refused control is not a control either: there is no page in a 403 for the
|
|
608
|
+
differential to rule anything out against. A row whose channel was never read
|
|
609
|
+
is `unauthorised`; a row that was read keeps its reading; a run where a session
|
|
610
|
+
expired part-way leaves both kinds, and the notice reports how many of each
|
|
611
|
+
rather than claiming every read was refused.
|
|
612
|
+
|
|
613
|
+
A refusal is still an *answer*, and reachability and a reading are different
|
|
614
|
+
questions. Counting a refusal as neither reported `unreachable` -- "never
|
|
615
|
+
answered" -- about an endpoint that answered 403 to every read, whenever the
|
|
616
|
+
control request was the one that failed to connect, and swallowed the notice
|
|
617
|
+
that names the flag which fixes it. A refused read records reachability
|
|
618
|
+
without being treated as a reading.
|
|
619
|
+
|
|
620
|
+
No version of this ever claimed a finding it should not have. What it claimed
|
|
621
|
+
was that a channel had not been read when it had, which is the same class of
|
|
622
|
+
error one door along: a run-wide assertion erasing a per-probe observation.
|
|
623
|
+
|
|
624
|
+
## [3.18.1] — 2026-11-18
|
|
625
|
+
|
|
626
|
+
### Fixed
|
|
627
|
+
|
|
628
|
+
- **A syntax form its context could not carry was reported `negative`.** A
|
|
629
|
+
context is a prefix and a suffix, and a suffix can hand back the character
|
|
630
|
+
the broken twin removed: `shell_subshell` wraps the payload in `$(` ... `)`,
|
|
631
|
+
so the broken `@(a*b` arrives as `$(@(a*b)` and both halves of the pair are
|
|
632
|
+
well formed. They answer alike, and the form read as a clean negative about a
|
|
633
|
+
question nobody put to the target.
|
|
634
|
+
|
|
635
|
+
3.18.0 shipped that as a known limit with a test pinning it, on the grounds
|
|
636
|
+
that a false negative is better than a false claim. Both are true and neither
|
|
637
|
+
was the point: the README's opening says a run that could not test something
|
|
638
|
+
never reports it as clean, and this reported it as clean. The limit was the
|
|
639
|
+
reporting, not the oracle.
|
|
640
|
+
|
|
641
|
+
Each pair is now checked against the context it will be wrapped in. A form
|
|
642
|
+
that does not survive is not sent -- it would cost four requests to ask
|
|
643
|
+
nothing -- and the run discloses it rather than voting on it: `N probe
|
|
644
|
+
shape(s) could not be carried by the context they landed in and were NOT
|
|
645
|
+
tested`, with the form and the context named. That is the treatment the
|
|
646
|
+
partly-blinded second-order run already gets, one level down: the verdicts
|
|
647
|
+
describe what was measured, and the run says what it never asked.
|
|
648
|
+
|
|
649
|
+
A verdict row was tried first and withdrawn. It made every sweep containing a
|
|
650
|
+
subshell context collapse to `inconclusive` -- which is almost every sweep --
|
|
651
|
+
so the one method that can answer about a parse-only sink could no longer
|
|
652
|
+
report a clean negative at all. A disclosure costs the operator nothing and
|
|
653
|
+
claims nothing.
|
|
654
|
+
|
|
655
|
+
Measured across every shipped context: exactly one pair is voided, `@()`
|
|
656
|
+
inside `shell_subshell`.
|
|
657
|
+
|
|
658
|
+
- **An observed endpoint behind a login read as one that had been read.** The
|
|
659
|
+
second-order fetch carries no credentials of its own -- deliberately, and the
|
|
660
|
+
README lists that under the engagement controls -- so a page behind a login
|
|
661
|
+
answers 401 or 403 to every poll. The run recorded that as `polled`, which
|
|
662
|
+
claims the channel was read and carried nothing, and then let the in-band
|
|
663
|
+
negatives stand as second-order ones.
|
|
664
|
+
|
|
665
|
+
It is its own state now, `unauthorised`, distinct from a channel that never
|
|
666
|
+
answered at all, and the run names the flag that fixes it:
|
|
667
|
+
`--observe-request` with a captured request that has the session.
|
|
668
|
+
|
|
669
|
+
What was *not* done, and deliberately: making the observed fetch inherit each
|
|
670
|
+
probe's session. That fetch sending no credentials is a documented guarantee
|
|
671
|
+
rather than an oversight, and inheriting a chain's cookies would change it
|
|
672
|
+
without the operator asking. The path already exists; what was missing was
|
|
673
|
+
the run pointing at it.
|
|
674
|
+
|
|
675
|
+
## [3.18.0] — 2026-11-17
|
|
676
|
+
|
|
677
|
+
### Added
|
|
678
|
+
|
|
679
|
+
- **`--methods syntax`, and the `syntax-sink` verdict it reports.** A template
|
|
680
|
+
sink whose output never reaches the response was invisible to every oracle
|
|
681
|
+
here: `eval` needs the product rendered, `boolean` sends no template
|
|
682
|
+
delimiters at all -- its connectives are `&&`, `and`, `||`, `or` -- `time`
|
|
683
|
+
needs a sleep and `oob` needs egress. The run reported `negative` about a
|
|
684
|
+
target whose template engine was reading attacker input.
|
|
685
|
+
|
|
686
|
+
The new method sends each delimiter form twice, well formed and with its
|
|
687
|
+
closing delimiter removed, and reads the *shape* of the answers. It claims
|
|
688
|
+
only that something parsed the syntax: which parser is not shown, nothing
|
|
689
|
+
says it evaluates what it parses, and there is no path from here to
|
|
690
|
+
`evaluation-sink` or `executed`. The verdict sits between them in the
|
|
691
|
+
report's order for exactly that reason.
|
|
692
|
+
|
|
693
|
+
Every guard earned its place against a fixture built to make it lie, at 200
|
|
694
|
+
runs x 6 forms = 1200 judgements each. The structural signature
|
|
695
|
+
(`response_shape`, not a body or its length) claimed a parser in 0 of 1200
|
|
696
|
+
against a target that only echoes its input -- into markup, into a
|
|
697
|
+
word-counted plain-text body, and HTML-escaped. One bracket was not enough:
|
|
698
|
+
against a page carrying an independent banner on 20% of requests, three
|
|
699
|
+
probes claimed a parser in 199 of 1200, bracketing both halves brought that
|
|
700
|
+
to 56, a second round on fresh operands to 2, and requiring the two rounds to
|
|
701
|
+
agree about what each half *looked like* -- which costs no request -- to 0. At
|
|
702
|
+
50% drift, 8 of 1200 survive, and that is the limit rather than a bug to
|
|
703
|
+
file: no response-shape oracle can answer about a page whose structure is a
|
|
704
|
+
coin flip per request.
|
|
705
|
+
|
|
706
|
+
The guard that matters most on a real engagement is none of those. A WAF that
|
|
707
|
+
refuses malformed syntax and lets the well-formed form through produces a
|
|
708
|
+
perfect differential with nothing on the target having parsed anything, which
|
|
709
|
+
would be a false positive on precisely the hardened targets this tool is for.
|
|
710
|
+
A form whose halves a filter answered differently is `inconclusive`; one whose
|
|
711
|
+
halves were both refused is `blocked`. Measured against a 403-on-malformed
|
|
712
|
+
fixture: 0 of 1200.
|
|
713
|
+
|
|
714
|
+
Cost: 4 requests per form per round, 24 per carrier at `--probe-depth full`
|
|
715
|
+
and 12 at `quick`, plus 4 for each form that screens positive. `costly`, so
|
|
716
|
+
it runs in the expensive wave and is skipped at a point where execution is
|
|
717
|
+
already proven.
|
|
718
|
+
|
|
719
|
+
One known limit is pinned by a test rather than left to be discovered: a
|
|
720
|
+
subshell context closes the broken `@(a*b` with its own paren, so that form's
|
|
721
|
+
halves are both well formed there and it reports `negative`. A false negative
|
|
722
|
+
rather than a false claim, which is the direction this project takes when it
|
|
723
|
+
has to pick one.
|
|
724
|
+
|
|
725
|
+
### Changed
|
|
726
|
+
|
|
727
|
+
- **`Observation.control_status` is the run control's status again, and the
|
|
728
|
+
field 3.17.0 gave that name is `after_status`.** Two controls needed two
|
|
729
|
+
names: the payload-free control a verdict is differenced against, whose body
|
|
730
|
+
and channels the Observation already carried, and the one sent immediately
|
|
731
|
+
after a probe that timed out. A differential across several probes has to ask
|
|
732
|
+
`payload_refused` itself -- the engine's own check runs once, against the
|
|
733
|
+
probe a verdict is anchored to -- and a form whose malformed half alone was
|
|
734
|
+
refused is a filter rather than a parser.
|
|
735
|
+
|
|
736
|
+
## [3.17.0] — 2026-11-15
|
|
737
|
+
|
|
738
|
+
### Fixed
|
|
739
|
+
|
|
740
|
+
- **A timeout the payload-free control did not share was reported as
|
|
741
|
+
`error`.** `VERDICT_MEANING` spells `error` out as "nothing reached the
|
|
742
|
+
target, so nothing was tested", and a request that hung because the injected
|
|
743
|
+
command hung did reach it. Every results-based method collapsed that case:
|
|
744
|
+
`_confirm_computed` answered `error` on `status is None` and asked nothing
|
|
745
|
+
further.
|
|
746
|
+
|
|
747
|
+
A probe that spends its whole request timeout is now asked about. One
|
|
748
|
+
payload-free control goes out immediately after it, and where that control
|
|
749
|
+
answers promptly the hang is attributable to the payload rather than to
|
|
750
|
+
reachability: `needs-review`, with both timings in the evidence line and
|
|
751
|
+
`--methods time` named as the step that turns it into a measured
|
|
752
|
+
`timing-sink` or rules it out. `reflected`, `eval` and `argv` declare it in
|
|
753
|
+
`also_reports`, since the oracle they share is where it is decided.
|
|
754
|
+
|
|
755
|
+
Three guards hold it to that, and they are the point rather than the
|
|
756
|
+
trimming. The control is sent *after* the probe, not read off the run's own
|
|
757
|
+
control, which is minutes old by then -- a target that fell over in between
|
|
758
|
+
would otherwise make every probe read as a signal. A control that was slow
|
|
759
|
+
too, or that did not arrive either, keeps the verdict at `error`. And a
|
|
760
|
+
failure that was never a timeout is told apart by the clock rather than by
|
|
761
|
+
matching the exception text: a timeout spends its whole budget where a
|
|
762
|
+
refused connection comes back in milliseconds, both arrive as
|
|
763
|
+
`status is None`, and a list of exception spellings would be the
|
|
764
|
+
hand-written list this tool keeps learning not to keep.
|
|
765
|
+
|
|
766
|
+
One extra request per timed-out probe, spent only on those and only for a
|
|
767
|
+
method whose oracle reads the answer, charged to `delivered_probes` and gated
|
|
768
|
+
on `--max-payloads` exactly as the evasion retry is. That restriction is not
|
|
769
|
+
an optimisation: `write`'s injection point is the file's *content*, so a
|
|
770
|
+
payload-free request through its delivery is a write, and sent before the
|
|
771
|
+
read-back it overwrote the file the probe had just stored -- `executed`
|
|
772
|
+
became `negative` on an executable upload directory, with the read-back
|
|
773
|
+
serving the canary. The probe's own evidence is now read before anything
|
|
774
|
+
further touches the target, which is the rule `file`'s oracle already states
|
|
775
|
+
one layer up.
|
|
776
|
+
|
|
777
|
+
The guard that pinned `needs-review` to one reporter was widened for this,
|
|
778
|
+
deliberately and in the direction it allows. What 3.0.0 established is that a
|
|
779
|
+
*settled measurement* must not be reported as a candidate -- it took
|
|
780
|
+
`timing-sink`, `file-write` and `evaluation-sink` out for that reason -- and a
|
|
781
|
+
hang `--methods time` has still to settle is a candidate in exactly the sense
|
|
782
|
+
`deser`'s fingerprint is. The set is pinned as tightly as before, the reason
|
|
783
|
+
is now in the test's own words, and an assertion was added rather than
|
|
784
|
+
loosened: `needs-review` is nobody's ceiling.
|
|
785
|
+
|
|
786
|
+
- **`Observation.baseline` was declared, documented and never written.** It had
|
|
787
|
+
been the field a delay is differenced against for four releases while the
|
|
788
|
+
engine discarded the control's elapsed time, so any oracle reading it read
|
|
789
|
+
`0.0`. `time` was unaffected -- it samples its own baseline locally and
|
|
790
|
+
medians it -- which is exactly why nothing caught it: the one method the
|
|
791
|
+
field was named for does not use it. It now carries the contemporaneous
|
|
792
|
+
control's elapsed, beside a new `control_status`, and `timed_out` says
|
|
793
|
+
whether the probe spent its timeout.
|
|
794
|
+
|
|
795
|
+
- **A write that landed while its own request hung was reported as `error`.**
|
|
796
|
+
`file`, `write` and `include`'s write rung all read `status is None` before
|
|
797
|
+
looking at the file they had already fetched back -- and that fetch fires
|
|
798
|
+
whatever the injecting request answered, deliberately, so the token or the
|
|
799
|
+
product was sitting in hand. The read-back is consulted first now, which is
|
|
800
|
+
the rule `_refusal` states one door along: a 4xx does not unmake what the run
|
|
801
|
+
observed, and neither does a delivery that failed. `error` is for a run with
|
|
802
|
+
nothing to go on. A confirmation reached this way says in its evidence line
|
|
803
|
+
that the request never answered and the read-back is the whole of it.
|
|
804
|
+
|
|
805
|
+
## [3.16.0] — 2026-11-15
|
|
806
|
+
|
|
807
|
+
### Added
|
|
808
|
+
|
|
809
|
+
- **A refused request whose effect landed anyway says so.** A probe answered
|
|
810
|
+
4xx where the payload-free control got through, confirming a finding on a
|
|
811
|
+
channel other than that response — the read-back fetch, the listener, the
|
|
812
|
+
observed endpoint — is a separately actionable fact: whatever refused the
|
|
813
|
+
request is applied after the effect, or outside its transaction. Every input
|
|
814
|
+
to that statement was already in hand, and none of it was reported. The run
|
|
815
|
+
prints one block for it, and `--detect-json` carries `refused_but_landed`
|
|
816
|
+
with the status on each affected probe.
|
|
817
|
+
|
|
818
|
+
The block sits outside the "nothing was confirmed" branch that every other
|
|
819
|
+
refusal line lives in, which is where this had been invisible: the one run
|
|
820
|
+
worth saying it about is the run that confirmed something.
|
|
821
|
+
|
|
822
|
+
It is a property of a finding and not a verdict. No tier is added, no verdict
|
|
823
|
+
changes, and nothing new earns `executed`. What holds the claim to what was
|
|
824
|
+
observed is the third of its three conditions — the evidence has to come from
|
|
825
|
+
somewhere other than the refused response. An application answering 4xx from
|
|
826
|
+
its own error path with the computed value in its body keeps its finding, as
|
|
827
|
+
it already did, and gets no line about a refusal, because there may be no
|
|
828
|
+
filter there to say anything about. Which method reads which channel is
|
|
829
|
+
declared on the method, with a per-shape override for the two that read both:
|
|
830
|
+
`deser`'s gadget against its shape differential, and `include`'s write rung
|
|
831
|
+
against its read rungs.
|
|
832
|
+
|
|
833
|
+
### Fixed
|
|
834
|
+
|
|
835
|
+
- **`oob`, `lookup` and `deser` findings carried no HTTP status.** The
|
|
836
|
+
per-probe branch of the aggregate path wrote a literal `None` into every row
|
|
837
|
+
while the status sat in the dict the refusal check one line above reads from,
|
|
838
|
+
so neither the text report nor `--detect-json` showed a status for the three
|
|
839
|
+
methods that confirm from the listener. The row carries the probe's own
|
|
840
|
+
status now, and a consumer that pinned `null` there will find an integer. It
|
|
841
|
+
is also what made "refused, and the effect landed anyway" unanswerable on
|
|
842
|
+
exactly the path where the clearest case of it lives: these three confirm out
|
|
843
|
+
of band, so a probe a filter refused can still be the one that called back.
|
|
844
|
+
|
|
845
|
+
## [3.15.0] — 2026-11-08
|
|
846
|
+
|
|
847
|
+
Four fixes from running 3.14.0 against a real target on a real terminal, which
|
|
848
|
+
is where all four of these were invisible from a test suite.
|
|
849
|
+
|
|
850
|
+
### Added
|
|
851
|
+
|
|
852
|
+
- **A run states its own verdict, on the last line it prints.**
|
|
853
|
+
|
|
854
|
+
```
|
|
855
|
+
[detect] VERDICT: negative -- the probes reached the target and found nothing
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
`overall_detection_verdict` had been computed for `--detect-json`, for the
|
|
859
|
+
per-point marker and for one advice condition, and never said out loud. A run
|
|
860
|
+
ended on a paragraph of suggestions, so an operator reading a terminal could
|
|
861
|
+
not find what it had decided. The advice still comes first because it is long;
|
|
862
|
+
the answer comes last because it is the answer. Each verdict carries the
|
|
863
|
+
one-clause gloss the README's table makes, and a test holds every verdict the
|
|
864
|
+
engine emits to having one.
|
|
865
|
+
|
|
866
|
+
### Fixed
|
|
867
|
+
|
|
868
|
+
- **Colour could not render on a Windows console.** A console with
|
|
869
|
+
`ENABLE_VIRTUAL_TERMINAL_PROCESSING` unset prints escape sequences instead of
|
|
870
|
+
acting on them, so 3.14.0 would have put `<-[1;33m` in front of every verdict
|
|
871
|
+
on an older console host -- worse than the plain output it replaced. RCEKit
|
|
872
|
+
turns the bit on for its own stdout before writing any sequence, through
|
|
873
|
+
`ctypes` rather than a dependency, and where that fails colour stays off
|
|
874
|
+
instead of producing garbage. Nothing changes off Windows, and nothing
|
|
875
|
+
changes on a Windows Terminal or current `conhost`, which set the bit
|
|
876
|
+
themselves. `--color always` still tries to enable it -- forcing colour onto
|
|
877
|
+
a console that was never asked is how an override turns into a screenful of
|
|
878
|
+
escapes -- it just declines to be refused by the answer.
|
|
879
|
+
|
|
880
|
+
- **`[!]` notices were documented as bold and were not.** 3.14.0 shipped
|
|
881
|
+
`bold()`, said so in its changelog, and never called it from anywhere. The
|
|
882
|
+
function had a test and its *use* did not, so the claim and the code
|
|
883
|
+
disagreed for a release. All 57 notices print through a `warn()` helper now,
|
|
884
|
+
and the test is on a real run's output rather than on the function.
|
|
885
|
+
|
|
886
|
+
- **A clean run rendered entirely grey.** `negative` was deliberately left
|
|
887
|
+
uncoloured so that nothing would read as "safe" -- but it is the commonest
|
|
888
|
+
outcome, and with nothing painted the summary line was indistinguishable from
|
|
889
|
+
the configuration echo above it. The rule that mattered was narrower than
|
|
890
|
+
"no colour": nothing is green. `negative` takes a neutral cyan now, and the
|
|
891
|
+
no-green test is unchanged.
|
|
892
|
+
|
|
893
|
+
- **The configuration echo still scanned as findings.** 3.13.0 gave it a
|
|
894
|
+
heading, which was not enough: the lines under it still wore `[detect]`, the
|
|
895
|
+
tag the findings wear. The run's own settings are tagged **`[config]`** now --
|
|
896
|
+
`sink shell`, `sink shapes`, the five shape descriptions and `methods` -- and
|
|
897
|
+
a test asserts no configuration line is tagged `[detect]`. The separate
|
|
898
|
+
heading is gone, because the tag carries it.
|
|
899
|
+
|
|
900
|
+
## [3.14.0] — 2026-11-07
|
|
901
|
+
|
|
902
|
+
### Added
|
|
903
|
+
|
|
904
|
+
- **A progress line, for the minutes a run used to spend in silence.** One
|
|
905
|
+
self-erasing line on stderr with the elapsed time, the method, the carrier and
|
|
906
|
+
the probe count against the pre-flight's own estimate:
|
|
907
|
+
|
|
908
|
+
```
|
|
909
|
+
[detect] 04:12 reflected unix/raw 412/~2883 probes
|
|
910
|
+
```
|
|
911
|
+
|
|
912
|
+
A detection run against a single parameter sends hundreds to thousands of
|
|
913
|
+
requests and printed nothing while it did -- measured at 13m12s for three
|
|
914
|
+
methods against a local target, silent from the configuration block to the
|
|
915
|
+
findings. The documented runs in this repository are 1154 and 2883 probes.
|
|
916
|
+
|
|
917
|
+
`--progress auto` draws it only where stderr is a terminal, so a captured
|
|
918
|
+
stderr gets no carriage returns; `plain` writes an ordinary line every 25
|
|
919
|
+
probes for a CI log; `none` turns it off, as does `--quiet`. Redraws are
|
|
920
|
+
rate-limited and the line is clamped to the terminal's width, because a line
|
|
921
|
+
that wraps cannot be erased by one carriage return.
|
|
922
|
+
|
|
923
|
+
The OOB listener erases it before printing a `[HIT]`, from its own thread: a
|
|
924
|
+
hit is evidence and must not land in the middle of a line the main thread is
|
|
925
|
+
drawing.
|
|
926
|
+
|
|
927
|
+
- **Colour, and the palette is a statement about the tier rule.** Hue encodes
|
|
928
|
+
the tier and nothing else; weight carries how much a non-finding line matters,
|
|
929
|
+
so `[!]` is bold and has no colour of its own. `executed` is bold red, the
|
|
930
|
+
proven-but-not-execution tiers share yellow, and the run-level failures
|
|
931
|
+
(`error`, `blocked`, `nothing-tested`, `inconclusive`) take bold yellow so a
|
|
932
|
+
run that tested nothing cannot look like the `negative` it is not.
|
|
933
|
+
|
|
934
|
+
**`negative` is uncoloured and there is no green in the palette at all.**
|
|
935
|
+
Green reads as "nothing here", and `negative` does not mean that -- it means
|
|
936
|
+
the probes reached the target. A test asserts the absence of green, because it
|
|
937
|
+
is a property of the tier rule and not of the styling.
|
|
938
|
+
|
|
939
|
+
On when stdout is a terminal with `NO_COLOR` unset and `TERM` not `dumb`;
|
|
940
|
+
`--color never` / `always` override, `FORCE_COLOR` forces. A redirected report
|
|
941
|
+
carries no escape sequences without anyone passing a flag, and colour can
|
|
942
|
+
never reach `--detect-json` or the `-o` exports under any setting -- a test
|
|
943
|
+
runs with `--color always` and asserts the JSON is free of them.
|
|
944
|
+
|
|
945
|
+
Colour is applied only to labels RCEKit generated: a section heading, a
|
|
946
|
+
verdict name, a marker. Never to a payload, a detail or a point label, all of
|
|
947
|
+
which 3.12.2 escapes precisely because the target chooses them -- wrapping
|
|
948
|
+
attacker-chosen bytes in an escape sequence would hand back the control codes
|
|
949
|
+
that escaping took away.
|
|
950
|
+
|
|
951
|
+
No verdict, tier or output schema changed.
|
|
952
|
+
|
|
953
|
+
## [3.13.0] — 2026-11-07
|
|
954
|
+
|
|
955
|
+
### Added
|
|
956
|
+
|
|
957
|
+
- **A banner, and it is two lines.** `RCEKit <version>` and the tier rule, on
|
|
958
|
+
**stderr**, before anything else a run prints. On stderr because stdout is the
|
|
959
|
+
report and has been read out of pipes and redirects since before the banner
|
|
960
|
+
existed; a test asserts stdout is byte-identical with the banner and with
|
|
961
|
+
`--quiet`, which is the whole reason it could be added without changing a
|
|
962
|
+
published surface. Two lines because the screen belongs to the findings -- the
|
|
963
|
+
figlet an operator scrolls past twice in a demo costs more than it gives. The
|
|
964
|
+
second line is the README's own sentence rather than a paraphrase, and a test
|
|
965
|
+
holds the two together, because a banner that states the tier rule in
|
|
966
|
+
different words is a third copy of the rule to keep in sync.
|
|
967
|
+
|
|
968
|
+
- **`-q` / `--quiet`** suppresses the banner. It does not quieten the report:
|
|
969
|
+
there is no flag for that, because a run with no report is a run with no
|
|
970
|
+
purpose.
|
|
971
|
+
|
|
972
|
+
### Changed
|
|
973
|
+
|
|
974
|
+
- **A redirected run printed nothing at all until it exited.** Python
|
|
975
|
+
block-buffers stdout when it is not a terminal and nothing in this module
|
|
976
|
+
flushed, so a run piped into `tee`, captured by `script`, or watched in CI was
|
|
977
|
+
silent for its whole duration. Measured against a target that accepts and
|
|
978
|
+
never answers: the first line arrived after **50.2s**, and arrives after
|
|
979
|
+
**0.2s** now. An operator watching a silent pipe cannot tell a working run
|
|
980
|
+
from a hung one, which is the same failure the missing progress indicator
|
|
981
|
+
causes and the cheaper half of it. stdout is line-buffered from `main` now --
|
|
982
|
+
one call, rather than a `flush=True` on each of a hundred-odd prints that
|
|
983
|
+
somebody has to remember at the next one.
|
|
984
|
+
|
|
985
|
+
- **The run's own configuration no longer reads as findings.** `sink shell`,
|
|
986
|
+
`sink shapes` and the five shape descriptions under them were seven
|
|
987
|
+
`[detect]` lines printed at exactly the weight of an `EXECUTED` row -- in a
|
|
988
|
+
real run the finding was the seventh of them, indistinguishable from the line
|
|
989
|
+
explaining what `env` means. They sit under a `[detect] run configuration:`
|
|
990
|
+
heading now. Deliberately still on stdout and still `[detect]`: moving them
|
|
991
|
+
would break every consumer and every documented transcript for a cosmetic
|
|
992
|
+
gain, which is not the trade this was worth.
|
|
993
|
+
|
|
994
|
+
- **RCEKit's log records go to stderr instead of stdout.** A log record is not
|
|
995
|
+
part of the report, and on stdout it was duplicating one: a generate run
|
|
996
|
+
printed `INFO - Successfully generated 3 payloads to ...` and then
|
|
997
|
+
`Generated 3 payloads to ... in detection mode` -- one fact, twice, in two
|
|
998
|
+
formats, with a timestamp in front of the copy nobody asked for.
|
|
999
|
+
|
|
1000
|
+
No verdict, tier or output schema changed. `--detect-json` and the `-o`
|
|
1001
|
+
exports are byte-identical.
|
|
1002
|
+
|
|
1003
|
+
## [3.12.2] — 2026-11-07
|
|
1004
|
+
|
|
1005
|
+
### Fixed
|
|
1006
|
+
|
|
1007
|
+
- **A target could write escape sequences into the operator's terminal and
|
|
1008
|
+
forge a confirmation.** `terminal_safe` has escaped control characters on the
|
|
1009
|
+
`[HIT]` line since the OOB listener landed, for the reason its docstring
|
|
1010
|
+
states plainly: a callback's host and path are chosen by the *target*, and an
|
|
1011
|
+
ESC byte printed raw lets that target colour, erase and rewrite lines in the
|
|
1012
|
+
operator's own terminal. The report's own rows never got the same treatment,
|
|
1013
|
+
and one of their fields comes off the wire.
|
|
1014
|
+
|
|
1015
|
+
When a probe never arrives, the delivery error becomes the observation body.
|
|
1016
|
+
`_fire_channels` catches `urllib.error.HTTPError` separately and sends
|
|
1017
|
+
everything else to a generic handler whose body is `str(exc)`.
|
|
1018
|
+
`http.client.BadStatusLine` is not an `HTTPError`, so a reply that is not a
|
|
1019
|
+
valid status line at all lands in that handler carrying the server's raw
|
|
1020
|
+
bytes. Those became the `error` verdict's detail, and `[detect] ... NEVER
|
|
1021
|
+
REACHED THE TARGET` printed it verbatim.
|
|
1022
|
+
|
|
1023
|
+
Measured rather than reasoned about: a socket server answering with an
|
|
1024
|
+
erase-line sequence followed by a forged `EXECUTED` row wiped the line
|
|
1025
|
+
reporting that nothing had reached the target and printed a confirmation in
|
|
1026
|
+
its place, for a run that tested nothing. The tier rule is the claim this
|
|
1027
|
+
project rests on, and the shape of this bug was that claim being forged by
|
|
1028
|
+
the target it is supposed to describe.
|
|
1029
|
+
|
|
1030
|
+
Every report row now renders through `display_result`, which escapes each
|
|
1031
|
+
string field of a result. One function rather than `terminal_safe` at
|
|
1032
|
+
fifteen interpolations across the `[detect]`, `[verify]` and `[verify-chain]`
|
|
1033
|
+
reports, because a guard applied at fourteen of them is not a guard -- and
|
|
1034
|
+
`detail` is the one that was left out. Display only: the result dict,
|
|
1035
|
+
`--detect-json` and the written reports keep the bytes verbatim, exactly as
|
|
1036
|
+
the OOB hit log does. What arrived stays visible, escaped, so the operator
|
|
1037
|
+
can see that something tried this.
|
|
1038
|
+
|
|
1039
|
+
The same pass closed a legibility bug with the same cause. The `newline` sink
|
|
1040
|
+
shape is a real separator, so an ordinary run builds payloads containing a
|
|
1041
|
+
literal newline, and the `[detect]` report printed them raw -- splitting the
|
|
1042
|
+
EXECUTED row across two lines and leaving its own
|
|
1043
|
+
`[method/environment/context]` prefix on the line above, in the section an
|
|
1044
|
+
operator reads first. `[verify-chain]` had been printing `repr()` and was
|
|
1045
|
+
unaffected; all three reports render the same way now.
|
|
1046
|
+
|
|
1047
|
+
Three tests, because each catches a different way the fix could come undone:
|
|
1048
|
+
`display_result` itself, an end-to-end run against a socket server that
|
|
1049
|
+
replies with a malformed status line, and an `ast` walk asserting that no
|
|
1050
|
+
f-string in `main` builds a report row from a result field without passing it
|
|
1051
|
+
through `display_result`. The last is scoped to f-strings rather than to
|
|
1052
|
+
`print` calls on purpose -- the EXECUTED row builds its ` at <point>` fragment
|
|
1053
|
+
into a local one statement above the `print`, and a check that looked only
|
|
1054
|
+
inside the call missed the field naming the injection point.
|
|
1055
|
+
|
|
1056
|
+
Version 3.12.1 -> 3.12.2. PATCH: a vulnerability fixed, no capability added
|
|
1057
|
+
or changed, and no output schema touched.
|
|
1058
|
+
|
|
393
1059
|
## [3.12.1] — 2026-10-31
|
|
394
1060
|
|
|
395
1061
|
### Fixed
|
|
@@ -4064,6 +4730,16 @@ this file and have not been restated here.
|
|
|
4064
4730
|
|
|
4065
4731
|
|
|
4066
4732
|
[Unreleased]: https://github.com/kabiri-labs/rcekit/compare/v2.36.0...HEAD
|
|
4733
|
+
[3.19.0]: https://github.com/kabiri-labs/rcekit/compare/v3.18.2...v3.19.0
|
|
4734
|
+
[3.18.2]: https://github.com/kabiri-labs/rcekit/compare/v3.18.1...v3.18.2
|
|
4735
|
+
[3.18.1]: https://github.com/kabiri-labs/rcekit/compare/v3.18.0...v3.18.1
|
|
4736
|
+
[3.18.0]: https://github.com/kabiri-labs/rcekit/compare/v3.17.0...v3.18.0
|
|
4737
|
+
[3.17.0]: https://github.com/kabiri-labs/rcekit/compare/v3.16.0...v3.17.0
|
|
4738
|
+
[3.16.0]: https://github.com/kabiri-labs/rcekit/compare/v3.15.0...v3.16.0
|
|
4739
|
+
[3.15.0]: https://github.com/kabiri-labs/rcekit/compare/v3.14.0...v3.15.0
|
|
4740
|
+
[3.14.0]: https://github.com/kabiri-labs/rcekit/compare/v3.13.0...v3.14.0
|
|
4741
|
+
[3.13.0]: https://github.com/kabiri-labs/rcekit/compare/v3.12.2...v3.13.0
|
|
4742
|
+
[3.12.2]: https://github.com/kabiri-labs/rcekit/compare/v3.12.1...v3.12.2
|
|
4067
4743
|
[3.12.1]: https://github.com/kabiri-labs/rcekit/compare/v3.12.0...v3.12.1
|
|
4068
4744
|
[3.12.0]: https://github.com/kabiri-labs/rcekit/compare/v3.11.0...v3.12.0
|
|
4069
4745
|
[3.11.0]: https://github.com/kabiri-labs/rcekit/compare/v3.10.0...v3.11.0
|