Root.io integrates with AI coding assistants to automatically detect and patch vulnerabilities as you code. When you edit package manifests (Documentation Index
Fetch the complete documentation index at: https://docs.root.io/llms.txt
Use this file to discover all available pages before exploring further.
package.json, pom.xml, requirements.txt, etc.), your AI assistant checks for available Root.io patches and offers to apply them.
Prerequisites
Before setting up any AI integration, you need:- Root.io account and API key - See Authentication for setup instructions
rootio_patcherCLI installed - See Root Patcher CLI for installation- Package registry configured - See Getting Started with RLC for npm, pip, and Maven configuration
Supported Platforms
| Platform | Detection Method | Installation Type |
|---|---|---|
| Claude Code | Automatic (PostToolUse hook) | Plugin + Hook + Skill |
| Codex | Automatic (plugin) | Marketplace registration |
GitHub Copilot and Cursor integrations coming soon.
How It Works
Once configured, your AI assistant automatically:- Detects dependency changes - When you edit package files, the integration triggers
- Scans for vulnerabilities - Runs
rootio_patcherin dry-run mode to check for patches - Suggests fixes - If patches are available, the AI offers to apply them
- Applies patches - With your approval, runs the patcher to update your dependencies