Bootstrapwarebootstrapware

Security

Publishable keys are not secrets.

Test keys work unpaid. Live publishable config needs BYO or Hosted. Secret keys never belong in the browser, in MCP, or in a widget snippet.

Keys use the bsw_test_pub_, bsw_test_sec_, bsw_live_pub_, and bsw_live_sec_ prefixes. The browser env is NEXT_PUBLIC_BSW_ANSWERS_PUBLISHABLE_KEY.

MCP scope is answers:mcp at https://answers.bootstrapware.co/mcp. Prefer OAuth Connect. A test secret is the fallback. Tools configure apps and public URL sources. They do not accept visitor questions, file bytes, or provider keys.

Allowed origins help browsers. They do not stop a script that replays a publishable key. Hosted ask checks the key, the body size, burst limits, and the monthly allowance before retrieval or a model call.

Treat visitor text and indexed documents as untrusted. Hosted sources are readable by visitors.

Answers security · Bootstrapware