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
Suggested secure defaults for local installs (localhost binding, CORS, MCP ports)
#12
I just finished a full local install on macOS using the launcher, WEB, CLI, reconFTW, and Kali components. The install worked after a couple of fixes, but I wanted to share a few secure-by-default deployment suggestions that would make first-time local installs safer and smoother.
Suggested default hardening
Bind exposed services to 127.0.0.1 by default instead of all interfaces
WEB frontend
CLI API
externally exposed MCP SSE endpoints
Avoid defaulting BUGTRACE_CORS_ORIGINS=* for local installs
safer default would be localhost-only origins like http://localhost:6869 and http://127.0.0.1:6869
Do not expose Postgres to the host unless the user explicitly asks for it
internal-only DB networking seems like the safer default
Clarify the role of the standalone CLI MCP vs the WEB-integrated bugtrace-cli-mcp
in a full install they can appear redundant and may create port/binding confusion
Concrete install/runtime issues encountered
BugTraceAI-CLI/Dockerfile.mcp expected an alembic.ini file that was not present in the repo, which broke the MCP image build until fixed locally
enabling the standalone CLI MCP and the WEB-side bugtrace-cli-mcp at the same time can lead to host port collisions depending on how the stack is brought up
Why I think this matters
The product is especially attractive for local testing and self-hosted workflows, so secure defaults would go a long way. Right now the stack is usable, but it feels like it assumes a fairly trusted local environment. Binding to localhost and tightening the default CORS posture would reduce accidental exposure without hurting the normal single-user setup.
If helpful, I can also break the install/runtime issues into separate repo-specific issues for CLI / WEB / Launcher.
Thanks — overall I like the direction of the project, and these changes would make local deployment feel a lot more production-aware.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi BugTraceAI team,
I just finished a full local install on macOS using the launcher, WEB, CLI, reconFTW, and Kali components. The install worked after a couple of fixes, but I wanted to share a few secure-by-default deployment suggestions that would make first-time local installs safer and smoother.
Suggested default hardening
127.0.0.1by default instead of all interfacesBUGTRACE_CORS_ORIGINS=*for local installshttp://localhost:6869andhttp://127.0.0.1:6869bugtrace-cli-mcpConcrete install/runtime issues encountered
BugTraceAI-CLI/Dockerfile.mcpexpected analembic.inifile that was not present in the repo, which broke the MCP image build until fixed locallybugtrace-cli-mcpat the same time can lead to host port collisions depending on how the stack is brought upWhy I think this matters
The product is especially attractive for local testing and self-hosted workflows, so secure defaults would go a long way. Right now the stack is usable, but it feels like it assumes a fairly trusted local environment. Binding to localhost and tightening the default CORS posture would reduce accidental exposure without hurting the normal single-user setup.
If helpful, I can also break the install/runtime issues into separate repo-specific issues for CLI / WEB / Launcher.
Thanks — overall I like the direction of the project, and these changes would make local deployment feel a lot more production-aware.
All reactions