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.runand perform persistent network requests throughcontext.callto interact with external APIs. - [EXTERNAL_DOWNLOADS]: It facilitates the installation of official library packages from the npm registry (such as
@upstash/workflowand@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
mathjslibrary to evaluate expressions and manages local subprocesses by spawning the QStash development server when theQSTASH_DEVenvironment 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.waitForWebhookrequest body, andcontext.waitForEventpayload (documented infeatures/webhooks.md,features/wait-for-event.md). - Boundary markers: The documentation in
features/webhooks.mdexplicitly 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