Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

1.0 KB
Raw Blame

Static review of the HTTP surface (es_compat.rs, router.rs, auth/authz middleware, share claim, console SPA/API), the ingest pipeline (wasm processors, autoindex extractors, walkers) and the persistence readers (WAL replay, segment and compression readers), parallelized across subagent audits and re-verified in the main thread. Every finding was independently confirmed: the four request-path panic sites were reproduced on disposable self-booted nodes (99xx ports, fresh data dirs; the shared :9831 node was only read), capturing the exact panic line under the release profile's panic=abort; authorization gaps were demonstrated with minted scoped keys and a share-link guest on a multi-tenant lab node; persistence findings by patching a segment sidecar and restarting. Negative results: guest route/body allow-list, reserved-namespace scoping, index-name validation, reindex-from-remote, snapshot paths, painless budgets, CORS, WAL replay and response pruning all held; malformed-body fuzzing of ~24 endpoints found no crashes.