Skip to content

Restrict page→content bridge to set-speed only#1463

Merged
igrigorik merged 1 commit into
masterfrom
claude/fix-message-bridge-security-PTzEv
Mar 28, 2026
Merged

Restrict page→content bridge to set-speed only#1463
igrigorik merged 1 commit into
masterfrom
claude/fix-message-bridge-security-PTzEv

Conversation

@igrigorik

@igrigorik igrigorik commented Mar 28, 2026

Copy link
Copy Markdown
Owner

The message bridge now accepts exactly one page→content verb:
set-speed with a validated, clamped numeric value. All persistent
settings writes go through trusted extension contexts (options page,
popup, background) which have direct chrome.storage access.

StorageManager.set() in page context routes only lastSpeed through the
bridge; other keys stay in-memory only.

@igrigorik
igrigorik force-pushed the claude/fix-message-bridge-security-PTzEv branch from 495f1cf to 7ae9aa1 Compare March 28, 2026 02:07
The message bridge now accepts exactly one page→content verb:
`set-speed` with a validated, clamped numeric value. All persistent
settings writes go through trusted extension contexts (options page,
popup, background) which have direct chrome.storage access.

StorageManager.set() in page context routes only lastSpeed through the
bridge; other keys stay in-memory only.
@igrigorik
igrigorik force-pushed the claude/fix-message-bridge-security-PTzEv branch from 7ae9aa1 to 1183e60 Compare March 28, 2026 02:08
@igrigorik
igrigorik merged commit 959c2ee into master Mar 28, 2026
2 checks passed
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