Skip to content

llmshieldr

Safety Guardrails for Large Language Model Workflows

v0.1.0 · May 28, 2026 · Apache License (>= 2)

Description

A model-agnostic safety layer for developers building with large language model (LLM) applications. Maps starter controls to the Open Worldwide Application Security Project Top 10 for Large Language Model Applications 2025 risk categories <https://genai.owasp.org/llm-top-10/> via a modular rule engine. Supports regular-expression rules, lightweight natural language processing (NLP) intent checks, optional scanners, and semantic large language model reviewer checks on prompts, conversations, retrieved context, tool inputs and outputs, streaming chunks, and model outputs. Supports workflows with the 'Ollama' local web service <https://ollama.com/> via 'ellmer', remote reviewer endpoints, and other chat interfaces callable from 'R'. Intended as an experimental guardrail layer that teams should evaluate against their own workflows before relying on it in production.

Downloads

CRAN

473

Last 30 days

8160th

512

Last 90 days

512

Last year

Trend: +999%+ (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 29, 2026

Dependency Network

Dependencies Reverse dependencies jsonlite cli rlang digest stringi llmshieldr

Version History

1 tracked
new 0.1.0 May 28, 2026