Skip to content

security(bridge): scrub committed sandbox apiKey + replaySecret (ENG-468)#435

Merged
islandbitcoin merged 1 commit into
eng-361-bridge-alertsfrom
security/eng-468-scrub-bridge-key
Jul 7, 2026
Merged

security(bridge): scrub committed sandbox apiKey + replaySecret (ENG-468)#435
islandbitcoin merged 1 commit into
eng-361-bridge-alertsfrom
security/eng-468-scrub-bridge-key

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Scrubs the Bridge apiKey (sk-test-… sandbox key) and replaySecret committed to dev/config/base-config.yaml on this branch, aligning with main's placeholder convention (main already carries apiKey: "").

⚠️ Scrubbing is not the fix — rotation is

lnflash/flash is public. The key is in git history on a pushed branch, so it's already exposed and this commit does not remove it. The sandbox key must be rotated in the Bridge dashboard.

Coordinate the rotation with live TEST: if sk-test-3bd6463c9cd77c3d8858c60b9997d0c6 is the same key currently in test.tfvars as BRIDGE_API_KEY, rotating it breaks TEST's bridge flows until the tfvars value is updated and make flash ENV=test re-applied.

Separately noted (not fixed here)

base-config.yaml also carries frappe credentials.apiKey/apiSecret (2701937b…) — these appear on main too, under the localhost frappe-docker block, so they look like the shared dev-container default rather than a deployed secret. Worth confirming they're not real for any deployed frappe; if they are, that's a separate rotation.

🤖 Generated with Claude Code

…468)

Aligns dev/config/base-config.yaml with main's placeholder convention —
the bridge apiKey (a real sk-test-* sandbox key) and replaySecret were
committed on this branch. lnflash/flash is PUBLIC, so these are exposed
in git history.

NOTE: this scrub does not remove them from history. The sandbox key must
be ROTATED in the Bridge dashboard — coordinate with the live TEST
BRIDGE_API_KEY (rotating breaks TEST until test.tfvars is updated).

Refs ENG-468

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@linear

linear Bot commented Jul 7, 2026

Copy link
Copy Markdown

ENG-468

@islandbitcoin islandbitcoin merged commit 79f6c17 into eng-361-bridge-alerts Jul 7, 2026
2 checks passed
@islandbitcoin islandbitcoin deleted the security/eng-468-scrub-bridge-key branch July 7, 2026 12:38
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.

2 participants