NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Shorguard — post-quantum crypto guard

PLUGIN

Post-quantum crypto guard.

by Akanimoh12 · v0.1.0

What it does

Post-quantum crypto guard. Stops the agent from writing quantum-vulnerable public-key crypto (RSA, ECDSA, ECDH, EdDSA, X25519, DH, DSA) before it lands: pre_tool_call checks write_file, patch, terminal and execute_code and, in the default block mode, refuses calls that ADD classical crypto, returning the NIST replacement (ML-KEM / ML-DSA / SLH-DSA) with working cryptography>=48 code so the agent rewrites it (approve mode routes to Ulpi's approval gate instead; warn mode only annotates).

Tools shorguard_scan / shorguard_explain. 52 rules across Python, JS/TS, Go, JVM, Rust,.NET, shell/CI, TLS config, PEM keys and JWT algorithms, mapped to NIST IR 8547 (deprecated after 2030, disallowed after 2035).

Disclosure — reads the content of inspected tool calls, the file a write_file is about to overwrite (to flag only newly added crypto) and paths you ask it to scan; writes its own plugin state (counters and the last 50 events: time, action, tool, file name, rule ids — never code or arguments) and its own settings when changed via /shorguard; writes a report only with --output. No network, subprocesses, credentials, telemetry or background work.

Tools it adds

The tools an agent gets once this plugin is installed.

  • shorguard_scan
  • shorguard_explain

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →