| Version | Supported |
|---|---|
0.2.x |
Yes |
< 0.2.0 |
No — upgrade to 0.2.x |
Please do not open a public GitHub issue for security vulnerabilities.
Instead, report vulnerabilities privately through GitHub Security Advisories ("Report a vulnerability" in the Security tab of https://github.com/AlgorithmicMind/docground) or contact the maintainers privately.
We aim to acknowledge reports within 48 hours and provide a remediation plan or patch timeline within 5 business days.
When using docground in multi-tenant servers or pipelines processing untrusted documents:
- Disable or sandbox filesystem inputs: Pass
allowFilePaths: false(recommended wheninputcomes from external users) or restrict paths withallowedBaseDirandmaxInputBytes. - Sanitize
ExtractedTable.html: The optionalhtmlfield on extracted tables is untrusted model output. Sanitize it (e.g., with DOMPurify) before inserting it into any browser DOM. - Restrict
baseUrl:OpenAIProviderenforceshttps://by default and requires an explicitapiKeyfor non-default hosts soOPENAI_API_KEYis never leaked implicitly. - Keep
debug: falsein production: Raw model output previews are omitted fromDocGroundErrormessages by default to prevent PII/PHI leakage into logs.