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 }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Remote token backends still mirror auth material to local spool directories
Severity: high
Confidence: confirmed
Summary: Remote-backed auth storage still creates local auth/config directories, so operator expectations about central-only secret storage are violated.
This scan is evidence-first and probabilistic. It is not an accusation of malicious intent.
If any finding is incorrect or outdated, please reply with corrected context and exact file references.
Credential-handling risk report for
anschmieg/cli-proxy-api-plusphantomcreds detected repo-level code or deployment patterns that warrant maintainer review.
Detected finding types:
callback_exposure, local_secret_mirror, management_auth_bypass, wildcard_management_corsRemote token backends still mirror auth material to local spool directories
highconfirmedEvidence:
internal/store/objectstore.go:26 - objectStoreConfigKey = "config/config.yaml"internal/store/objectstore.go:27 - objectStoreAuthPrefix = "auths"internal/store/objectstore.go:30 - // ObjectStoreConfig captures configuration for the object storage-backed token store.internal/store/postgresstore.go:34 - SpoolDir stringOAuth callback listeners bind broadly and are published in default deployment files
mediumconfirmedEvidence:
internal/auth/claude/oauth_server.go:90 - Addr: fmt.Sprintf(":%d", s.port),internal/auth/codex/oauth_server.go:87 - Addr: fmt.Sprintf(":%d", s.port),Management proxy routes bypass API-key authentication
highconfirmedEvidence:
internal/api/modules/amp/routes.go:130 - // wrapManagementAuth skips auth for selected management paths while keeping authentication elsewhere.internal/api/modules/amp/routes.go:131 - func wrapManagementAuth(auth gin.HandlerFunc, prefixes ...string) gin.HandlerFunc {internal/api/modules/amp/routes.go:161 - authWithBypass = wrapManagementAuth(auth, "/threads", "/auth", "/docs", "/settings")Wildcard CORS is applied to management endpoints
highconfirmedEvidence:
internal/api/server.go:1234 - c.Header("Access-Control-Allow-Origin", "*")internal/api/server.go:249 - engine.Use(corsMiddleware())internal/api/server.go:571 - mgmt := s.engine.Group("/v0/management")This scan is evidence-first and probabilistic. It is not an accusation of malicious intent.
If any finding is incorrect or outdated, please reply with corrected context and exact file references.
Automated by phantomcreds.
Project repo · Created by James Sawyer at JS Labs.