Save the current page
AI agents use Save-Page-As-HTML to create or update resources in MCP GitHub Login Automation Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP GitHub Login Automation Server environment.
This tool creates a new file (HTML output) on the system, which is a reversible write operation. Severity is medium because: (1) it could capture sensitive data like GitHub credentials or session tokens from the rendered page, (2) it could be used to exfiltrate private GitHub content, but (3) it doesn't delete data or move money, and the file creation itself is reversible.
From the tool's definition Tool name 'Save-Page-As-HTML' and description 'Save the current page' indicate file creation/writing. Context shows browser automation for GitHub login with credential management.
Attacks that exploit this kind of access
Save the current page. It is categorised as a Write tool in the MCP GitHub Login Automation Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the MCP GitHub Login Automation Server MCP server in PolicyLayer and add a rule for Save-Page-As-HTML: 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 MCP GitHub Login Automation Server. Nothing to install.
Save-Page-As-HTML 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 Save-Page-As-HTML 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 Save-Page-As-HTML. 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.
Save-Page-As-HTML is provided by the MCP GitHub Login Automation Server MCP server (nikhil-kandekar/mcp-server-demo). 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 →