Repository navigation
Security hardening. Read "Changed" before upgrading: an HTTP server without
AUTH_TOKEN/OAuth no longer starts.
Added
- Read-only tokens and assignments:
read_onlyflag on file tokens and OAuth assignments, andORA_READ_ONLY=true
for everyone. Theexecutetool is hidden and refused ([AUTH] … reason="read-only");querywas already read-only.
A change applies to open sessions with their next request; a user matching several assignments is read-only if any
of them is. Admin UI toggle and list marker, REST API and OpenAPI spec,admincli.sh:--read-onlyforadd-token/
add-assignment,set-read-only,set-assignment-read-only, anROcolumn andRead-onlyinshow-token - Failed-login throttle per client IP: HTTP 429 with
Retry-AfterafterAUTH_MAX_FAILURES(default 20,0= off)
failures withinAUTH_FAILURE_WINDOWseconds (default 60) ALLOW_ANONYMOUS(Helm:auth.allowAnonymous) and Helmserver.readOnly(ORA_READ_ONLY)- Docker image scan: CI job
image-scanand a gate before the push inrelease.ymlrun Trivy and fail on fixable
HIGH/CRITICAL vulnerabilities, secrets or Dockerfile misconfigurations - The Docker images (thin and
-thick) are also published to GitHub Container Registry
(ghcr.io/tommi2day/oracle-mcp-server, same tags as on Docker Hub); the release job verifies that the GHCR
package is publicly pullable and writes a job summary
Changed
- License is Apache-2.0 (was MIT):
LICENSE,package.json,package-lock.json,openapi.jsonand the README say so. Releases up to 1.1.0 were published under MIT - Breaking:
TRANSPORT=httpexits at startup withoutAUTH_TOKENorOAUTH_ISSUERunlessALLOW_ANONYMOUS=true
is set — an unauthenticated server exposes the database and the admin API. Docker: pass-e AUTH_TOKEN=…;
docker-compose.ymlpasses the variables through; Helm: setauth.token,auth.existingSecretor
auth.allowAnonymous. The stdio transport is unaffected STORE_ENCRYPTION_KEYis stretched with scrypt (enc:v2:). Existingenc:v1:values are still read and
re-encrypted at startup — after that, older versions can no longer read the token store- The token store file is chmod'ed to
0600on every write - The admin page is served with
Content-Security-Policy,X-Frame-Options: DENY,X-Content-Type-Options: nosniff,
Referrer-Policy: no-referrerandCache-Control: no-store
Security
- MCP sessions are bound to the principal that opened them: resuming an
mcp-session-idwith another token or user is
answered with 403 (reason="session belongs to another principal") - Pending OAuth logins (
/auth/login, unauthenticated) are capped; an oversized request body closes the connection - Client-supplied connect strings (
client_connection: full) are also checked percent-decoded:TNS%5FADMIN=…and similar encodings can no longer reference server-side wallets or TNS_ADMIN directories
Full Changelog: 1.1.0...1.2.0