background-agents
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto call thesopsbinary for decrypting secrets stored in local files. It also instructs the agent to use standard deployment tools likenpx trigger.devandwrangler. These calls are scoped to the project's operational needs and the Python implementation avoids shell injection by passing arguments as a list. - [INDIRECT_PROMPT_INJECTION]: The skill acts as an interface for delegating tasks to background agents. It takes user-provided data (from a
payload-file) and forwards it to remote execution backends. This creates a surface for indirect prompt injection where malicious instructions inside the payload could affect the behavior of the remote agent. The skill includes explicit documentation inevidence-review.mdadvising on the use of boundary markers and validation to mitigate this risk. - Ingestion points:
payload-fileprocessed byscripts/cloudflare_workflows.pyand theevent.payload.promptvariable in the Cloudflare Worker template (assets/cloudflare-worker/src/index.ts). - Boundary markers: The
references/evidence-review.mdfile advises labeling excerpts and treating source text as untrusted, though the provided worker template relies on the user to implement specific delimiters. - Capability inventory: The Cloudflare adapter (
scripts/cloudflare_workflows.py) can call the Cloudflare API and executesops. The worker template (assets/cloudflare-worker/src/pi-agent.ts) explicitly disables external research, filesystem, and shell tools. - Sanitization: The worker template performs basic validation of prompt length and type.
- [SAFE]: The implementation demonstrates high security awareness. The Cloudflare API client uses a custom handler to prevent credential leakage through HTTP redirects, and the profile management scripts include checks to prevent hardcoded secrets from being included in configuration files through blacklisted literal patterns.
Audit Metadata