recovering-deleted-files-with-photorec

Warn

Audited by Snyk on Aug 17, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). In scripts/agent.py, the runtime workflow ingests outsider-authored free text only indirectly by running photorec on a user-supplied image_path and then catalogs/hashes the recovered files from output_dir, but the workflow does not itself fetch or monitor any external text source like email/chat/tickets/issue bodies that an outsider can post into without the agent selecting an item.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.90). The skill explicitly requests root/sudo usage and contains sudo install and device-access commands (e.g., sudo apt-get install, sudo photorec /dev/sdb), which push the agent to obtain elevated privileges and modify system state.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 17, 2026, 03:53 PM
Issues
2
Security Audit — snyk — recovering-deleted-files-with-photorec