2 Commits

Author SHA1 Message Date
a6c662f100 fix(engine): cap request Content-Length to prevent unbounded body buffering
The native Rust HTTP server trusted the client-supplied Content-Length
header with no upper bound, looping to read the full claimed body size
with no cap. A tiny request claiming a huge Content-Length let a single
unauthenticated connection force unbounded memory allocation (DoS).

Reject any Content-Length over the existing 1MB request-size guard
before entering the body-accumulation loop.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-07 02:59:32 +03:00
caelum0x
4847e35451 OpenJev: open-source typed decision service
Typed decision/classification service with an in-process gte-small ONNX
embedding engine and lexical fallback, JS/Python SDKs, adapters, and the
otsone model family. Apache-2.0 (sub-packages keep their MIT licenses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 00:12:36 +03:00