Skip to content

llmshieldr

0.1.0

Safety Guardrails for Large Language Model Workflows

0packages depend
896downloads / year
75.6%test coverage
13/13checks pass

Overview

About
Maintained by Indraneel ChakrabortyFirst published 2026-05-281 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.13
75.6%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-29
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 926 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
85%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

896
CRAN downloads in the past year
Rank #10,810 · ~2/day · ~75/mo
Daily download trend is not available in this view yet.
18730 days
89690 days
8961 year
Compare downloads with other packages →
Also on16 r2u2 autocran

Repository

Repository
2Stars
1Forks
1Open issues
0Open PRs
0Releases
45Commits
1Contributors
ai-safetyai-toolsellmergenerative-aiguardrailsllm-securityllmopsollama
License Apache-2.0 · 45 commits · Last activity 2026-05-28 · 0% stars, 30d

Stars over time

2026-05-19 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/ineelhere/llmshieldr on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
renv
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-05-28 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-28
Total releases
1 / 1 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1.0
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("llmshieldr")
Chakraborty, I. (2026). llmshieldr: Safety Guardrails for Large Language Model Workflows (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.llmshieldr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for llmshieldr version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy