kenseiAmit

Bedrock RAG Threat Modeling Guardrails — Security skill for Claude Code

Security community

Security engineering, STRIDE-ML threat modeling, ML-BOM provenance, IAM least-privilege scoping, AgentCore tool lockdown, CloudWatch alarming, and 36-run adversarial guardrail evaluation for an Amazon.

How to install Bedrock RAG Threat Modeling Guardrails

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kenseiAmit/bedrock-rag-threat-modeling-guardrails and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Bedrock RAG Threat Modeling Guardrails does

Security engineering, STRIDE-ML threat modeling, ML-BOM provenance, IAM least-privilege scoping, AgentCore tool lockdown, CloudWatch alarming, and 36-run adversarial guardrail evaluation for an Amazon Bedrock Knowledge Base & Claude 4.5 assistant.

Alternatives in Security

  • Secfoo — AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code 356 ★
  • Skill Threat Modeling — Code-First Deep Risk Analysis Skill for Claude Code - 8-Phase Workflow with Security design review, STRIDE Thr 207 ★
  • Amazon Skills — Free AI agent skills for Amazon sellers— keyword research, competitor analysis, listing audit & more 127 ★

README

AWS Bedrock RAG Security & Guardrails

AWS Bedrock Claude 4.5 Red Team IAM License

Live Execution Trace

![AWS Bedrock RAG Security — IAM, Guardrails & IR Architecture](docs/images/architecture_blueprint.png)

End-to-end AI security engineering, **STRIDE-ML threat modeling**, **ML-BOM supply-chain provenance**, **IAM least-privilege lockdown**, **AgentCore Gateway tool scoping**, **CloudWatch anomaly alarming**, and **36-run adversarial guardrail evaluation** for an enterprise Amazon Bedrock Knowledge Base (`Titan Embed Text v2`) + `Claude Sonnet 4.5` RAG assistant.

![Bedrock Guardrails Red-Team Matrix](docs/images/bedrock_guardrails_redteam_matrix.png)


1. Security Hardening Architecture

flowchart LR
    U["Streamlit Client"] --> H["AgentCore Harness
(Claude Sonnet 4.5)"] H --> G["Bedrock Guardrail v1+
(Prompt Attack, PII, Deny Topics)"] G --> IAM["Scoped IAM Execution Role
(Explicit Deny Model/Guardrail Bypass)"] IAM --> GW["AgentCore Gateway
(allowedTools=['vanguard-kb___Retrieve'])"] GW --> KB["Bedrock Knowledge Base
(30 Enterprise Docs · S3 + Vector Store)"] G --> CW["CloudWatch Logs Insights + Metric Alarm
(Vanguar