sleepwell-profile

Warn

Audited by Gen Agent Trust Hub on Aug 25, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [DATA_EXPOSURE]: The skill reads user chat transcripts from sensitive directories: ~/.claude/projects/, ~/.codex/sessions/, and ~/.gemini/sessions/. These files contain full interaction histories, including code and private discussions, which are then processed and stored in a local JSON file.- [COMMAND_EXECUTION]: The script executes a sequence of shell commands (ls, grep, awk, jq, sed) to programmatically scan and extract data from files located within the user's home directory.- [PROMPT_INJECTION]: The skill is designed to extract user linguistic patterns and technical terms to be injected into the agent's context in subsequent iterations of a loop. This establishes an indirect prompt injection vector where previously recorded instructions in chat logs could be inadvertently re-executed.
  • Ingestion points: The extract_user_msgs function in SKILL.md reads .jsonl files from multiple runtime-specific session directories.
  • Boundary markers: No explicit delimiters or safety instructions are defined to wrap the profile data when it is injected into the prompt.
  • Capability inventory: The skill possesses file read/write permissions and the ability to execute shell pipelines.
  • Sanitization: The skill relies on simple character-length and keyword filtering, which is insufficient to sanitize malicious prompt injection payloads contained within chat transcripts.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 25, 2026, 03:45 PM