T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:405- Finding
Disruptive Interface Reset Guidance Conflicts with the Declared Read-Only Safety Tier
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:405-406
Related Safety Declarations:SKILL.md:12,SKILL.md:40
Vulnerability Type: Safety-boundary violation through state-changing network commands
Risk Level: MediumVulnerable Code Snippet
markdown metadata: safety: read-onlymarkdown - SSH or console access to the device (read-only privilege sufficient)markdown UDLD, link-flap detection). Recover with `shutdown` / `no shutdown` after fixing the root cause.Technical Analysis
The Skill declares itself read-only and states that read-only device privileges are sufficient. However, it instructs an operator or Agent to execute
shutdownandno shutdown, which are configuration commands that administratively disable and re-enable a network interface.These commands exceed the declared diagnostic scope and require configuration privileges. Administratively resetting an interface is operationally disruptive: it tears down the physical or logical link and can interrupt traffic, routing adjacencies, link aggregation, or downstream connectivity. Presenting this action inside a read-only Skill creates a misleading trust boundary in which an Agent may treat a disruptive remediation step as safe diagnostic behavior.
The commands do not independently obtain elevated privileges; exploitation requires an existing authenticated session with sufficient network-device authorization. The security issue is that the Skill encourages use of privileges beyond its advertised least-privilege requirements.
Attack Path
- An operator loads the Skill based on its
read-onlysafety classification. - The Agent connects to a network device through SSH or console access.
- An interface is diagnosed as error-disabled or down after a cable or transceiver replacement.
- The Agent follows the remediation guidance and enters interface configuration mode.
- The Agent execu ...[truncated 917 chars]
- An operator loads the Skill based on its
- Remediation
View remediation
Remediation Suggestions
- Remove
shutdownandno shutdownfrom the read-only diagnostic workflow. - If remediation guidance must remain, place it in a clearly separated section labeled as privileged and disruptive.
- Require explicit, informed user confirmation immediately before any interface state change.
- Display the target device, interface name, interface description, current state, and expected blast radius before execution.
- Require configuration-mode authorization separately from read-only diagnostic access.
- Add safeguards that reject ambiguous, wildcard, uplink, trunk, management, port-channel, or out-of-band interfaces unless specifically approved.
- Provide a rollback and connectivity-validation procedure.
- Update the safety metadata and prerequisites if the Skill is intended to perform active remediation rather than remain read-only.
- Remove
