drupal / varbase_ai_safety
Bundles the complete AI safety stack for Varbase: Prompt Safety Liability set, Prompt Safety Security set, PII Protection set, Image Safety, AI Logging with 90-day retention, and AI Observability.
Package info
git.drupalcode.org/project/varbase_ai_safety.git
Type:drupal-recipe
pkg:composer/drupal/varbase_ai_safety
Requires
- drupal/ai: ~1
- drupal/ai_recipe_guardrails_pii: ~1
- drupal/ai_recipe_guardrails_prompt_safety: ~1
- drupal/ai_validations: ~1.4
- drupal/core: ~11.4.0
- drupal/field_validation: ~3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-08 15:36:36 UTC
README
Varbase AI Safety
A recipe to bundle a complete AI safety stack for Varbase — guardrails, logging, and observability.
Documentation
Read the Varbase AI Safety documentation on the Varbase docs site.
Installation
Add the recipe using composer:
composer require drupal/varbase_ai_safety:~1
Change directory to /web or /docroot
Run the Drupal recipe bash script:
bash core/scripts/drupal recipe recipes/contrib/varbase_ai_safety
or
Run the Drush recipe command:
drush recipe recipes/contrib/varbase_ai_safety
Requirement: a default model for Chat with Image Vision (/admin/config/ai/settings). The recipe stops before it changes anything when none is set: without one, every image upload would be refused.
Automated testing
GitLab CI on git.drupalcode.org (.gitlab-ci.yml) builds
a Varbase 11 site, applies this recipe twice and runs the Varbase functional testing suite in tests/ on it. See
tests/README.md to run it against a site of your own.
