Email security issues to support@alwakeelo.com and alwakeeloneon@gmail.com. Do not open public issues for vulnerabilities.
npm audit reports 4 critical and 1 high vulnerabilities in the @xenova/transformers dependency chain:
protobufjs— arbitrary code execution (GHSA-xq3m-2v4x-88gg)onnx-proto— depends on vulnerableprotobufjsonnxruntime-web— depends on vulnerableonnx-proto@xenova/transformers— depends on vulnerableonnxruntime-web
@xenova/transformers is loaded only when the env var RAG_EMBEDDING_PROVIDER=semantic. See server/rag/embedding-local.ts.
Production (render.yaml:48) sets RAG_EMBEDDING_PROVIDER=hashing, so the vulnerable code is never imported and the CVEs are unreachable in deployed environments.
The available upstream fix (npm audit fix --force) downgrades @xenova/transformers to 2.0.1, which would regress tokenizer correctness and model compatibility — worse than the disease for our deployment.
When @xenova/transformers upstream releases a version pinned to onnxruntime-web ≥ 1.17 (which carries a patched protobufjs), bump and re-run npm audit.
- Production must keep
RAG_EMBEDDING_PROVIDER=hashing. Do not setsemanticin any deployed environment. - Local development with
semanticis acceptable since RAG input is internal-only.