Back to skill

Security audit

ensp

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward eNSP topology file generator with no executable code, persistence, credential access, or hidden high-impact behavior.

Use this skill when you want an eNSP .topo file. Review the generated topology before opening it in eNSP, especially if you expected a generic diagram instead of a Huawei/eNSP simulation file.

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 (3)

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
95% confidence
Finding

The manifest description uses trigger language like "Always use when user asks to create, generate, or design a network topology diagram" that is broad enough to capture many ordinary diagramming or network-design requests, even when the user did not specifically ask for eNSP or Huawei simulation output. This can cause the skill to activate out of scope, redirecting benign requests into file-generation behavior and increasing the chance of inappropriate tool use or incorrect outputs.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The text label attribute table states charset | 1=UTF-8/ASCII, 134=GBK/Chinese, which introduces a locale-specific encoding recommendation in natural language. Because the document does not explain when Chinese-specific encoding is required or offer guidance on user choice, this may conflict with language/locale policy expectations.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.