The Baseline Said 'No Changes' While the Impostor Server Ran
x1y1co left a comment under my last piece that I have been turning over since. Cursor's MCPoison bug was exactly the case the piece never showed: an approved server entry whose command was swapped later, with no new prompt. A diff against a saved tool list would have caught it, he said. I had just written that my little baseline checker catches an added tool and a widened input. He was asking…
The author explains the limitations of a baseline checker in detecting server changes. The checker, part of an AI App Security Audit Kit, compares tools' names, descriptions, and input schemas but does not examine the server's launch command, server file, or handshake information. The author demonstrates this limitation through a test where an impostor server with a different command runs identically to the real server, causing the checker to report "No changes."
The author builds a new standalone checker that compares the server command and file hashes from the config, catching the impostor swap. However, the checker cannot handle npx packages with freshly downloaded packages as it cannot hash them. The author concludes that the baseline checker is effective for detecting added tools and widened inputs but not for identifying command swaps. To ensure full approval, one must check both the command and the server itself.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to