---
title: "Discussion on \"Defending an MCP server against prompt injection through CloudTrail\" | Hashnode"
description: "Discussion on \"Defending an MCP server against prompt injection through CloudTrail\". Microsoft's spotlighting defense in its simplest form, and the layers that make it enough"
url: "https://hashnode.com/posts/defending-an-mcp-server-against-prompt-injection-through-cloudtrail/6aefce9e8620ee70ad53ee89"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Defending an MCP server against prompt injection through CloudTrail](https://blog.jennasrunbooks.com/defending-an-mcp-server-against-prompt-injection-through-cloudtrail?utm_source=hashnode&utm_medium=feed)

Microsoft's spotlighting defense in its simplest form, and the layers that make it enough

Nov 8 · 5 min read · blog.jennasrunbooks.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#security](https://hashnode.com/tag/security)
-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#promptinjections](https://hashnode.com/tag/promptinjections)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#claude](https://hashnode.com/tag/claude)
-   [#devsecops](https://hashnode.com/tag/devsecops)

## Written by

[Jenna's Runbooks](https://hashnode.com/@jennasrunbooks)

@jennasrunbooks

  
[View profile](https://hashnode.com/@jennasrunbooks)

Cloud Engineer & SRE transitioning to AI/ML Platform Engineering | Writing on AI Infra, MLOps & DevEx

Hi there! I'm a Cloud Engineer and SRE, documenting my transition into AI/ML Platform Engineering. I write technical deep-dives, hands-on implementation guides, CLI helper scripts, and visual architectures covering cloud, infrastructure, orchestration, governance, and modern AI runtimes.

## Responses 1

Markdown supported · ⌘↵ to post

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[Nov 8](https://hashnode.com/posts/defending-an-mcp-server-against-prompt-injection-through-cloudtrail/6aefce9e8620ee70ad53ee89/comment/6af007221acaa896027a6045)

This is a clear, honest write-up. The part that landed for me was the distinction you draw between the label and the layers behind it — spotlighting asks the model to treat CloudTrail text as data, but the read-only boto3 wrapper, the IAM path check, and the policy gate on fixes are what actually limit the blast radius when the model gets fooled. I also appreciated the known gaps section, especially that /mcp has no auth yet and that the label is not applied everywhere. Naming those openly makes the claim that delimiting is enough here much more believable than a clean success story would.
