Back to skill

Security audit

eNSP

Security checks for vulnerabilities and agentic risk

Overview

This skill appears to be a straightforward eNSP topology file generator that creates requested .topo files without hidden execution, persistence, credential access, or data exfiltration.

Install this if you want an agent to generate Huawei eNSP .topo files. Expect it to create files in the working directory, so review the filename and avoid overwriting existing work; use a different diagramming workflow for generic network diagrams outside eNSP.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/topo-reference.md (reported line 9)May include surrounding context.

md
<?xml version="1.0" encoding="UNICODE" ?>
<topo version="1.3.00.100">
    <devices>
        <!-- Device definitions -->
    </devices>
    <lines>
        <!-- Connection lines -->

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The README says the skill generates topology files using 'natural language,' but it does not define specific trigger phrases, scope limits, or exclusion conditions. This broad invocation description could overlap with ordinary requests about networks and makes it unclear when the skill should activate versus when it should not.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation text uses broad phrases such as 'create, generate, or design a network topology diagram' and 'always use,' which can cause the skill to trigger on common diagramming or networking requests outside the narrow eNSP/Huawei context. Over-broad activation can route unrelated user requests into a file-writing skill, increasing the chance of unintended local file creation or incorrect task handling.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly instructs the agent to write a .topo file to the current directory without prior user confirmation or a safety notice. In an agent environment with filesystem access, this creates an unnecessary side effect and could overwrite files, clutter the workspace, or surprise users who only wanted a design draft rather than local file modification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file uses Chinese throughout, including the title, descriptions, and usage instructions, but does not indicate that the skill is Chinese-only or offer users an alternative language. Under the policy criteria, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The text states charset | 1=UTF-8/ASCII, 134=GBK/Chinese, which introduces a language/locale-specific encoding recommendation in the skill reference. Because the document does not explain when Chinese encoding is appropriate or present it as an explicit user choice, it may create an unnecessary locale bias.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.