Generate fallback instruction files such as AGENTS.md, CLAUDE.md, Copilot instructions, Cursor rules, and docs/ai/project-memory.md.
AI agents use export_static_memory_files to create or update resources in OpenMemBrain — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your OpenMemBrain environment.
The tool creates or generates new files (Write category), which are modifications to the file system. While file generation is reversible and does not destroy data, it can overwrite existing files and affects the AI coding environment by creating instruction files that guide agent behavior.
From the tool's definition Tool description states it 'Generate[s]' instruction files including AGENTS.md, CLAUDE.md, and project-memory.md — creating or writing files to disk.
Attacks that exploit this kind of access
Generate fallback instruction files such as AGENTS.md, CLAUDE.md, Copilot instructions, Cursor rules, and docs/ai/project-memory.md. It is categorised as a Write tool in the OpenMemBrain MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the OpenMemBrain MCP server in PolicyLayer and add a rule for export_static_memory_files: 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 OpenMemBrain. Nothing to install.
export_static_memory_files 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 export_static_memory_files 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 export_static_memory_files. 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.
export_static_memory_files is provided by the OpenMemBrain MCP server (mohamadalhusseinie/openmembrain). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
export_static_memory_files is one line of OpenMemBrain's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →