@maximoai/maximo-syntax-security is the Maximo Syntax CLI and TypeScript SDK
for finding, validating, and fixing security vulnerabilities in authorized
repositories.
Maximo Syntax Security preserves the local scan engine, isolated runtime, workbench, deep scans, patch verification, exports, and bulk scans from the upstream security implementation while adding Maximo AI provider support.
Requirements:
- Node.js 22.13 or newer in a supported LTS release
- Python 3.10 or newer for scans and exports
- A Maximo AI account, provider API key, or configured Responses API endpoint
npm install -g @maximoai/maximo-syntax-security maximo-syntax-security login maximo-syntax-security scan . maximo-syntax-security scan . --model maximo-pandora-3.8-nano --effort high
The default login flow signs in to Maximo AI in a browser. The provider
selection also supports Maximo AI API keys, MyTabulon Coding Plan, Cencori,
OpenRouter, and OpenCode.
Use the interactive provider flow:
maximo-syntax-security login
Provider API keys can also be configured directly:
maximo-syntax-security login --provider maximoai --api-key "$MAXIMO_API_KEY" maximo-syntax-security login --provider mytabulon --api-key "$MYTABULON_API_KEY" maximo-syntax-security login --provider cencori --api-key "$CENCORI_API_KEY" maximo-syntax-security login --provider openrouter --api-key "$OPENROUTER_API_KEY" maximo-syntax-security login --provider opencode --opencode-plan zen --api-key "$OPENCODE_API_KEY"
Maximo AI and MyTabulon also support browser OAuth from login. MyTabulon API
keys must have Coding Plan access. Cencori keys begin with csk_; MyTabulon
keys begin with mtb_live_.
Check or remove the active provider login:
maximo-syntax-security login status
maximo-syntax-security logoutFor unattended use, set the provider key in the environment or configure the
provider once with login --api-key. The key is stored only in the private
Maximo Syntax Security state directory and is never written to scan recipes,
reports, or model catalogs.
The supported providers use their native OpenAI-compatible Responses endpoint:
| Provider | Responses base URL | Key sources |
|---|---|---|
| Maximo AI | https://api.maximoai.co/v1 |
Maximo AI OAuth or OPENAI_API_KEY |
| MyTabulon | https://api.mytabulon.com/v1 |
MyTabulon OAuth or MYTABULON_API_KEY |
| Cencori | https://api.cencori.com/v1 |
CENCORI_API_KEY |
| OpenRouter | https://openrouter.ai/api/v1 |
OPENROUTER_API_KEY |
| OpenCode Zen | https://opencode.ai/zen/v1 |
OPENCODE_API_KEY |
| OpenCode Go | https://opencode.ai/zen/go/v1 |
OPENCODE_API_KEY |
The selected provider's /models response is loaded before a real scan. Its
model IDs, context limits, output limits, default effort, and supported effort
levels are normalized into the runtime model catalog. Use:
maximo-syntax-security models maximo-syntax-security models --provider mytabulon
Only models documented for the selected OpenCode Responses endpoint are shown. Chat-only model routes are not selected by the security scanner.
maximo-syntax-security scan . maximo-syntax-security scan . --provider mytabulon --model maximo-atlas-1.2 maximo-syntax-security scan . --provider openrouter --model openai/gpt-5.6-terra maximo-syntax-security scan . --provider opencode --model gpt-5.6-terra --effort high maximo-syntax-security scan . --mode deep --workers 2 --max-time-hours 4 maximo-syntax-security scan . --patch --patch-severity high maximo-syntax-security scan . --json --fail-on-severity high
Scans are report-only by default. --patch fixes and verifies selected
findings. --create-pr publishes verified changes through the GitHub CLI.
--dry-run validates local inputs and reports the effective model, provider,
and effort without contacting a model service.
import { MaximoSyntaxSecurity } from "@maximoai/maximo-syntax-security"; const security = new MaximoSyntaxSecurity(); try { const result = await security.run("/path/to/repository", { outputDir: "/path/outside/repository/results", }); console.log(result.reportPath); } finally { await security.close(); }
Use codexOverrides only for supported runtime settings. Provider selection is
available through model_provider and model_providers, while API keys remain
environment-only during a scan.
Keep results outside the scanned repository. Set
MAXIMO_SYNTAX_SECURITY_STATE_DIR when the default state location is not
writable:
export MAXIMO_SYNTAX_SECURITY_STATE_DIR="$HOME/.maximo-syntax-security"
The state directory contains scan history, provider login state, temporary runtime metadata, and normalized model catalogs. Protect it from other users.
mkdir -p results state chmod 700 results state export MAXIMO_SYNTAX_SECURITY_IMAGE=ghcr.io/maximoai-co/maximo-syntax-security:latest export MAXIMO_SYNTAX_SECURITY_USER="$(id -u):$(id -g)" docker compose pull maximo-syntax-security docker compose run --rm maximo-syntax-security login docker compose run --rm maximo-syntax-security bulk-scan repositories.csv
Use an API key environment variable for unattended container runs. Keep result and login mounts private.
Scan only repositories you own or are authorized to assess. Repository files, model output, imported documents, and provider responses are untrusted data; they do not authorize access to credentials or unrelated paths. Review verbose logs before sharing them because they may contain source code or provider diagnostics.
Some cybersecurity requests and protected findings require approval through Maximo Trusted Cyber Access. To apply or check your access, visit maximoai.co/syntax/cyber.
See SECURITY.md for the threat model and reporting process.