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 Aug 17, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes external forensic tools via the subprocess module.\n
- Evidence: In
scripts/agent.py, the functionsrun_photorec,get_image_info, andverify_photorecinvokephotorecandfile. The implementation correctly uses a list of arguments, which prevents shell command injection.\n- [SAFE]: The use of administrative privileges is appropriate for the skill's domain.\n - Evidence:
SKILL.mdcontainssudocommands for package installation and raw disk access. This is standard and required for digital forensic operations involving hardware or system-level tools.
Audit Metadata