Back to skill

Security audit

Traceroute Tool

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small traceroute helper whose command execution and network probing are expected for its stated diagnostic purpose.

Install this only if you are comfortable letting the skill run the local traceroute command and send diagnostic packets to hosts you ask about. Treat hostnames as user-controlled input, and do not expect the documented options to work fully unless the wrapper is improved.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill exposes shell-backed functionality but does not declare any explicit tool restrictions such as allowed-tools or permissions. That creates ambiguity about what execution capabilities the agent may use when fulfilling the skill, increasing the chance of broader-than-intended command execution or misuse if the runtime grants default shell access.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/traceroute.py (reported line 5)May include surrounding context.

python
"""Traceroute Tool - Trace route."""
import subprocess, sys
host = sys.argv[1] if len(sys.argv) > 1 else 'localhost'
subprocess.run(['traceroute', host])

Static analysis

No suspicious patterns detected.