skills/autohandai/community-skills/analyzing-email-headers-for-phishing-investigation/Gen Agent Trust Hub
analyzing-email-headers-for-phishing-investigation
Warn
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The file
scripts/agent.pycontains adns_lookupfunction that executes thedigcommand usingsubprocess.run(shell=True). The function interpolates thedomainvariable directly into the shell command string without any validation or escaping. This creates a vulnerability to command injection if an attacker crafts an email header with a domain containing shell metacharacters (e.g., 'example.com; rm -rf /'). - [EXTERNAL_DOWNLOADS]: The skill documentation suggests installing several external Python packages from public registries to support its forensic capabilities, specifically
pypff,pyspf,python-Levenshtein, anddkimpy.
Audit Metadata