RubyGems Navigation menu

prompt_guard 1.0.2

Security pipelines for LLM applications using ONNX models from Hugging Face Hub. Detect prompt injections, jailbreaks, and PII leaks. Models are lazily downloaded and cached locally. Fast local inference (~10-20ms after initial load).

Gemfile:
=

install:
=

Versions:

  1. 1.0.2 February 13, 2026 (32.5 KB)
  2. 1.0.1 February 13, 2026 (32 KB)
  3. 1.0.0 February 10, 2026 (28 KB)
  4. 0.1.0 February 04, 2026 (9.5 KB)

Runtime Dependencies (3):

logger >= 0
onnxruntime ~> 0.9
tokenizers ~> 0.5

Development Dependencies (3):

bundler ~> 2.0
minitest ~> 5.0
rake ~> 13.0

Owners:

Pushed by:

Authors:

  • Klara

SHA 256 checksum:

=

Total downloads 388

For this version 79

Version Released:

License:

MIT

Required Ruby Version: >= 3.0

Links: