analyzing-memory-dumps-with-volatility

Warn

Audited by Gen Agent Trust Hub on Jul 16, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/agent.py is vulnerable to shell command injection. The run_vol3 function uses subprocess.run(cmd, shell=True) where the cmd is constructed using f-strings that incorporate variables like memory_dump and extra_args directly from input. Without strict validation, an attacker could supply a malicious filename or argument (e.g., ; rm -rf /) to execute arbitrary commands on the host system. This risk is further present in the scan_with_yara and detect_code_injection functions which pass unvalidated string arguments to the shell execution helper.
  • [CREDENTIALS_UNSAFE]: The skill provides automated capabilities for harvesting sensitive system secrets. The dump_credentials function in scripts/agent.py and the instructions in SKILL.md (Step 5) specifically guide the agent to use Volatility plugins (windows.hashdump, windows.cachedump, and windows.lsadump) to extract Windows SAM hashes, domain cached credentials, and LSA secrets. While this is a standard forensic procedure, it constitutes a high-risk capability for an AI agent that could lead to unauthorized credential exposure.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 16, 2026, 04:55 PM
Security Audit — agent-trust-hub — analyzing-memory-dumps-with-volatility