Skip to content

fix: the /public/logs and /public/ endpoints serve l... in...#1619

Open
orbisai0security wants to merge 1 commit intoPortkey-AI:mainfrom
orbisai0security:fix-fix-v-001-log-route-auth
Open

fix: the /public/logs and /public/ endpoints serve l... in...#1619
orbisai0security wants to merge 1 commit intoPortkey-AI:mainfrom
orbisai0security:fix-fix-v-001-log-route-auth

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in src/start-server.ts.

Vulnerability

Field Value
ID V-001
Severity HIGH
Scanner multi_agent_ai
Rule V-001
File src/start-server.ts:44

Description: The /public/logs and /public/ endpoints serve log indexes and static files via serveIndex without any authentication middleware. These routes are registered directly on the application without any auth guard, meaning any network-accessible client can browse and download application logs. Given that the codebase contains 100+ API key references and processes OAuth tokens and upstream provider credentials, these logs are highly likely to contain sensitive credentials and user data.

Changes

  • src/start-server.ts

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
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