T08 · Insecure Dependencies
- Location
README.md:27- Finding
Unpinned External Workflow Receives Privileged n8n API Credentials
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 27-44
Vulnerability Type: Unreviewed and unpinned external dependency
Risk Level: HighVulnerable Documentation Snippet:
markdown Import the monitoring workflow template into your n8n instance: **Template:** https://n8n.supply-science.com/workflows/DevOps/AI_Agent_for_Debugging_Workflow_Executions This workflow exposes a single POST webhook with three routes: | Action | What it returns | |--------|----------------| | `get_active_workflows` | List of all active workflows (id, name, timestamps) | | `get_workflow_executions` | Recent executions with computed KPIs (failure rate, timing, per-workflow metrics) | | `get_execution_details` | Detailed error data for a specific workflow (error messages, failed nodes) | After importing: 1. Open the workflow in your n8n editor 2. Replace the n8n API URL with your own instance URL in the HTTP Request nodes 3. Configure the n8n API credentials 4. Activate the workflow 5. Copy the webhook URL (production URL, not test)Technical Analysis
The package does not include the n8n workflow JSON implementing its core functionality. Instead, users are directed to import a workflow from a third-party website and grant it n8n API credentials. The external artifact is not pinned to a version or content hash, signed, or otherwise made reproducible.
Consequently, the effective workflow reviewed and activated by a user can differ from the content available when this skill was audited. If the hosting account, website, or distributed template is compromised, workflow nodes could be changed to misuse the configured API credentials, transmit n8n data to an attacker-controlled service, or invoke additional operations supported by the credential's permissions.
This is a supply-chain weakness rather than evidence that the currently referenced workflow is malicious.
Attack Path
- An attacker compr ...[truncated 1014 chars]
- Remediation
View remediation
Remediation Suggestions
- Bundle the complete reviewed n8n workflow JSON in the project repository.
- Pin the workflow to an immutable release and publish a SHA-256 checksum.
- Digitally sign releases and document how users can verify signatures before import.
- Document every workflow node, external destination, and required API operation.
- Instruct users to inspect the imported workflow before assigning credentials or activating it.
- Use a dedicated n8n service account with read-only, least-privilege access limited to the monitoring endpoints.
- Avoid granting workflow-management, credential-management, administrative, or unrelated data-access permissions.
- Treat template updates as security-sensitive releases and repeat code review and integrity verification for every version.
