Skip to content

fix: remove all unauthenticated public endpoints#5637

Open
ink-the-squid wants to merge 1 commit intoHelicone:mainfrom
ink-the-squid:ink/kill-unauthenticated-endpoints
Open

fix: remove all unauthenticated public endpoints#5637
ink-the-squid wants to merge 1 commit intoHelicone:mainfrom
ink-the-squid:ink/kill-unauthenticated-endpoints

Conversation

@ink-the-squid
Copy link
Contributor

Removes all controllers that have zero authentication:

Controller Route Notes
alertBannerController v1/public/alert-banner PATCH + GET, no auth
llmSecurityController v1/public/security POST, manual env var check only
modelController v1/models GET, no auth
modelRegistryController v1/public/model-registry GET, no auth
statsController v1/public/stats/* 6 GET endpoints, no auth
waitlistController v1/public/waitlist/* 4 endpoints, no auth

Not removed (have @Security on class or all methods):

  • heliconeSqlController — no class-level auth but every method has @Security("api_key")
  • proxyController — Express router (not TSOA), separate auth flow
  • All other public controllers have class-level @Security("api_key")

Known downstream impact:

  • bifrost public pages (stats, model registry, waitlist) reference removed endpoints
  • web/services/hooks/useModelRegistry.tsx used by playground
  • These will need follow-up to either add auth or remove references

Web build: ✓ Compiled successfully (pre-existing unrelated type error in portalPage.tsx)

Removed 6 controllers with no auth:
- alertBannerController (v1/public/alert-banner)
- llmSecurityController (v1/public/security)
- modelController (v1/models)
- modelRegistryController (v1/public/model-registry)
- statsController (v1/public/stats/*)
- waitlistController (v1/public/waitlist/*)

Regenerated TSOA routes/swagger and client types.

Note: bifrost public pages (stats, model registry) and
web playground (useModelRegistry) reference removed endpoints -
will need follow-up to add auth or remove those references.
@vercel
Copy link

vercel bot commented Mar 14, 2026

@ink-the-squid is attempting to deploy a commit to the Helicone Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to 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.

1 participant