Grokking the Model Context Protocol (MCP)
0% completed
Tool Errors and Tool Annotations
AWS published a security bulletin about its Pricing MCP Server. One tool in that server generated a cost report and wrote it to a file. According to the bulletin, the tool accepted absolute paths and directory traversal sequences, such as ../, in the report output path. An attacker who could influence the agent might therefore write content of their choosing outside the intended output directory.
The bulletin adds a second fact. The tool "was also annotated as read-only, which can lead MCP clients to auto-approve it without user confirmation"
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%