--- title: "Ship AI-written code safely | Xtarwall" url: https://xtarwall.com/solutions/ship-ai-written-code-safely/ description: "Ship code written with Claude Code, Codex or Cursor safely. XWatch checks each change inside the agent and writes the fix. XGuard proves each finding by real attack on a safe copy, on every push." last_updated: 2026-11-30 --- Solution ยท Use case # Ship AI-written code safely. Checked in the agent, proven on the push. Your coding agent writes fast. XWatch checks each change inside the agent, and XGuard proves what matters by attacking a safe copy of your app on every push. [Install XWatch free](https://xtarwall.com/watch/#install) [See pricing](https://xtarwall.com/pricing/) ## More code than anyone reads line by line. For teams that ship code written with Claude Code, Codex or Cursor. - ### A weak spot looks like working code An agent can write a working feature in minutes. The weakness inside it passes the same tests the feature does. - ### A check after the merge comes too late By the time a report arrives, the agent and the author have both moved on. - ### A list of maybes does not help What you need to know is which of them an attacker can really use. How Xtarwall handles it ## Three steps. 1. ### Add XWatch to the agent It is a local MCP server with four tools, none of which writes to your repo: `xtarwall_scan_changes`, `xtarwall_get_findings`, `xtarwall_explain_finding`, `xtarwall_status`. 2. ### Check the change while it is open The agent asks XWatch to scan what changed. The finding comes back with the fix, as a specific change to your code. 3. ### Prove it on every push XGuard starts a short-lived copy of your app and runs the real attack against it. No exploit, no alert. Install, then four tools in your coding agent ``` curl -fsSL https://xtarwall.com/install.sh | sh ``` - `xtarwall_scan_changes` - `xtarwall_get_findings` - `xtarwall_explain_finding` - `xtarwall_status` The install line and the four MCP tool names are the real ones. None of the four tools writes to your repo. Which product and tier ## What you need. - ### [XWatch Starter](https://xtarwall.com/products/xwatch/) Free. On your machine, on your own AI key. [XWatch pricing](https://xtarwall.com/pricing/xwatch/) - ### [XGuard Starter](https://xtarwall.com/products/xguard/) US$29 a month per company, 200 credits a month. Hosted plans are in early access. [XGuard pricing](https://xtarwall.com/pricing/xguard/) ## Questions, answered. **Does XWatch change my code?** No. None of its four MCP tools writes to your repo. **Which agents does it work in?** Claude Code, Codex, Cursor and any other MCP client that takes a JSON config. **Does my code leave my machine?** XWatch runs on your own machines and calls the AI provider whose key you give it. Xtarvrse receives no data from it. Something else? Write to [hello@xtarwall.com](mailto:hello@xtarwall.com) ## Find it on a copy, before someone finds it on the real thing. Start with XWatch. It is free, and it runs on your own AI key. [Install XWatch](https://xtarwall.com/watch/#install) [All solutions](https://xtarwall.com/solutions/)