upstash-workflow-js

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill allows the agent to execute arbitrary logic via context.run and perform persistent network requests through context.call to interact with external APIs.
  • [EXTERNAL_DOWNLOADS]: It facilitates the installation of official library packages from the npm registry (such as @upstash/workflow and @upstash/workflow-agents) and describes the automatic download of the QStash CLI binary for its local development server functionality.
  • [DYNAMIC_EXECUTION]: It demonstrates using the mathjs library to evaluate expressions and manages local subprocesses by spawning the QStash development server when the QSTASH_DEV environment variable is set.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external webhook callbacks and event notifications (context.waitForWebhook, context.waitForEvent) into the workflow context. If these inputs are subsequently passed to an LLM without proper sanitization, they could contain instructions intended to override agent behavior.
  • Ingestion points: context.requestPayload, context.waitForWebhook request body, and context.waitForEvent payload (documented in features/webhooks.md, features/wait-for-event.md).
  • Boundary markers: The documentation in features/webhooks.md explicitly warns users to treat incoming bodies as data and not to pass them directly to an LLM as instructions.
  • Capability inventory: The skill enables network operations (context.call), local code execution (context.run), and tool execution for agents (agents.md).
  • Sanitization: Explicit sanitization or schema enforcement for the content of external payloads is not provided in the basic examples and is left to the user implementation.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 10:17 PM