Skip to content

PromptGuard CLI v2.2.4

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:14
· 41 commits to main since this release

PromptGuard CLI v2.2.4

Added

  • Every release is announced in Slack #releases. The release workflow's
    new announce job posts the version and its GitHub Release once the
    release job has published it, through scripts/post-release.sh, a copy of
    the platform repo's script. It reads the SLACK_RELEASES_WEBHOOK_URL
    secret, and an unset secret or a Slack failure is a warning, never a failed
    release. The GitHub Release body was already this file's section.

Changed

  • The crate's author contact is now support@promptguard.co. hello@promptguard.co
    never existed, so mail to the address shown on crates.io bounced.
  • The crate's repository and the README's install commands point at
    github.com/promptguardhq/promptguard-cli, where the repository now lives.
  • Dependencies: serde_json 1.0.154, icu_normalizer 2.4.0, open 5.4.5 and
    aws-lc-rs 1.19.0 (#61).

Fixed

  • init and test no longer tell you to run promptguard logs, a command
    that does not exist. They now suggest promptguard verify, and a test fails
    if any message in the source names a subcommand the CLI does not have (#59).

Security

  • tokio 1.51.6 (RUSTSEC-2026-0386): 1.51.1's safe AsyncFd constructors
    let safe code violate I/O safety. The CLI never constructs an AsyncFd;
    the lockfile bump clears the advisory (#58).
    Drop-in LLM security for your applications - Built with Rust + Tree-sitter

Installation

One-line install (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/promptguardhq/promptguard-cli/main/install.sh | sh

Manual install:

  1. Download the binary for your platform below
  2. Make it executable: chmod +x promptguard-*
  3. Move to PATH: sudo mv promptguard-* /usr/local/bin/promptguard
  4. Verify: promptguard --version

Checksums

SHA256 checksums are provided for each binary (.sha256 files).

About PromptGuard CLI

  • ✅ Real AST transformations using Tree-sitter
  • ✅ TypeScript, JavaScript, Python support
  • ✅ OpenAI, Anthropic, Cohere, HuggingFace providers
  • ✅ Automatic backups with safe revert
  • ✅ Single 5.3MB static binary

Supported Platforms

  • macOS ARM64 (M1/M2/M3)
  • macOS x86_64 (Intel)
  • Linux x86_64
  • Windows x86_64

📖 Documentation: https://docs.promptguard.co/cli
🏠 Homepage: https://promptguard.co
🐛 Issues: https://github.com/promptguardhq/promptguard-cli/issues