AI agents invoke memory_benchmark to trigger actions in Exocortex. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
The tool triggers execution of a benchmark suite with measurable side effects (computation, resource consumption, potentially I/O operations against the memory system). While not destructive or write-heavy, it goes beyond simple Read operations by actively executing performance evaluation logic.
From the tool's definition Tool performs 'Run a retrieval benchmark' — executes a computational operation that measures recall metrics against stored memory data. This is an active execution of a benchmark algorithm rather than passive data retrieval.
Attacks that exploit this kind of access
Run a retrieval benchmark measuring recall@5, recall@10, and MRR. It is categorised as a Execute tool in the Exocortex MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Exocortex MCP server in PolicyLayer and add a rule for memory_benchmark: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Exocortex. Nothing to install.
memory_benchmark is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the memory_benchmark rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for memory_benchmark. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
memory_benchmark is provided by the Exocortex MCP server (shawnhack/exocortex). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →