pm2
Warn
Audited by Gen Agent Trust Hub on Nov 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill describes how to use PM2 to manage application lifecycles, involving the execution of various shell commands such as
pm2 start,pm2 stop, andpm2 delete.\n- [PRIVILEGE_ESCALATION]: The skill provides instructions for thepm2 startupcommand, which necessitates the use ofsudoto register the process manager with the system's init daemon (e.g., systemd or launchd).\n- [PERSISTENCE]: The skill includes methods to ensure applications remain running across system restarts usingpm2 saveandpm2 startup, which are standard persistence mechanisms for this tool.\n- [INDIRECT_PROMPT_INJECTION]: The skill utilizespm2 logsto ingest external application output into the agent context, which could contain malicious instructions.\n - Ingestion points: Application logs accessed via the
pm2 logscommand.\n - Boundary markers: None identified in the skill instructions.\n
- Capability inventory: Command execution, file system management, and privilege escalation via sudo.\n
- Sanitization: No sanitization or filtering of log data is present.
Audit Metadata