node-red
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the creation of Node-RED flows designed to ingest data from untrusted external sources, such as MQTT brokers and HTTP REST endpoints. These patterns introduce a surface for indirect injection attacks if processed data is not strictly validated before being used in downstream logic or storage operations.
- Ingestion points:
http innodes inassets/templates/http_api_flow.jsonandmqtt innodes inassets/templates/mqtt_flow.json. - Boundary markers:
SKILL.mdincludes a validation checklist that advises verifying JSON syntax and wire connections, though it does not explicitly mandate sanitization of incoming message payloads. - Capability inventory: The Node-RED environment supports
functionnodes for JavaScript execution (documented inreferences/function_snippets.md) andexecnodes for system command execution (documented inreferences/node_schemas.md). - Sanitization: The provided templates include basic authentication checks and status code responses, but comprehensive input sanitization remains the responsibility of the developer.
- [DYNAMIC_EXECUTION]: A core component of the skill is providing templates and boilerplate code for Node-RED
functionnodes (assets/boilerplate/function_async.js). These nodes execute arbitrary JavaScript code within the Node-RED runtime. While this is the intended purpose of the skill, it represents a dynamic execution vector that requires careful oversight to prevent the execution of malicious logic embedded in flow configurations. - [CREDENTIALS_UNSAFE]: The skill's documentation and templates include hardcoded placeholder credentials. Specifically,
references/api_reference.mdcontains acurlexample withadmin:password, andassets/templates/http_api_flow.jsonincludes a demo API keydemo-api-key-123in its authentication logic. These should be treated as placeholders and replaced by users with secure, environment-specific secrets.
Audit Metadata