evo-erlang-ssh-cve-patch

evo-erlang-ssh-cve-patch is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 60 tokens per session (732 once invoked), scanned B, original, Apache-2.0.

A security patch for Erlang/OTP SSH servers affected by CVE-2025-32433, a flaw that can allow commands before login is complete. It adds a check that rejects unauthenticated connection messages.

In plain words
What is it for?
Use it to patch the affected Erlang/OTP SSH source for the specified vulnerability and authentication-state check.
Why use it?
It closes a pre-login remote-code-execution path in vulnerable SSH server source code. This prevents channel requests from being handled before authentication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to patch the affected Erlang/OTP SSH source for the specified vulnerability and authentication-state check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-erlang-ssh-cve-patch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/OpenSkill --skill evo-erlang-ssh-cve-patch
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-erlang-ssh-cve-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-erlang-ssh-cve-patch/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-erlang-ssh-cve-patch)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-erlang-ssh-cve-patch"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-erlang-ssh-cve-patch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-erlang-ssh-cve-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-erlang-ssh-cve-patch"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-erlang-ssh-cve-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00732
Opus 5 $0.00030 $0.00366
Sonnet 5 $0.00012 $0.00146
Haiku 4.5 $0.00006 $0.00073

Measured yesterday against content hash 1a36d4800771, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

evo-erlang-ssh-cve-patch scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/patch_ssh_connection.py, scripts/run_patch.py, scripts/utils.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

CVE-2025-32433 is a critical (CVSS 10.0) pre-authentication Remote Code Execution vulnerability in Erlang/OTP SSH server. The server fails to validate authentication state before processing SSH connection protocol messag
tasks-evolved/fix-erlang-ssh-cve/environment/skills/evo-erlang-ssh-cve-patch/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

evo-erlang-ssh-cve-patch

Overview

CVE-2025-32433 is a critical (CVSS 10.0) pre-authentication Remote Code Execution vulnerability in Erlang/OTP SSH server. The server fails to validate authentication state before processing SSH connection protocol messages (message IDs >= 80), allowing attackers to execute arbitrary commands without credentials.

Vulnerability Details

  • Root Cause: ssh_connection.erl's handle_msg/4 function processes channel messages (SSH_MSG_CHANNEL_OPEN, SSH_MSG_CHANNEL_REQUEST) without checking if #ssh{authenticated} is true
  • Attack Vector: After completing key exchange, attacker sends SSH_MSG_CHANNEL_OPEN (ID 90) + SSH_MSG_CHANNEL_REQUEST (ID 98) with exec type, bypassing authentication entirely
  • Affected Versions: All Erlang/OTP versions before 27.3.3, 26.2.5.11, 25.3.2.20

The Fix

Add a pattern-matching clause in ssh_connection.erl that catches ANY message when authenticated = false on the server side, returning a disconnect error. This clause must be placed BEFORE any channel message handlers but is naturally placed after any disconnect handler.

Exact Erlang Code to Insert

handle_msg(_Msg, Connection, server, #ssh{authenticated = false}) ->
    %% RFC 4252 Section 6:
    %% Message numbers of 80 and higher are reserved for protocols running
    %% after this authentication protocol, so receiving one of them before
    %% authentication is complete is an error, to which the server MUST
    %% respond by disconnecting.
    {disconnect, {?SSH_DISCONNECT_PROTOCOL_ERROR,
                  "Unauthenticated connection protocol message"}, Connection};

Insertion Point

Insert this clause right before the first handle_msg(#ssh_msg_channel_open_confirmation{... clause, which is the first channel message handler in the function.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-erlang-ssh-cve-patch/scripts')
from utils import find_ssh_connection_erl, check_if_already_patched, apply_cve_2025_32433_patch, validate_patch_applied

# Find the file
file_path = find_ssh_connection_erl('/app/workspace/otp_src_27.3.2')

# Check if already patched
if not check_if_already_patched(file_path):
    apply_cve_2025_32433_patch(file_path)

# Validate
assert validate_patch_applied(file_path), "Patch validation failed!"

Read the full file on GitHub · 58 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 58 lines · 60 tokens per session scan B 1a36d4800771

Subscribe to this mod's changes

evo-erlang-ssh-cve-patch is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 732 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.