GCP Agent Model Armor Shield

Configures Model Armor security policies (Prompt Injection, Jailbreak, RAI filters).

GoogleCloudPlatform fff62b0 2 files · 2.1 KB Updated

File contents

gcp-agent-model-armor-shield

This skill configures Model Armor as an intelligent firewall for your AI agents. Grounded in security_blog.md, it protects against prompt injection, jailbreaking, malicious URLs, and links to SDP templates for data privacy.

Usage

Ask Antigravity to:

  • "Configure Model Armor for my agent"
  • "Add prompt injection protection to my security policy"
  • "Set up RAI filters for hate speech and harassment"
  • "Link my SDP templates to Model Armor via Terraform"

Protection Layers

  1. Detection Filters: Prompt Injection, Jailbreak, and Malicious URI detection.
  2. RAI Settings: Configurable confidence levels for Hate Speech, Harassment, Sexually Explicit, and Dangerous Content.
  3. SDP Integration: Hooks for Advanced Sensitive Data Protection (linking to Inspect/De-identify templates).

Terraform Boilerplate

Refer to resources/model_armor.tf for the standard configuration.

googlecloudplatform/devrel-demos/tree/main/ai-ml/dev-signal/.agent/skills/gcp-agent-model-armor-shield commit fff62b07b9

Frequently asked questions

npx skillmds@latest add googlecloudplatform/gcp-agent-model-armor-shield