queue-job-processor
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a workflow that accepts untrusted user input and processes it through various background workers without proper sanitization.
- Ingestion points: User data is ingested via API routes (e.g.,
app/api/users/route.ts) and passed into theemail,image-processing, andwebhookqueues. - Boundary markers: The implementation lacks delimiters or system instructions to ensure the agent ignores potentially malicious commands embedded in the
variables,payload, oroperationsdata fields. - Capability inventory: The workers possess capabilities to perform network requests (
fetch), write to cloud storage (AWS S3), and process images using local file paths. - Sanitization: No validation or escaping is applied to external content before it is used in email rendering or webhook delivery.
- [COMMAND_EXECUTION]: The
ImageWorkerallows for dynamic file path access during processing operations using user-supplied parameters. - Evidence: In
workers/image.worker.ts, thewatermarkoperation directly usesop.params.watermarkPathin theimage.compositecall. - Risk: If the
watermarkPathis derived from untrusted input, it could be exploited for unauthorized file access or directory traversal. - [DATA_EXFILTRATION]: The
WebhookWorkerimplementation facilitates network requests to arbitrary destinations. - Evidence:
workers/webhook.worker.tsusesfetch(url, ...)whereurlis supplied by the job data. - Risk: This creates a Server-Side Request Forgery (SSRF) surface that could be used to exfiltrate data or probe internal network resources.
- [EXTERNAL_DOWNLOADS]: Fetches the official software development kit from Amazon Web Services (AWS).
Audit Metadata