OpenExpert is distributed as open-source software under the MIT license. The entire codebase is MIT-licensed; the project does not rely on license-based secrecy for its security. It runs locally on your machine: data is a local SQLite file, model keys and Google Drive tokens stay on your disk, and nothing is exposed beyond the port you bind.
| Version | Supported |
|---|---|
main branch |
yes |
| latest released tag | yes |
| older tags | best-effort |
Please do not file a public issue for suspected vulnerabilities.
- GitHub Security Advisories (preferred): open a private advisory at
https://github.com/OpenExpert-ai/OpenExpert/security/advisories/new. - If you cannot use advisories, contact a maintainer listed in
GOVERNANCE.mdthrough a private channel.
Include: reproduction steps, affected version/commit, impact, and any proof-of-concept. Encrypt sensitive details with the maintainers' PGP key when one is published alongside this file.
- Acknowledge within 3 business days.
- Triage and confirm within 10 business days.
- Coordinate a fix and disclosure. Critical issues are addressed urgently.
.env,openexpert.json,~/.openexpert/,credentials.jsonandsecrets.jsonare git-ignored and must never be committed.GOOGLE_API_KEY,OPENEXPERT_MODEL_KEY,GOOGLE_CLIENT_SECRETand the Google refresh tokens are server-side only; they are never part of the client bundle. The local settings panel can reveal a stored key on demand (the browser is a trusted environment in the single-owner edition).- The Google Drive OAuth
stateis HMAC-signed and verified in constant time. - All writes go through server functions; the database is a local SQLite file that never leaves your machine.
- The chat blocks prompt-injection attempts with a regex pre-filter and
records the event in the activity log. Extra patterns come from the settings
panel or
openexpert.json, and a pattern that repeats a group already holding a quantifier or an alternation ((a+)+,((a+))+,(a|aa)+) is rejected when saved and skipped at run time: it would block the event loop for minutes on a short message, because the filter runs before the model is called.
There are no production endpoints or cloud credentials. Everything runs locally; the only secrets are your model key and your Google Drive tokens, which stay on your machine.
mammoth→argparse@~1.0.3(moderate;sprintf-jsprototype pollution reachable throughargparse).mammothis used to read.docxtext, and1.13.0— the current release — still pins that range. The affected code sits inmammoth's command line interface, which the app never runs: onlymammoth.extractRawText()is imported, as a library. Accepted on that reasoning untilmammothrelaxes the range;npm audit fix --forcewould only hide the report by downgradingmammoth.
The local server binds to 127.0.0.1 and has no authentication, so only
processes on the same machine can reach the dashboard and the folders its owner
granted. Setting OPENEXPERT_HOST (or HOST) to another interface publishes it
to that network, and to every one of them with 0.0.0.0; the Docker image binds
every interface by design. The names it answers to come from its configuration —
loopback, the listen address, and whatever OPENEXPERT_ALLOWED_ORIGINS lists —
never from the Host a request claims, which is what keeps DNS rebinding out. A
wildcard says where to listen, not which names are trusted: exposing the app on
0.0.0.0 still needs those names listed, or every request that carries an
Origin (the chat's POST /api/chat among them) is answered with 403. Neither
variable adds authentication. See docs/en/08-deployment.md.