skills/mukul975/anthropic-cybersecurity-skills/acquiring-disk-image-with-dd-and-dcfldd/Gen Agent Trust Hub
acquiring-disk-image-with-dd-and-dcfldd
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript andSKILL.mdinstructions utilizesubprocess.runand shell commands to invoke system utilities for disk imaging, includingdd,dcfldd,lsblk,fdisk,blockdev,hdparm, andsmartctl. These operations are fundamental to the skill's forensic acquisition purpose. - [PRIVILEGE_ESCALATION]: Documentation correctly identifies that root or sudo privileges are mandatory for accessing block devices and enabling software write protection via
blockdev. The agent script performs checks and requires administrative access to execute its core forensic functions. - [INDIRECT_PROMPT_INJECTION]: The agent script ingests system metadata by parsing JSON output from
lsblkand interpolates device names into system command arguments. While the script usesshlex.splitand list-basedsubprocess.runcalls to mitigate injection risks, the ingestion of external system-provided data represents a standard attack surface for indirect instructions. - [EXTERNAL_DOWNLOADS]: The documentation includes instructions to install the
dcflddutility using the standard Linux package manager (apt-get). This is a reference to an official repository for a standard forensic tool.
Audit Metadata