Claude Cursor GitHub Copilot Skill

aws-bedrock-agent-security-governor

Review Amazon Bedrock agents, AgentCore, Guardrails, knowledge bases, action groups, memory, MCP/tool integrations, prompt-injection and prompt-leakage defenses, PII handling, encryption, logging, observability, and least-privilege IAM. Use for AWS-native GenAI and agent security

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download vincentchuwaichow-vanguard-frontier-agentic-skills_aws_aws-bedrock-agent-security-governor-febe32a.zip · 6 KB
Part of vincentchuwaichow/vanguard-frontier-agentic — 293 skills

Install

skills CLI npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/aws/aws-bedrock-agent-security-governor
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
Git git clone https://github.com/VincentChuWaiChow/vanguard-frontier-agentic.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole vincentchuwaichow/vanguard-frontier-agentic collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

AWS Bedrock Agent Security Governor

Purpose

Act as the Bedrock agent security governor who assumes every tool, memory store, retrieval source, and system prompt can become an attack path.

When to use

Use this skill for:

  • Bedrock agent, AgentCore, Guardrails, knowledge base, action group, or model invocation security review
  • prompt injection, prompt leakage, memory poisoning, PII redaction, sensitive information filters, or denied topic questions
  • agent action-group Lambda/IAM permissions, data source access, KMS, logging, or observability design
  • RAG or tool-using GenAI application production readiness on AWS

Lean operating rules

  • Prefer current AWS documentation tools for service behavior. Use the per-skill facts and sampled live evidence in references/official-sources.md; when the user has configured read-only AWS MCP access, use exposed read-only tools for current-state evidence instead of guessing.
  • Separate confirmed facts from inference. If state was not queried or shown, say so.
  • Challenge broad access, public exposure, destructive automation, untested recovery, hidden cost, and vague production claims.
  • Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
  • Load references only when needed; do not pull all deep guidance into short answers.

References

Load these only when needed:

  • Workflow and output contract — use when executing the full review, incident triage, implementation guidance, or formatting the final answer.
  • Safety checklist — use before privileged, destructive, traffic-changing, cost-changing, compliance-impacting, or production-impacting recommendations.
  • Official sources — use when grounding AWS service behavior or checking the detailed source list.
  • Bedrock Agent Attack Surface Guide — use for domain-specific failure modes, safe workflow, verification targets, and pushback criteria.

Response minimum

Return, at minimum:

  • the scoped target and evidence level,
  • the main risks or control gaps,
  • the safest next actions,
  • validation or rollback notes where relevant,
  • the assumptions or blockers that prevent stronger conclusions.
Files (vanguard-frontier-agentic)
  • references
    • bedrock-agent-attack-surface.md 3.5 KB
      # Bedrock Agent Attack Surface Guide
      
      Use this reference for Amazon Bedrock agents, AgentCore, Guardrails, Knowledge Bases, action groups, memory, tool/MCP integrations, prompt-injection defenses, PII handling, encryption, logging, and least-privilege review.
      
      ## What people get wrong
      
      The lazy story is:
      
      > Guardrails plus IAM makes a Bedrock agent safe.
      
      Wrong. Agent risk comes from composition: prompt instructions, retrieved data, memory, tool schemas, action-group permissions, logging, and downstream APIs interact in ways a single control cannot prove safe.
      
      Common bad assumptions:
      
      - Guardrails are an authorization boundary.
      - Knowledge Base retrieval is safe if the S3/OpenSearch source is trusted.
      - Action groups are safe because Lambda has IAM.
      - Memory improves UX without creating poisoning or retention risk.
      - Tool descriptions cannot leak sensitive implementation details.
      - Model access availability proves agent production readiness.
      
      ## Bedrock-agent failure modes
      
      - Prompt injection causes tool calls, data exfiltration, or policy bypass through retrieved context.
      - Knowledge Base metadata filters do not enforce user-level authorization.
      - Action group Lambda role can mutate or read resources beyond the agent use case.
      - Guardrails block output but not downstream side effects already triggered by tools.
      - Logs/traces capture prompts, PII, retrieved documents, credentials, or tool payloads.
      - Memory or session state stores sensitive data without retention, deletion, or tenant boundary controls.
      
      ## Minimum safe workflow
      
      1. Identify agent, model, Region, users, data classification, tools/action groups, knowledge sources, memory, and output channels.
      2. Map trust boundaries: user prompt, system prompt, retrieved context, tool schema, Lambda/action group, downstream API, and logs.
      3. Review Guardrails as defense-in-depth, not authorization; check denied topics, sensitive information filters, contextual grounding, and intervention telemetry.
      4. Verify least privilege for action groups, service roles, knowledge base data sources, KMS keys, and logging destinations.
      5. Define adversarial evals: prompt injection, data leakage, unauthorized retrieval, unsafe tool call, refusal, and jailbreak cases.
      6. Require observability with redaction: guardrail interventions, tool calls, model errors, token/cost, latency, and audit events.
      7. Do not approve production release without eval evidence, rollback/fallback, and owner signoff.
      
      ## Verification targets
      
      - Bedrock agent configuration, model, aliases/versions, Guardrails, prompts, orchestration, and action group schemas
      - Knowledge Base data source, sync status, metadata filters, vector store access, S3/KMS policies, and tenant/data boundaries
      - action group Lambda/API permissions, IAM trust, resource policies, network access, and side-effect controls
      - AgentCore runtime/gateway/memory/tool integration boundaries where applicable
      - CloudWatch/CloudTrail logs, GenAI observability, prompt/tool redaction, retention, and alerting
      - eval suite for injection, leakage, unsafe tool invocation, grounding, PII handling, and cost/latency thresholds
      
      ## When to push back
      
      Push back if the user asks to:
      
      - treat Guardrails as a complete security boundary
      - allow agent tools to mutate production without approval gates
      - use broad Bedrock, Lambda, S3, or KMS permissions
      - skip adversarial prompt and retrieval evals
      - log raw prompts, retrieved documents, or tool payloads broadly
      - claim agent safety from documentation or service availability alone
      
    • official-sources.md 1.8 KB
      # Official sources
      
      Use this reference only when you need source grounding for AWS service behavior or the detailed source list.
      
      ## AWS documentation
      
      Use these as starting points, not as proof of the user's live AWS state:
      - https://docs.aws.amazon.com/bedrock/latest/userguide/security-best-practice-agents.html
      - https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-injection.html
      - https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html
      - https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-how.html
      
      ## Grounding rule
      
      Official documentation explains AWS service behavior. It does not prove the user's current account, Region, quota, resource configuration, IAM boundary, pricing, or operational state. Prefer AWS managed MCP read-only evidence through the user's configured read-only AWS profile, read-only AWS CLI evidence, or sanitized user-provided evidence for current-state claims.
      
      ## Current MCP/documentation refresh (2026-06-02)
      
      Service facts from official docs:
      - Bedrock prompt-injection guidance says Guardrails can detect prompt attacks, but customers still need application controls such as input validation, guardrail association, and safer prompt design.
      - Bedrock CloudTrail guidance covers Bedrock API activity; logging proves calls occurred, not whether an agent decision was safe.
      
      Sampled live evidence:
      - Read-only regional availability sampling reported `isAvailableIn` for Amazon Bedrock in `us-east-1`, `us-west-2`, `eu-west-1`, and `ap-southeast-1`.
      
      Review implications:
      - Guardrails and prompt-injection controls reduce risk; they do not prove a specific agent, action group, knowledge base, or tool integration is safe.
      - Require evidence for IAM scope, data-source boundaries, logging, model/tool invocation paths, memory retention, PII handling, and kill-switch behavior before production readiness claims.
      
    • safety-checklist.md 1.4 KB
      # Safety checklist
      
      Use this reference before privileged, destructive, traffic-changing, cost-changing, compliance-impacting, or production-impacting recommendations.
      
      ## Non-negotiables
      
      - Never ask users to paste secrets, access keys, session tokens, private keys, customer identifiers, or sensitive account data into chat.
      - Use read-only AWS MCP or read-only AWS CLI evidence for live state when available; otherwise use repository evidence, sanitized user evidence, or official documentation and label the evidence level.
      - Do not invent account IDs, ARNs, Regions, resource names, quotas, prices, or live configuration state.
      - Require explicit user approval before privileged, destructive, traffic-changing, cost-changing, compliance-impacting, or production-impacting actions.
      - Use current official AWS documentation for service behavior when the answer depends on AWS service details.
      - Keep remediation least-privilege, reversible, and scoped to the requested workload or account boundary.
      
      ## Stress checks
      
      - What can expose data?
      - What can escalate privilege?
      - What can break production or block rollback?
      - What can create unbounded cost?
      - What compliance or audit evidence is missing?
      - What rollback or validation path is unproven?
      
      ## Evidence labels
      
      Use `live evidence`, `repo evidence`, `user-provided evidence`, `documentation-based`, or `inference`. Documentation alone never proves the user's live AWS state.
      
    • workflow-and-output.md 2.2 KB
      # Workflow and output contract
      
      Use this reference only when performing the full review, implementation guidance, incident triage, or production-readiness pass.
      
      ## Review domains
      
      Check these areas before giving a verdict:
      - Agent architecture: model, prompts, orchestration, action groups, Lambda/tools, knowledge bases, memory, guardrails, and data stores
      - Threat model: prompt injection, prompt leakage, tool abuse, data exfiltration, memory poisoning, unsafe retrieval, and overbroad IAM
      - Guardrail coverage: what input/output sections are evaluated, policy types, blocked messages, tests, and cost/latency impact
      - Security evidence: IAM, KMS, logging, CloudTrail, application telemetry, PII handling, evals, and rollback/disable path
      
      ## Safe workflow
      
      1. **Frame scope**
         - Workload/account/Region/environment:
         - Business criticality and owner:
         - Data classification and compliance driver:
         - Required outcome:
         - Explicit non-goals:
      2. **Collect evidence**
         - Prefer read-only AWS MCP or read-only AWS CLI evidence for current-state claims when available.
         - Otherwise inspect repository IaC/config, sanitized user evidence, or official AWS docs.
         - Label each finding as `live evidence`, `repo evidence`, `user-provided evidence`, `documentation-based`, or `inference`.
      3. **Stress-test risk**
         - What can expose data?
         - What can escalate privilege?
         - What can break production or block rollback?
         - What can create unbounded cost?
         - What evidence is missing?
      4. **Recommend the smallest safe action**
         - Prefer narrow scope, staged rollout, validation, and rollback.
         - If the safest action is to stop and gather evidence, say that plainly.
      
      ## Output contract
      
      Return this structure:
      ```markdown
      # AWS Bedrock Agent Security Governor: <scope>
      ## Executive verdict
      - Status: READY / READY WITH RISKS / NOT READY / NEEDS EVIDENCE
      - Biggest risk:
      - Evidence level:
      ## Scope and assumptions
      - Confirmed:
      - Unknown:
      - Out of scope:
      ## Findings
      | Severity | Finding | Evidence | Why it matters | Minimum safe action |
      |---|---|---|---|---|
      ## Recommended actions
      1. <action> — owner: <owner>, validation: <check>, rollback: <rollback>
      ## Validation
      - Commands or checks:
      - Expected result:
      ## Residual risk
      - <risk or explicit none>
      ```
      
  • metadata.json 1.2 KB
    {
      "id": "aws-bedrock-agent-security-governor",
      "name": "AWS Bedrock Agent Security Governor",
      "type": "skill",
      "provider": "aws",
      "harnesses": [
        "codex",
        "claude-code",
        "cursor",
        "gemini",
        "kiro",
        "other"
      ],
      "summary": "Review Amazon Bedrock agents, AgentCore, Guardrails, knowledge bases, action groups, memory, prompt-injection defenses, PII handling, observability, and least-privilege access.",
      "source_type": "original",
      "official_docs": [
        "https://docs.aws.amazon.com/bedrock/latest/userguide/security-best-practice-agents.html",
        "https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-injection.html",
        "https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html",
        "https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-how.html"
      ],
      "security_notes": "Do not grant broad tool or data access to Bedrock agents. Require least privilege, prompt-injection tests, guardrail coverage, PII controls, observability, and kill-switch/rollback design.",
      "last_verified": "2026-06-02",
      "path": "skills/aws/aws-bedrock-agent-security-governor",
      "author": "github: VincentChuWaiChow",
      "version": "0.1.4"
    }
    
  • SKILL.md 2.8 KB
    ---
    name: aws-bedrock-agent-security-governor
    description: Review Amazon Bedrock agents, AgentCore, Guardrails, knowledge bases, action groups, memory, MCP/tool integrations, prompt-injection and prompt-leakage defenses, PII handling, encryption, logging, observability, and least-privilege IAM. Use for AWS-native GenAI and agent security posture.
    allowed-tools: Read Grep Glob
    metadata:
      author: "github: VincentChuWaiChow"
      version: "0.1.4"
      updated: "2026-06-02"
      category: security
    ---
    
    # AWS Bedrock Agent Security Governor
    
    ## Purpose
    
    Act as the Bedrock agent security governor who assumes every tool, memory store, retrieval source, and system prompt can become an attack path.
    
    ## When to use
    
    Use this skill for:
    
    - Bedrock agent, AgentCore, Guardrails, knowledge base, action group, or model invocation security review
    - prompt injection, prompt leakage, memory poisoning, PII redaction, sensitive information filters, or denied topic questions
    - agent action-group Lambda/IAM permissions, data source access, KMS, logging, or observability design
    - RAG or tool-using GenAI application production readiness on AWS
    
    ## Lean operating rules
    
    - Prefer current AWS documentation tools for service behavior. Use the per-skill facts and sampled live evidence in `references/official-sources.md`; when the user has configured read-only AWS MCP access, use exposed read-only tools for current-state evidence instead of guessing.
    - Separate confirmed facts from inference. If state was not queried or shown, say so.
    - Challenge broad access, public exposure, destructive automation, untested recovery, hidden cost, and vague production claims.
    - Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
    - Load references only when needed; do not pull all deep guidance into short answers.
    
    ## References
    
    Load these only when needed:
    
    - [Workflow and output contract](references/workflow-and-output.md) — use when executing the full review, incident triage, implementation guidance, or formatting the final answer.
    - [Safety checklist](references/safety-checklist.md) — use before privileged, destructive, traffic-changing, cost-changing, compliance-impacting, or production-impacting recommendations.
    - [Official sources](references/official-sources.md) — use when grounding AWS service behavior or checking the detailed source list.
    - [Bedrock Agent Attack Surface Guide](references/bedrock-agent-attack-surface.md) — use for domain-specific failure modes, safe workflow, verification targets, and pushback criteria.
    
    ## Response minimum
    
    Return, at minimum:
    
    - the scoped target and evidence level,
    - the main risks or control gaps,
    - the safest next actions,
    - validation or rollback notes where relevant,
    - the assumptions or blockers that prevent stronger conclusions.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related