SPHIOR AI · Security API

Security intelligence as an API

One HTTP endpoint to scan code, detect vulnerabilities, and generate AI-powered fixes. Drop into any CI/CD pipeline, AI agent, or developer tool in minutes.

scan.sh
# Scan a code snippet for vulnerabilities
curl -X POST https://api.sphior.com/v1/scan \
  -H "Authorization: Bearer sk_live_..." \
  -d '{"code":"SELECT * WHERE id='{req.id}'","language":"sql"}'

# Response
{
  "findings": [{
    "type": "sql_injection", "severity": "critical",
    "cvss": 9.8, "fix": "Use parameterized queries"
  }],
  "ai_calls": 1, "latency_ms": 143
}

200+

Security rules

<200ms

Median latency

7

Languages supported

99.9%

Enterprise SLA

Built for every security workflow

Integrate SPHIOR AI wherever code lives and moves.

CI/CD Pipeline Integration

Scan every pull request and commit automatically. Block merges when critical vulnerabilities are detected before they reach production.

# .github/workflows/security.yml
- name: SPHIOR AI Scan
  run: |
    curl -sX POST https://api.sphior.com/v1/scan \
      -H "Authorization: Bearer ${{ secrets.SPHIOR_KEY }}" \
      -d '{"ref": "${{ github.sha }}", "repo": "${{ github.repository }}"}'

AI Agent Security Layer

Give your AI agents real-time security intelligence. Validate generated code before execution. Prevent prompt injection and insecure output.

// LangChain / any AI agent
import { SphiorSecurityTool } from "@sphior/sdk";

const securityTool = new SphiorSecurityTool({ apiKey: process.env.SPHIOR_KEY });
// Validate AI-generated code before running
const result = await securityTool.scan({ code: generatedCode, language: "python" });
if (result.critical_count > 0) throw new Error("Unsafe code detected");

IDE Plugin & Internal Tooling

Embed security scanning into your internal developer platform, custom IDE plugins, or code review tools with a single HTTP endpoint.

// VS Code extension / internal dev platform
const findings = await fetch("https://api.sphior.com/v1/scan", {
  method: "POST",
  headers: { Authorization: `Bearer ${apiKey}` },
  body: JSON.stringify({ code: editor.selection, language: "typescript" }),
}).then(r => r.json());

showInlineAnnotations(findings.findings);

Everything you need, nothing you don't

SPHIOR AI Engine

Multi-layered analysis combining deterministic rules with AI reasoning for near-zero false positives.

Sub-second response

Rule-based pre-filter + AI only on flagged code. Median latency 180ms. P99 under 800ms.

OWASP Top 10 + beyond

SQLi, XSS, SSRF, path traversal, secret leakage, insecure deserialization, and 200+ custom rules.

7 languages

JavaScript, TypeScript, Python, Go, Java, Ruby, PHP. More on request.

In-memory analysis

Your code is analyzed in memory and never used for AI training. We retain only findings — and, for fixes you request, the snippet needed to generate them. SOC 2 compliant architecture.

AI fix generation

SPHIOR AI Pro generates context-aware patches with explanation, CVSS score, and remediation steps.

Usage dashboard

Real-time call counts, spend tracking, and per-key spend caps to prevent bill shock.

SDK + REST

TypeScript, Python SDKs available. Or call the plain REST API from any language.

Simple, transparent pricing

Low monthly platform fee + pay only for what you use.
No scan limits. No quota anxiety. Spend caps available.

Free

$0/mo

platform fee + usage

  • 2,000 rule scans/month included
  • AI scans: $0.04/call
  • Community support
Get started free

Developer

$29/mo

platform fee + usage

  • Webhook events
  • Custom rules (3)
  • SLA 99%
  • AI scans: $0.04/call
  • AI fixes: $0.04/call
  • Email support
Start building
Most popular

Business

$99/mo

platform fee + usage

  • Unlimited custom policies
  • SLA 99.5%
  • AI scans: $0.06/call
  • AI fixes: $0.06/call
  • Volume discounts at 10K calls
  • Priority support
Start free trial

Enterprise

$299/mo+

platform fee + usage

  • IP allowlist
  • SLA 99.9%
  • AI scans (Pro): $0.08/call
  • AI fixes (Pro): $0.35/call
  • Dedicated CSM
  • Custom contract & audit logs
Contact sales

How usage billing works

OperationFreeDeveloperBusinessEnterprise
Rule scan$0.0005 / call$0.0005 / call$0.0003 / call$0.0001 / call
SPHIOR AI scan$0.04 / call$0.04 / call$0.06 / call$0.08 / call
SPHIOR AI fix$0.04 / call$0.04 / call$0.06 / call$0.35 (Pro) / call

Volume discounts apply at 10K, 50K, and 200K calls/month. Spend caps available on all plans.

Start securing your code in minutes

Free to start. No credit card required.