T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:4- Finding
Overbroad Automatic Access to Screen History and Persistent Memories
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 4-18 and 38-52
Vulnerability Type: Excessive access to sensitive screen recordings and persistent user context
Risk Level: MediumVulnerable Instructions
markdown Allows you to view the user's screen as well as several hours of history. Use when the user makes a reference to their recent work, for which it'd be helpful to see the screen. This skill MUST be used whenever you need to resolve ambiguity in a user request, where the user hasn't specified enough context to do the task. Examples include disambiguating the specific user/app/document/error the user is referring to. You must also use this skill if the user asks about any question regarding Chronicle or asks what you can see from the screen.markdown This skill allows you to view the user's screen. This skill is enabled because the user has enabled the Codex screen recording (Chronicle) feature, which records a rolling buffer of the past several hours of work to `$TMPDIR/chronicle/screen_recording`.markdown 1. Only use this skill if memories are available in this rollout. This will manifest as an explicit mention of a ## Memories section in a Developer Message. If this section is not present, do not use this skill. If the user specifically tried to invoke this skill, you can mention it's disallowed because memories are disabled; otherwise, do not mention the existence of this skill (this skill is only supposed to be used when memories are enabled in Codex). 2. Ensure Chronicle is running on the user's computer. You can check this by checking the pidfile at `$TMPDIR/codex_chronicle/chronicle-started.pid` is valid (i.e., exists and process is running). If the pidfile is invalid, do not use this skill. This applies EVEN IF there are seemingly-fresh videos in the screen_recording folder; the user may have just recently disabled Chronicle. Regardless, the takeaway is that recordings *c ...[truncated 4684 chars]- Remediation
View remediation
Remediation Suggestions
- Remove the instruction that Chronicle must be used whenever the agent perceives ambiguity.
- Require explicit, task-specific user approval before accessing live frames, historical recordings, OCR sidecars, or persistent Chronicle memories.
- Present the requested access scope before invocation, including the display, application, time range, and type of data to be inspected.
- Default to the narrowest possible source, such as one current frame from one approved display. Expand to historical frames or other displays only after additional confirmation.
- Restrict OCR searches to user-approved terms and time windows. Prevent broad searches across all recorded activity.
- Do not access persistent memory summaries unless the user explicitly requests historical context that requires them.
- Detect and redact likely credentials, authentication tokens, personal information, and unrelated private content before using or retaining screen-derived data.
- Require separate confirmation before using screen-derived identifiers to access connectors, applications, or filesystem resources.
- Maintain an auditable record of what Chronicle sources were accessed, why access was necessary, and what scope the user approved.
- Preserve the existing availability and freshness checks, but treat them as supplemental controls rather than substitutes for consent and least-privilege enforcement.
