Back to skill

Security audit

ensp

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed eNSP topology-file generator and its file creation behavior fits that purpose.

Installers should expect this skill to create `.topo` files in the current workspace for eNSP use. Review filenames before generation if overwriting existing topology files would matter.

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

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 activation rule says to always use this skill when the user asks to create, generate, or design a network topology diagram, which is broader than the specific eNSP/Huawei simulator scope. That can cause the agent to invoke this skill for generic network-design requests and produce simulator-specific files or behaviors the user did not ask for, leading to inappropriate tool use and unintended file generation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill instructs writing a generated topology file to the current directory as a default action, without requiring user confirmation or clarifying that it will modify the local filesystem. In an agent environment, implicit file creation can surprise users, overwrite existing files, or be abused through crafted filenames/paths if downstream handling is not constrained.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

Line L538 states charset | 1=UTF-8/ASCII, 134=GBK/Chinese, which embeds a locale-specific language encoding recommendation in the natural-language documentation. Because the document does not offer user opt-in or explain that the skill is region-specific, this can be read as a language/locale policy constraint.

Content

No source excerpt is available for this finding.