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, and pm2 delete.\n- [PRIVILEGE_ESCALATION]: The skill provides instructions for the pm2 startup command, which necessitates the use of sudo to 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 using pm2 save and pm2 startup, which are standard persistence mechanisms for this tool.\n- [INDIRECT_PROMPT_INJECTION]: The skill utilizes pm2 logs to ingest external application output into the agent context, which could contain malicious instructions.\n
  • Ingestion points: Application logs accessed via the pm2 logs command.\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
Risk Level
MEDIUM
Analyzed
Nov 15, 2026, 05:15 AM