Back to skill

Security audit

Eternal Network Diag

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward user-invoked network diagnostic helper with no artifact-backed hidden behavior, persistence, credential access, or destructive actions.

Install only if you want a local diagnostic helper that can send network probes to hosts you name. Avoid running diagnostics against systems you do not own or have permission to test.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (2)

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/netdiag.py (reported line 24)May include surrounding context.

python
# Use system ping
    try:
        result = subprocess.run(
            ["ping", "-c", str(count), "-W", "2", host],
            capture_output=True, text=True, timeout=15
        )

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/netdiag.py (reported line 121)May include surrounding context.

python
print(f"🗺️  Traceroute to {host}...\n")

    try:
        result = subprocess.run(
            ["traceroute", "-m", "15", "-w", "2", host],
            capture_output=True, text=True, timeout=30
        )