Scan your whole stack
From OX Research Newsroom
Latest version: v1.13.0
Apiiro Guardian was last scanned on 24 Nov 2026 at version 1.13.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.13.0 LATEST | 24 Nov 2026 | 1 rule fired |
| 1.12.2 | 22 Nov 2026 | No rules fired |
| 1.0.0 | 2 Feb 2026 | Not shown |
Findings for v1.13.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.
LOWThe score describes 1.13.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Command-line interface for the Apiiro Guardian Agent — discover inventory, assess risk, detect vulnerabilities, fix risk, and prevent risk.
The recommended install path. Downloads the right binary for your platform, verifies its checksum, installs it to a user directory (no sudo), and configures PATH.
# macOS / Linux
curl -fsSL https://apiiro.com/install.sh | bash
# Windows (PowerShell)
irm https://apiiro.com/install.ps1 | iex
Then run apiiro login and apiiro init to wire skills + prevention hooks into your coding agents.
Environment overrides: APIIRO_INSTALL_DIR, APIIRO_VERSION (the version to install), APIIRO_NO_MODIFY_PATH.
Every install method updates itself to the version your organization selects in Apiiro; see Update.
Requires Node.js 18+. No Bun needed — the right prebuilt binary is installed automatically for your platform.
npm i -g apiiro-cli # installs the `apiiro` command
apiiro --help
Or run without installing:
npx apiiro-cli --help
Homebrew (macOS / Linux)
brew tap apiiro/tap
brew trust apiiro/tap # required on Homebrew 6.0+
brew install apiiro
Homebrew 6.0+ refuses formulae from untrusted third-party taps, so the one-time
brew truststep is required. Trust the tap, not the individual formula — trusting onlyapiiro/tap/apiiroleaves Homebrew erroring on the tap's other formula (apiiro-latest) in later commands.
Direct Download
Pre-compiled binaries for all platforms are available on the releases page:
| Platform | Binary |
|---|---|
| macOS Apple Silicon (M1/M2/M3/M4) | apiiro-macos-arm64 |
| macOS Intel | apiiro-macos-x64 |
| Linux x64 | apiiro-linux-x64 |
| Linux ARM64 | apiiro-linux-arm64 |
| Windows x64 | apiiro-win.exe |
# macOS / Linux: download, make executable, and move to PATH
chmod +x apiiro-*
sudo mv apiiro-* /usr/local/bin/apiiro
On Windows, move apiiro-win.exe to a directory on your PATH (optionally rename to apiiro.exe).
RPM (Linux)
sudo yum install -y https://github.com/apiiro/marketplace/releases/latest/download/apiiro-<version>-1.x86_64.rpm
Jamf deployments use the versioned policy script, with no package to build or upload. The policy downloads a pinned public CLI release, verifies its checksum, and installs one root-owned binary at /opt/apiiro/bin/apiiro before configuring the logged-in user's skills and hooks. Jamf only installs the CLI: after that, the CLI follows the version your organization selects in Apiiro. To let Jamf manage the version instead, set the Apiiro CLI version setting to Off.
The default profile enables Secure Prompt for Claude Code and leaves scanning disabled. Set Parameter 6 to the approved release version; use Parameter 7=all when ready to enable the other public prevention capabilities. Parameter 8 defaults to published; use pkg to configure an approved package build without downloading or replacing its binary. Keep opted-out computers excluded from the policy scope. Read the Jamf guide for triggers, authentication, and verification.
Add to .pre-commit-config.yaml:
repos:
- repo: https://github.com/apiiro/marketplace
rev: <VERSION> # get latest from https://github.com/apiiro/marketplace/releases
hooks:
- id: apiiro-fast-scan # secrets + OSS
# - id: apiiro-secrets-scan # secrets only
# - id: apiiro-oss-scan # OSS only
Windows: pre-commit hooks are POSIX shell scripts; run them via Git Bash (bundled with Git for Windows) or WSL.
The recommended setup detects Claude Code, Cursor, GitHub Copilot CLI, OpenAI Codex, and opencode, installs their skills and prevention hooks, then verifies the result:
apiiro init
apiiro doctor
Common options:
apiiro init --claude # Claude only; --cursor, --copilot, --codex, and --opencode are also available
apiiro init --skills-only # Skip prevention hooks
apiiro init --dry-run # Preview file changes
apiiro init --non-interactive # Unattended / MDM setup
apiiro uninstall # Remove skills and hooks
apiiro uninstall --remove-binary
Restart Claude Code and opencode after setup. For skills without prevention hooks, use apiiro agents install. Without the CLI, install them with Vercel Skills:
npx skills add apiiro/marketplace
Marketplace plugins are also available for interactive installs. Each host offers
an apiiro skills plugin and an opt-in apiiro-prevention hooks plugin. Claude
Code also offers guardian-enrichment, which displays the security requirements
Guardian added to each enriched prompt in the terminal and desktop app:
In Claude Code, register the marketplace and install both plugins:
/plugin marketplace add apiiro/marketplace
/plugin install apiiro-prevention@apiiro
/plugin install guardian-enrichment@apiiro
Then run:
apiiro hooks config enable preventLog
The enrichment log is off by default. When enabled, it keeps redacted prompt
excerpts and the added security context in ~/.apiiro/prevent-log/ for seven
days. Local processes running as your user can read it. The plugin code makes no
network requests, but Claude Code may persist or sync plugin state according to
its own host settings; that state includes recent redacted event excerpts and UI
state.
Each host also offers the following plugins:
# OpenAI Codex
codex plugin marketplace add apiiro/marketplace
codex plugin add apiiro@apiiro
codex plugin add apiiro-prevention@apiiro
# GitHub Copilot CLI
copilot plugin marketplace add apiiro/marketplace
copilot plugin install apiiro@apiiro
copilot plugin install apiiro-prevention@apiiro
Claude Code and Cursor expose these plugin names through their plugin
browsers. Choose either the prevention plugin or apiiro init/apiiro hooks <agent> install for a host, not both, because hosts combine hook sources. Fleet
and Jamf deployments should continue using apiiro init --non-interactive.
Available skills: guardian-risks, guardian-fix, guardian-inventory, guardian-api, guardian-query, guardian-threat-model, guardian-scan, guardian-secure-prompt, guardian-setup.
Apiiro Guardian is also available as a hosted MCP server at https://mcp.apiiro.com/mcp. It needs no local install: the server uses OAuth, so your MCP client opens the Apiiro sign-in page the first time it connects, and the tools only see what your Apiiro account can access. Never put an API key or token in the MCP configuration.
Kiro: one-click install:
Or add it to .kiro/settings/mcp.json (workspace) or ~/.kiro/settings/mcp.json (user):
{
"mcpServers": {
"apiiro": {
"url": "https://mcp.apiiro.com/mcp",
"disabled": false,
"autoApprove": []
}
}
}
Gemini CLI: this repository is a Gemini CLI extension (gemini-extension.json), which adds the MCP server and a short GEMINI.md context file:
gemini extensions install https://github.com/apiiro/marketplace
Inside Gemini CLI, run /mcp auth apiiro if you need to sign in again.
Antigravity: the antigravity/ folder is an Antigravity plugin with the MCP server and an always-on rule. Install it from a local clone:
git clone https://github.com/apiiro/marketplace && agy plugin install ./marketplace/antigravity
To sign in again in the Antigravity App, open Customizations > Installed and click Authenticate next to the Apiiro server.
Other MCP clients: use the server URL with the streamable HTTP transport, for example {"mcpServers": {"apiiro": {"url": "https://mcp.apiiro.com/mcp"}}}.
Privacy Policy: apiiro.com/privacy-policy. Support: support.apiiro.com (see Support).
# Login via OAuth (opens browser)
apiiro login
# Login by entering a short code in any browser — when the usual browser
# sign-in cannot complete on this machine
apiiro login --device
# Check status
apiiro auth status
# Logout
apiiro logout
Alternatively, set the APIIRO_API_KEY environment variable.
Read results for diff, pull-request and build scans, or trigger a new scan. Agent skill: guardian-scan.
apiiro scans <id> # Diff scan results (V2)
apiiro scans <id> --type pr --wait # Wait for pull-request results
apiiro scans <id> --type build # Build scan results
apiiro scans <id> --legacy # V1 diff results (also supported for pr)
apiiro scans --config --git-url https://github.com/org/repo
apiiro scans trigger -b main -c feature-branch -r https://github.com/org/repo --wait --yes
apiiro scans trigger --type diff -b <base-sha> -c <candidate-sha> \
--baseline-type Commit --candidate-type Commit --wait --yes
apiiro scans trigger --type pr --pr 42 -r https://github.com/org/repo --wait --yes
apiiro scans trigger --type build --commit <40-character-sha> --branch main --directory src --yes
apiiro scans trigger --finish-upload <id> --type pr --yes
Triggers ask for confirmation every time; --yes skips the question for automation. The default type is diff. Repository URLs are detected from git when -r, --repository-url is omitted. Diff triggers also support -i, --interactive, --baseline-type and --candidate-type (Branch, Tag, Commit), --wait-external, --legacy, and --no-wait. Pull-request and build triggers support --wait. --wait-external applies to diff and pull-request triggers. --finish-upload applies to diff and pull-request scans that wait for external findings.
Build scan commits must have 40 hexadecimal characters; uppercase letters are accepted and sent lowercase.
Results support --wait, --timeout <seconds> (default: 300), -o json|text, and -f <path>. Exit codes: 0 = Success or Warn (or a passing build), 1 = Block, a failing build or an error, including a wait timeout, 2 = not signed in or results still pending without --wait. Keep the scan ID to check again after a timeout.
Scan changed or staged files for secrets, OSS vulnerabilities, AI SAST code weaknesses, and IaC misconfigurations. The default runs all four scanners. AI SAST can take several minutes. Requires a git repository with a remote. A --staged scan (the pre-commit hook) or an IDE scan skips a repository Apiiro does not monitor before uploading file contents. A scan you run yourself also covers unmonitored repositories, such as an open-source project you are evaluating; a repository Apiiro does not know needs an organization-wide Apiiro user scope. Skipped scans are reported with a reason.
apiiro scans trigger --type quick --yes
apiiro scans trigger --type quick src/config.ts --scanners secrets --yes
apiiro scans trigger --type quick --staged --scanners secrets,oss --yes
apiiro scans trigger --type quick --scanners secrets,oss,ai-sast,iac --yes
Choose one scanner, or include both secrets and oss with optional ai-sast and iac.
Quick scans use the same output, server verdicts and exit codes as fast-scan: 0 for clean results or a scanner that could not run; 1 for findings, a server Block, or a usage error. With a server verdict, Warn and Success allow the scan even when findings are present. The new commands require sign-in (exit 2 when missing). The pattern-scanner budget is 2 seconds by default, capped at 5 with --timeout; individual AI SAST and IaC scans use their existing longer budgets.
The old names still work. diff-scan is a hidden, deprecated alias with its original flags (-s <id> to read results), and runs without confirmation. fast-scan and every subcommand remain available without warnings or confirmation for installed hooks and IDE integrations. For example, apiiro fast-scan all --staged runs secrets and OSS; apiiro fast-scan secrets --full --fail-on high scans whole files with an explicit severity threshold. Its --commit and --base-commit options remain available. Signed-out fast scans keep reporting a skipped scan with exit 0; fast-scan config requires sign-in.
Quick local scanning for secrets and OSS vulnerabilities. Requires a git repository with an origin remote. --staged and IDE scans skip unmonitored repositories before uploading file contents; a scan you run yourself also covers unmonitored repositories. Skipped scans are not reported as clean. Auto-detects changed files in the current git repo. Agent skill: guardian-scan.
apiiro fast-scan secrets # Scan for secrets
apiiro fast-scan secrets --staged # Scan staged files only (pre-commit)
apiiro fast-scan secrets --full # Scan entire file, not just git-changed lines
apiiro fast-scan oss # Scan for OSS vulnerabilities
apiiro fast-scan all # Run both concurrently
apiiro fast-scan config # Get scan configuration
apiiro fast-scan secrets --timeout 5 # Scan budget in seconds (default 2, max 5)
apiiro fast-scan all --commit <sha> --base-commit <ref> # Attribute the scan to a commit / diff against a baseline ref (both default: HEAD)
Exit codes: 0 = clean, or a scan that could not run; 1 = findings at or above the --fail-on threshold (default: any finding), a block by your organization's prevention workflows, or a usage error (a file that does not exist, a --commit or --base-commit that is not a commit, an output file that cannot be written, or running outside a git repository). A scan that cannot run never fails the command: when you are not signed in, the repository is not monitored or is outside your Apiiro user scope, your role lacks the Fast scan permission, Fast Scan is not enabled, the scan times out, or a scanner errors, the CLI prints the reason as a warning and exits 0, so a pre-commit hook built on it lets the commit through.
fast-scan --staged skips its scan when the Apiiro coding-agent hook has already checked the same staged files for the same commit and reached a decision fast-scan would repeat, so a commit is scanned once, and repeats the reason when that decision was "the scan could not run here" (for example a repository outside your user scope); a warning-level verdict, any finding, a partial scan, another remote, branch or API URL, or a run with --repository-key is scanned again. A file that was staged and then deleted from the working tree is scanned from the index, because that is what the commit contains.
When your organization defines prevention (FastScan) workflows, the scan response carries a server verdict and that verdict decides the exit code instead of the default --fail-on threshold — Block fails the run, Warn and Success do not, even when High/Critical findings are present. An explicitly passed --fail-on <severity> stays a floor (findings at or above it still fail the run under a Success verdict), and --fail-on none always keeps exit 0 (report-only). Without a verdict the --fail-on behavior is unchanged.
Compare two git references for security risks. Primary CI/CD integration point. Agent skill: guardian-scan.
What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe saw no tools; the server requires authentication.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.