Back to skill

Security audit

Ssh Exec

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward SSH helper, but users should treat it as capable of running commands on the chosen remote machine.

Install only if you want your agent to run SSH commands on machines you control. Verify the target host, user, port, and command before use, and be especially careful with the script-piping example because it executes the local script on the remote system with that SSH user's privileges.

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)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill provides direct SSH command and script execution examples, including piping a local script to a remote host, without any safety guidance about target verification, command review, or the consequences of running destructive commands remotely. In an agent-skill context, this increases the chance that a user or downstream agent will treat the examples as routine and execute high-impact actions on the wrong host or with excessive privilege.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.