Back to skill

Security audit

Teleport tsh SSH (Identity-First SSH Access, no passwords/static keys)

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for Teleport SSH access, but it automatically searches for and selects local identity files that may contain private keys before using them for remote access.

Review this before installing if your workspace may contain multiple Teleport identity files. Prefer configuring the exact identity path, and require confirmation before using any discovered fallback identity or running state-changing remote commands or file copies.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:25
Finding

Automatic Workspace-Wide Discovery and Use of Sensitive Identity Files

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown skill instructs the agent to SSH into hosts, run remote commands, and copy files, which can affect remote systems and data. While the commands are central to the skill's purpose, the description does not include any explicit warning or caution to users about executing commands on remote hosts or transferring files that may modify data or system state.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.