n8n-api

ISSUES FOUND max severity HIGHSkillSpector Caution 9 registry clawhub.ai last scanned 1 scan

2 findings (1 high, 1 medium), mainly data exfiltration, command injection. Most recent scan 2026-02-01.

The n8n-api skill provides legitimate functionality for interacting with n8n's REST API but has several security concerns primarily related to credential management and input validation. The most significant issue is the recommendation to store API keys in plaintext environment variables or unencrypted files without secure storage guidance (HIGH severity). The skill also lacks input validation guidance for webhook paths, creating potential command injection risks (MEDIUM severity), and provides unrestricted API access without least-privilege recommendations (MEDIUM severity). Minor issues include missing metadata fields and lack of rate limiting guidance (LOW severity). The skill does not contain malicious code or intentional backdoors, but the credential handling practices could lead to API key exposure. Overall, this skill requires security hardening around credential management and input validation before production use.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

Independent static run, no language model, over the same files as the Cisco scan above. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Operate n8n via its public REST API from OpenClaw. Use for workflow management, executions, and automation tasks such as listing, creating, publishing, triggering, or troubleshooting. Works with both self-hosted n8n and n8n Cloud.

Package
2 files, 9.1 KB
SKILL.md
474 words, 12+ sections
Code
None. Instructions only.

SKILL.md covers: n8n Public REST API · Availability · Configuration · Auth header · Playground · Quick actions · Workflows: list · Workflows: details · Workflows: activate or deactivate · Activate (publish) · Deactivate · Webhook trigger

Findings

HIGH Hardcoded API credentials in environment variables without secure storage guidance Data Exfiltrationllm

The skill instructs users to store sensitive n8n API keys in environment variables or a plaintext configuration file (.n8n-api-config) without any guidance on secure credential management. API keys provide full access to n8n workflows, executions, and potentially sensitive automation data. Storing these in plaintext environment variables or unencrypted files exposes them to credential theft through process enumeration, file system access, or accidental commits to version control.

SKILL.md

```bash
export N8N_API_BASE_URL="https://your-instance.app.n8n.cloud/api/v1"
export N8N_API_KEY="your-api-key-here"
```
Recommended storage in `.n8n-api-config` file without encryption guidance.
Remediation: 1. Recommend using secure credential storage mechanisms (OS keychain, encrypted credential managers) 2. Add warnings about not committing .n8n-api-config to version control 3. Suggest using temporary session-based credentials where possible 4. Provide guidance on file permissions (chmod 600) for credential files 5. Consider integrating with secure secret management tools
MEDIUM Command injection risk in webhook path construction Command Injectionllm

The webhook trigger examples construct URLs using path parameters without validation or sanitization guidance. If the {webhook-path} variable is derived from user input or untrusted sources, it could lead to command injection when used in curl commands via shell interpolation. The skill shows direct variable substitution in bash commands without input validation.

SKILL.md

```bash
curl -s -X POST "$N8N_API_BASE_URL/../webhook/{webhook-path}" \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'
```
No validation of {webhook-path} parameter before shell execution.
Remediation: 1. Add input validation examples for webhook paths (alphanumeric, hyphens only) 2. Recommend using curl's --data-urlencode for user-provided values 3. Show proper shell quoting techniques to prevent injection 4. Warn against using unsanitized user input in URL construction 5. Provide safe parameter substitution examples

What is in the package

FileKindSize
SKILL.mddoc3.7 KB
assets/n8n-api-endpoints.mddoc5.4 KB

External hosts referenced

your-instance.app.n8n.cloud

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Environment variables referenced

N8N_API_BASE_URL N8N_API_KEY

Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources