You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SECURITY] Authenticate credential, audit, and docs API endpoints #59
The MCP tool configure_org_credentials has the same gap on SSE/HTTP transports — any connected client can store keys for anyorg_id.
Impact
Anyone who can reach the agent HTTP port can read/write tenant credentials and audit data. This undermines the BYOK multi-tenant model documented in README.
Proposed solution
Add platform-level auth (Bearer admin token or mTLS) on all mutating and sensitive read endpoints
Enforce org-scoped authorization (caller can only access orgs they are permitted for)
Protect MCP credential tools when transport is not stdio
Document auth requirements in docs/API_REFERENCE.md (currently missing for /orgs/{org_id}/config)
Add regression tests asserting 401/403 without valid credentials
Activity
Merge pull request #127 from open-devops-agent/fix/api-auth-59
fix: require bearer tokens for org config, docs and audit API routes