Repository navigation
Security hardening - #3
Merged
Merged
Conversation
Only loopback pages and origins listed exactly with --allow-origin may call the bridge (no blanket chrome-extension:// or *.web.app; wildcards refused). Generated tokens come from BCryptGenRandom (256 bit) and are written to %LOCALAPPDATA%\eyra\bridge.token instead of being printed.
…ult pages
Password managers and credential prompts are matched by exact executable name; title phrases need whole-word matches ("Goalkeeper" no longer matches "keeper"); browser tabs titled Passwords, Google Password Manager, Wallet etc. are treated as sensitive.
OCR has no password-field flag, so values next to or below a short password label (16 languages), inline 'Password: ...' values and runs of masking dots are replaced with [REDACTED] and their rects are blacked out in later screenshots. OCR snapshots carry a one-line note that masking is heuristic.
--allow-apps limits mouse/keyboard actions to listed executables. --max-actions-per-minute (default 60, plus 10 per second) stops runaway loops. --confirm risky (default) shows a Windows Yes/No dialog before clicks on delete/send/pay/publish-style controls (8 languages) and before shift+delete / ctrl+enter; --confirm all asks before every action. Coordinate clicks, scrolls and drags are now checked against the window actually under the pointer (both ends of a drag).
…y model see/see_diff output carries content=untrusted; MCP server instructions, tool descriptions, SKILL.md, GEMINI.md and the plugin skill tell the model never to follow instructions found on screen or in audio. README gains a Security model section covering injection and the input guards.
While listen captures audio or a watch session runs, a red click-through 'EYRA is recording' badge sits in the bottom-right corner (excluded from screen capture). The microphone is off unless eyra starts with --allow-mic (EYRA_ALLOW_MIC=1): source=mic is refused, source=both records system audio only and says so.
listen clips older than EYRA_AUDIO_TTL_MIN (default 60, 0 = no age limit) are deleted before each recording and when the MCP server starts; stale watch-session folders left by a crash are swept too.
README covers --confirm, --allow-apps, --max-actions-per-minute, --allow-mic, EYRA_AUDIO_TTL_MIN, the bridge token file and new troubleshooting entries; CHANGELOG lists the security changes; the listen tool tells the model the microphone needs --allow-mic.
…aret bench/run-tasks.ps1 runs five scripted desktop tasks through the MCP server (25/25 succeeded) and writes bench/RESULTS.md. The benchmark showed wait_change missing a status-line change at the old 1% threshold and firing on a blinking caret at a lower one: the default is now 0.2% plus at least 3 changed blocks.
Version 0.4.0 everywhere; the Claude Code plugin points at the v0.4.0 bundle; README no longer marks eyra setup and attestations as unreleased.
A Chrome or Edge window that is covered or still loading exposes only its toolbar to UI Automation. see now adds OCR in that case and tells the agent to focus the window and look again. README: troubleshooting rows for this and for canvas text.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exact CORS origins and OS-random bridge token; precise sensitive-window detection; OCR password masking; --allow-apps, rate limit and confirmation for risky actions; prompt-injection marking and Security model docs; recording badge and microphone opt-in; auto-deletion of recordings.