Skip to main content
Glama

ssh_enum_privesc

Enumerate privilege escalation vectors on a Linux host via SSH, checking for SUID binaries, sudo permissions, cron jobs, world-writable files, and kernel vulnerabilities.

Instructions

Enumerate privilege escalation vectors on a Linux host via SSH. Runs checks for: SUID binaries, capabilities, sudo permissions, cron jobs, world-writable files, kernel version, /etc/passwd readables, PATH/LD env vars. host: target IP or hostname username: SSH username password: SSH password key_file: SSH private key path port: SSH port (default 22) Returns: structured findings by category, OR a clear error if SSH failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
portNo
key_fileNo
passwordNo
usernameYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses the exact checks performed, the input parameters, and return behavior (structured findings or error on SSH failure). It doesn't mention side effects (e.g., whether it modifies remote state), but the enumeration context implies read-only operations. This is meaningful behavioral context beyond the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact yet complete. It front-loads the purpose, then details the checks, lists parameters, and states the return behavior. No unnecessary words or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the essential aspects: what it does, which checks it runs, all parameters, and return format. It lacks some context like prerequisites (e.g., valid SSH credentials, permissions) and timeouts, but given the moderate complexity and absence of an output schema, it is sufficiently complete for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has no descriptions (0% coverage), but the description explicitly explains each parameter: host, username, password, key_file, and port. This fully compensates for the schema gap, providing clear meaning for all five parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Enumerate') and resource ('privilege escalation vectors on a Linux host via SSH'). It lists concrete check categories, which distinguishes it from sibling tools like ssh_exec (which runs arbitrary commands) and nmap scans.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage is implied by the description: you need SSH credentials to a Linux host. However, it does not explicitly state when to use this tool versus alternatives (e.g., ssh_exec for command execution, or local enumeration) or provide exclusions. No sibling alternative is named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Neeraj829784/kali-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server