long-running-process
Warn
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill dynamically generates batch files (
.cmd) in the user's temporary directory (%TEMP%) to serve as launchers for background processes. These scripts are subsequently executed using theWin32_Process.CreateWMI method to ensure the processes are detached and not terminated by the agent's shell timeout. - [PRIVILEGE_ESCALATION]: The commands generated to initiate background tasks include the
-ExecutionPolicy Bypassflag. This is used to circumvent local system security policies that may otherwise restrict the execution of PowerShell scripts. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection by processing untrusted data from the local environment and network.
- Ingestion points: The script
wait-ready.ps1performs network requests to user-specifiedHealthUrlendpoints, andclassify-failure.ps1reads applicationstderrlogs from the file system. - Boundary markers: There are no explicit boundary markers or sanitization procedures for the data retrieved from HTTP responses or log files before they are presented to the agent or used for decision-making.
- Capability inventory: The skill has high-privilege capabilities, including process termination via
taskkill.exe, detached process creation via WMI, and arbitrary file system writes within the state directory. - Sanitization: While the skill uses
ProcessStartInfo.ArgumentListto mitigate direct shell injection when starting the target application, it remains susceptible to malicious instructions embedded in the external data it ingests.
Audit Metadata