Skip to content

feat: add User Prompt Attacks guardrail mapping#697

Merged
valentinabojan merged 1 commit intomainfrom
feat/guardrail-user-prompt-attacks
Mar 17, 2026
Merged

feat: add User Prompt Attacks guardrail mapping#697
valentinabojan merged 1 commit intomainfrom
feat/guardrail-user-prompt-attacks

Conversation

@valentinabojan
Copy link
Contributor

Summary

  • Add user_prompt_attacks validator to _VALIDATOR_ALLOWED_STAGES with PRE_EXECUTION stage
  • Bump version from 0.8.24 to 0.8.25

Test plan

  • Verify guardrail filtering correctly includes user_prompt_attacks in pre-execution stage
  • Verify guardrail is excluded from post-execution stage

🤖 Generated with Claude Code

Add the new User Prompt Attacks guardrail (backed by Azure Prompt Shields)
to the _VALIDATOR_ALLOWED_STAGES dictionary with PRE_EXECUTION stage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@valentinabojan valentinabojan merged commit 6a078d9 into main Mar 17, 2026
39 checks passed
@valentinabojan valentinabojan deleted the feat/guardrail-user-prompt-attacks branch March 17, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants