Skip to content

Harden API surface defaults and security advisory tests - #14

Merged
cursor[bot] merged 2 commits into
masterfrom
cursor/nexo-game-server-portal-0f3d
Apr 4, 2026
Merged

Harden API surface defaults and security advisory tests#14
cursor[bot] merged 2 commits into
masterfrom
cursor/nexo-game-server-portal-0f3d

Conversation

@IanFrelinger

Copy link
Copy Markdown
Owner

Summary

  • add optional API-key middleware for mutating /api/* routes with configurable header and excluded paths
  • bind new security options in API startup and log when auth is required but no key is configured
  • switch compose port publishing defaults to loopback-only binds for API and Ollama
  • add API tests for middleware behavior and exposure-profile advisory mapping/fallback
  • update security configuration docs and env examples to match runtime options

Notes

  • This PR is opened before post-change test execution to keep an auditable pre-test checkpoint on the branch.

Testing

  • Pending targeted test run in follow-up commit/update.
Open in WebOpen in Cursor

cursoragentand others added 2 commits April 4, 2026 23:09
Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
@cursor
cursorBot merged commit b6e9527 into masterApr 4, 2026
27 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@IanFrelinger@cursoragent