Fix erlang ssh cve

From XuShuwenn/RedAct · View interactive version

Fix erlang ssh cve is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Investigate and fix Erlang/OTP SSH server vulnerability allowing arbitrary command execution via crafted SSH protocol messages.

How to use this skill

Skill file

Erlang/OTP SSH Server CVE Fix

When to Use

Input

Vulnerability

Crafted SSH protocol messages allow:

Fix Requirements

  1. Investigate which SSH message causes the attack
  2. Fix the bug in source code
  3. Server should maintain normal SSH behavior
  4. Block unauthorized message types
  1. Produce an actual source-code patch in the provided Erlang files; do not stop at analysis or a written report
  2. Verify the full exploit path from unauthenticated input to command execution before patching
  3. Keep the fix as narrow as the demonstrated vulnerable message/state combination while preserving normal authenticated SSH behavior
  4. Inspect edited Erlang control flow for syntax, clause ordering, fallback behavior, and return-shape consistency before finishing

Approach

Tips

Final Check

Final Check

Final Check

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.