release(0.3.4): three quadratic patterns outside the lexicon, two on the input path
0.3.3 swept 83 lexicon patterns arm by arm and left the other ten regex-bearing modules on 0.3.2's hand-written rows. Generalising the sweep found three more, and the two on the input path matter more than the count suggests: `sanitize` is step 1 of `prepare_input`, and `MAX_SCAN_CHARS` is applied in `scan_lexicon` and `scan_output` only, so there was no cap to extrapolate to. That missing input cap is now a documented residual of its own -- extending it changes the contract for existing callers and is not something to smuggle into a ReDoS patch. Version synced in all four places + CHANGELOG. LIMITATIONS 30 -> 31 items; the 0.3.3 entry claiming the lexicon sweep's scope is corrected in place, since "the output path" was never the whole surface either. 676 tests, coverage 128/128 + 6/6 gaps, sweep clean across 150 patterns.
This commit is contained in:
parent
73fa1b99ae
commit
adf93e47fb
5 changed files with 111 additions and 18 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# llm-ingestion-guard
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
**Write-time ingestion is the trust boundary that query-time guardrails
|
||||
|
|
@ -42,7 +42,7 @@ may still change. There are real limitations, stated plainly below; read them.
|
|||
Not on PyPI. The guard is distributed from its Forgejo origin — pin a release tag:
|
||||
|
||||
```bash
|
||||
pip install "llm-ingestion-guard @ git+https://git.fromaitochitta.com/open/llm-ingestion-pipeline-security.git@v0.3.3"
|
||||
pip install "llm-ingestion-guard @ git+https://git.fromaitochitta.com/open/llm-ingestion-pipeline-security.git@v0.3.4"
|
||||
```
|
||||
|
||||
The `open/` mirror is anonymously readable, so CI needs no deploy key, token, or
|
||||
|
|
@ -215,7 +215,7 @@ a green scan means safe content. The highest-impact items:
|
|||
egress, semantic poisoning, trusted-prose lone-HIGH, lexicon dedup (`count=1`),
|
||||
pure beaconing, and short opaque URL segments.
|
||||
|
||||
**Full list — 30 items, each with the mechanism, plus the out-of-scope boundary:**
|
||||
**Full list — 31 items, each with the mechanism, plus the out-of-scope boundary:**
|
||||
[`docs/LIMITATIONS.md`](docs/LIMITATIONS.md). Several carry field measurements from
|
||||
consumer corpora, including the false positives the URL-shape rule actually produces.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue