cleanup-agent-team-node-processes

Pass

Audited by Gen Agent Trust Hub on Jul 22, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes the Stop-Process cmdlet via a PowerShell script to terminate orphaned Node.js processes. This functionality is intended for environment cleanup and is restricted by mandatory user-supplied patterns and flags.
  • [SAFE]: The script implements extensive safety checks, including the protection of the agent's own process hierarchy, the exclusion of processes with active TCP listeners (such as MCP or dev servers), and a minimum process age requirement.
  • [SAFE]: An 'Audit-First' design ensures that the tool defaults to a dry-run mode, generating a JSON ledger of candidate processes for review before any action is taken.
  • [SAFE]: The skill does not perform network operations, credential access, or remote code downloads, ensuring a localized and secure execution environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 22, 2026, 02:51 AM
Security Audit — agent-trust-hub — cleanup-agent-team-node-processes