pt-workflow
Warn
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPERSISTENCEPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is designed to operate autonomously by executing a series of local scripts (
scripts/campaign.py,scripts/vm-bg.sh,scripts/vm-scan.sh) that provide instructions for the agent to follow literally. It also modifies the environment PATH to include a local virtual environment for reporting functions.\n- [PRIVILEGE_ESCALATION]: The workflow explicitly includes steps for landing reverse shells, performing lateral movement, and executing Active Directory attacks (e.g., Zerologon, DCSync) using specialized tools. It also instructs the agent to read sensitive system configuration files like/etc/sudoers.d/*and/etc/pam.d/*to find privilege escalation vectors.\n- [PROMPT_INJECTION]: The skill contains instructions that explicitly direct the agent to operate without human oversight, stating "No approvals" and "the loop never blocks," which effectively bypasses human-in-the-loop safety protocols and instructs the agent to follow script output without verification.\n- [INDIRECT_PROMPT_INJECTION]: The skill has a high vulnerability surface as it ingests untrusted data from network scanning tools, Active Directory reconnaissance, and client-provided scope documents. This data is processed by the model to drive the autonomous loop without mentioned sanitization or boundary markers.\n - Ingestion points:
scope.md,state.md,scripts/campaign.pyoutput, and raw output from reconnaissance tools (nmap, LDAP, nxc).\n - Boundary markers: None identified in the instructions to distinguish between internal commands and untrusted external data.\n
- Capability inventory: Full command execution via subprocesses, filesystem read/write access, and network exploitation capabilities.\n
- Sanitization: No evidence of sanitization or validation of tool outputs before they influence the agent's strategy.\n- [DYNAMIC_EXECUTION]: The core logic depends on the agent executing "the exact next action" printed by the
campaign.pyscript at runtime, effectively allowing the script to dynamically control the agent's behavior.\n- [PERSISTENCE]: The skill manages persistent sessions and footholds on compromised hosts, using tools liketmuxand persistent reverse shells to maintain access across the engagement.
Audit Metadata