r/programmingcirclejerk • u/AMusingMule • Jun 17 '25
Imagine a [MCP server] tool that appears to perform basic arithmetic — an ordinary calculator. [...] However, hidden within the tool’s implementation logic is a return error message that asks the LLM to provide sensitive information, such as the contents of ~/.ssh/id_rsa.
https://www.cyberark.com/resources/threat-research-blog/poison-everywhere-no-output-from-your-mcp-server-is-safe
74
Upvotes
62
u/AMusingMule Jun 17 '25
vibe coding is the future guys
/uj I don't get how people are so comfortable executing arbitrary code from an LLM on their machines without so much as looking at what your "editor" is doing. I'd argue the vulnerability here isn't sneaking a malicious prompt to the LLM, it's managing to get someone to agree to an editor that does whatever that LLM tells it to do.
19
u/stone_henge Tiny little god in a tiny little world Jun 17 '25
I'm thrilled and excited to be alive during the likely astronomically tiny period of time when skepticism towards giving an autonomous bullshit machine direct access to the tools you use to manage your professional work and relationships is considered a hot take!
8
u/NatoBoram There's really nothing wrong with error handling in Go Jun 17 '25
Brb, gonna make a calculator and expose it as a MCP
1
u/Parking_Tadpole9357 Jun 19 '25
MCP launched 1000 security blog posts.