T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:92- Finding
Bulk Upload of Sensitive Agent Session Data
- Content
View full analysis
/ --type dataset --private --exist-ok hf upload / ~/.codex/sessions codex/ --type dataset ``` ``` ### Technical Analysis The Skill explicitly acknowledges that agent traces can contain secrets, personally identifiable information, prompts, local file paths, and tool outputs. Despite this, it recommends recursively uploading the complete `~/.codex/sessions` directory as raw JSONL data. A private repository only limits repository visibility. It does not prevent the sensitive information from being transmitted to and retained by an external service. The data may subsequently become accessible through repository collaborators, account compromise, service-side processing, logging, accidental visibility changes, or misconfiguration. This access exceeds the minimum privileges needed for the Skill's declared read-only Dataset Viewer workflows. Even when trace publishing is intentionally requested, unrestricted access to an entire session-history directory is broader than necessary. The operation lacks file-l ...[truncated 1535 chars]- Remediation
View remediation
