Back to skill

Security audit

NEXUS Sql Builder

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed paid remote SQL-generation skill; it sends prompts and payment proof data to NEXUS, but that behavior matches its stated purpose.

Install only if you trust NEXUS with the SQL requirements you provide. Do not include production credentials, raw customer data, or confidential schema details unless your organization permits sending them to this external service, and use sandbox or spending controls where possible.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.md (reported line 16)May include surrounding context.

Or manually copy the SKILL.md to your OpenClaw skills directory:

bash
cp SKILL.md ~/.openclaw/skills/nexus-sql-builder/SKILL.md

Usage

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The README states the skill is 'automatically invoked' when a matching task is detected, but it does not define trigger boundaries, user-consent requirements, or what data may be sent during invocation. In a skill that calls a remote paid service, ambiguous auto-invocation increases the risk of unintended external data disclosure and unapproved transactions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The README describes sending query input to a third-party HTTPS endpoint but does not clearly warn users that their prompts or database-related requirements leave the local environment. For a SQL-building skill, inputs may contain sensitive schema details, business logic, or confidential data requirements, making silent remote transmission a meaningful privacy and security risk.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

The skill explicitly posts user-provided input to an external service endpoint, which is an external transmission event and therefore a real security concern in agent environments. Although remote API use is part of the advertised functionality, the danger is heightened because the skill processes natural-language requirements that may contain sensitive internal data and may be auto-invoked.

Content

Scanner excerpt · README.md (reported line 29)May include surrounding context.

bash
# Step 1: Get the x402/MPP challenge
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/sql-builder \
  -H "Content-Type: application/json" \
  -d '{"input": "your query here"}'
# Returns 402 + WWW-Authenticate: Payment header

External Transmission

Medium
Category
Data Exfiltration
Confidence
96% confidence
Finding

The skill explicitly instructs the agent to transmit user-provided input and a payment proof environment variable to an external third-party endpoint. Even though this is the stated purpose of the skill, it still creates a real data-exfiltration and secret-disclosure risk because sensitive prompts, schema details, or billing credentials may be sent off-platform to a remote service outside the local trust boundary.

Content

Scanner excerpt · SKILL.md (reported line 85)May include surrounding context.

API Call

bash
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/sql-builder \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: $NEXUS_PAYMENT_PROOF" \
  -d '{

Static analysis

No suspicious patterns detected.