Skip to content

Commit b1db2eb

Browse files
authored
chore: correct the sanitize_tool_response method description
1 parent 35e8b85 commit b1db2eb

File tree

1 file changed

+1
-2
lines changed
  • src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server

1 file changed

+1
-2
lines changed

src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/sanitizer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def sanitize_tool_response(content: str) -> str:
1818
1919
Implements multiple layers of protection:
2020
1. Filters unicode tag characters (obfuscation attacks)
21-
2. Detects common prompt injection patterns
22-
3. Wraps content in XML tags for clear boundaries
21+
2. Wraps content in XML tags for clear boundaries
2322
2423
Args:
2524
content: Raw tool response content

0 commit comments

Comments
 (0)