Withdraw LP tokens from an expired lock. Only the lock owner can withdraw. Requires DEPLOYER_PRIVATE_KEY env var.
AI agents use withdraw_lp to commit financial operations through Base Lp Locker — usually the final step of a payment, billing, or trading workflow. A call moves real money.
Withdrawal of LP tokens constitutes movement of financial assets. Even though the action is restricted to expired locks and lock owners, an AI agent with access to this tool and the required private key could withdraw LP token positions, committing financial value. This is a Financial category risk due to the irreversible transfer of monetary value, taking priority over Execute or Destructive categories.
From the tool's definition Tool withdraws LP (liquidity provider) tokens, which are financial assets. Description explicitly states 'Withdraw LP tokens' and requires private key authentication ('DEPLOYER_PRIVATE_KEY env var'), indicating control over financial assets.
Attacks that exploit this kind of access
Withdraw LP tokens from an expired lock. Only the lock owner can withdraw. Requires DEPLOYER_PRIVATE_KEY env var. It is categorised as a Financial tool in the Base Lp Locker MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the Base Lp Locker MCP server in PolicyLayer and add a rule for withdraw_lp: 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 Base Lp Locker. Nothing to install.
withdraw_lp is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the withdraw_lp 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 withdraw_lp. 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.
withdraw_lp is provided by the Base Lp Locker MCP server (lordbasilaiassistant-sudo/base-lp-locker-mcp). 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 →