Back to skill

Security audit

WebSocket

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only WebSocket guidance skill with no executable code or hidden privileged behavior.

This skill appears safe to install as documentation. Users should still treat its WebSocket authentication and retry advice as implementation guidance and choose limits, rate controls, and credential handling appropriate for their own application.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (1)

Unbounded Resource Access

Medium
Category
Excessive Agency
Content
- Exponential backoff: 1s, 2s, 4s, 8s... cap at 30s—prevents thundering herd on server recovery
- Add jitter: `delay * (0.5 + Math.random())`—prevents synchronized reconnection storms
- Track reconnection state—queue messages during reconnect, replay after
- Max retry limit then surface error to user—don't retry forever silently

## Heartbeats (Critical)
Confidence
75% confidence
Finding
Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.

Static analysis

No suspicious patterns detected.