skills/mukul975/anthropic-cybersecurity-skills/recovering-deleted-files-with-photorec/Gen Agent Trust Hub
recovering-deleted-files-with-photorec
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyusessubprocess.runto invoke external system utilities likephotorecandfile. These calls use list-based arguments which mitigate shell injection risks. The script also includes a hashing function that reads files into memory, which could lead to resource exhaustion if used on extremely large recovered files. - [PRIVILEGE_ESCALATION]: The
SKILL.mdfile documents the use ofsudofor tool installation and raw disk access. These elevated permissions are standard requirements for forensic data recovery operations. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection via the processing of untrusted forensic images.
- Ingestion points: Filenames and file signatures are read from recovered files in
scripts/agent.pyand displayed in the report. - Boundary markers: None are present to delimit untrusted metadata from instructions.
- Capability inventory: The script can execute subprocesses and modify the file system.
- Sanitization: There is no sanitization of metadata recovered from the disk images.
Audit Metadata