AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Method
Static reading of the attack-facing surface (router/auth/authz/share/es_compat,
xerj-wasm, xerj-autoindex, xerj-storage, xerj-console-api) with parallel
subagent sweeps per area, then dynamic confirmation of the top candidates against
the prebuilt release binary on scratch ports/data dirs.
Dynamically reproduced:
- the
force_synthetic_sourcestack overflow (node abort at 50k dots), - the
PUT _mappingstack overflow, - the pipeline-DAG expansion (49+ GB RSS, host-threatening),
- the suggest edit-distance amplification (85 s for 1 MB x 2000 terms),
- a
.dvsidecar abort from a single u64 tamper.
The git --upload-pack injection was confirmed against local git 2.39.5.
Findings I could not confirm at runtime are marked with static evidence only.
Checked and cleared rather than reported: CORS (restrictive by default), share claim rate limiting and key hashing, console session signing/CSRF, zip-slip and XML entity expansion in autoindex, path traversal in SPA serving, and the painless interpreter's resource limits.