github tufantunc/ssh-mcp v2.22.2

latest release: v2.23.0
3 days ago

Patch Changes

  • c8040ff Thanks @tufantunc! - Mask short, low-entropy credentials in plaintext configuration assignments (name=value, UCI option name 'value') during output redaction when the field name indicates a secret.

Security

  • Fixed GHSA-95pj-qcm9-m3m9: every redaction layer keyed off the value's shape — known token patterns, the entropy scan, configured literal secrets — so a short, low-entropy credential under a sensitive field name (webhook_token=abc123, password="demo123", OpenWrt option wifi_psk 'sample123') passed redactText() unchanged into file reads, command output, session output and audit logs. Plaintext assignments whose field name indicates a secret — the last _/- segment is password, passwd, pass, passphrase, secret, token or psk, or the name is a known key compound (key, private_key, api-key, …), covering UCI option/list lines and the dotted tails of uci show — are now masked, while password_min, PasswordAuthentication, persist_key and smtp_sasl_password_maps stay untouched. Reported by @jbdaddy04. Affected: <= 2.22.1.

Don't miss a new ssh-mcp release

NewReleases is sending notifications on new releases.