AI agents use state_save_pdf to create or update resources in Ruyipage — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Ruyipage environment.
This tool creates a new PDF file on the filesystem, which is a Write operation (reversible data creation). Severity is medium because: (1) it creates files that consume disk space and could be used to exfiltrate web page content, but (2) the operation is reversible (files can be deleted), and (3) the blast radius depends on filesystem permissions and storage constraints rather than permanent data destruction or…
From the tool's definition Tool is named 'state_save_pdf' and described as 'Save the current page as a PDF file.' The verb 'save' indicates file creation/writing.
Attacks that exploit this kind of access
Save the current page as a PDF file. It is categorised as a Write tool in the Ruyipage MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Ruyipage MCP server in PolicyLayer and add a rule for state_save_pdf: 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 Ruyipage. Nothing to install.
state_save_pdf is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the state_save_pdf 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 state_save_pdf. 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.
state_save_pdf is provided by the Ruyipage MCP server (neverl805/ruyipage_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 →