>_ Know your API security posture

Static security analysis for your APIs.

Find misconfigurations in seconds, not weeks. Purpose-built detection for API authorization patterns across multiple languages and frameworks, with zero false positives.

Core CLI with AP001-AP008 free rules
# Install the free CLI
dotnet tool install -g ApiPosture
 
# Scan your API project
apiposture scan ./src/YourWebApi
 
✓ Scanned 47 files
✓ Found 156 endpoints
⚠ 3 critical findings
>_ Security Rules

8 Free Rules + 10 Pro Rules. Zero False Positives.

Purpose-built detection for API authorization patterns. View all rules

[EXPOSURE] HIGH
AP001

Unintentional Public Access

Detects endpoints accessible without authentication that lack explicit public access declaration. Forces intentional decisions about what should be publicly accessible.

[EXPOSURE] HIGH
AP002

Anonymous Write Operations

Catches unauthenticated access on POST, PUT, DELETE, and PATCH operations. Prevents unintended anonymous data modifications.

[CONSISTENCY] MEDIUM
AP003

Authorization Conflicts

Detects when action-level anonymous access overrides controller-level or router-level authorization. Catches conflicting authorization intent.

[CONSISTENCY] CRITICAL
AP004

Missing Auth on Writes

The most critical rule: public write operations without any authorization. Your last line of defense.

[PRIVILEGE] LOW
AP005

Role Sprawl

Flags endpoints with 3+ roles assigned. Encourages policy-based authorization over role accumulation.

[PRIVILEGE] LOW
AP006

Weak Role Names

Detects generic roles: "User", "Admin", "Guest", "Manager". Promotes descriptive naming like "OrderManager" or "ReportViewer".

[SURFACE] MEDIUM
AP007

Sensitive Routes Exposed

Public routes with sensitive keywords: /admin, /debug, /export, /config. Customizable keyword detection.

[SURFACE] HIGH
AP008

Minimal API Gaps

Route handler endpoints missing explicit authorization chains. Full support for modern lightweight API patterns across frameworks.

>_ ApiPosture Pro

Go Beyond Authorization Checks

Pro adds deep source code inspection — OWASP Top 10, secrets detection, diff mode, historical tracking, and risk scoring. Available now for .NET, Node.js, Python, Java, Go and PHP.

🛡️

OWASP Top 10 Rules

8+ advanced rules covering injection, broken access control, SSRF, cryptographic failures, security misconfiguration, and more — with deep method-body analysis.

🔑

Secrets Detection

Detects 30+ secret patterns — AWS, Azure, GCP keys, GitHub tokens, database credentials, JWT secrets — in source files and method bodies.

📂

File-Level Scanning

Scans beyond endpoints: config files, templates, and package manifests — including Razor views, EJS/Handlebars/Pug templates, app entry points, and dependency files for framework-specific vulnerabilities.

📊

Diff Mode

Compare scans over time. Track security improvements or regressions between releases with a single command: apiposture-pro diff baseline.json current.json

📈

Historical Tracking

Every scan auto-saved to a local SQLite database. View trends, spot regressions, and prove your security posture is improving over time.

🎯

Risk Scoring

Automated risk score combining severity, exposure, sensitivity, and finding density — giving you a single number to communicate security posture to stakeholders.

Pricing details

Free

Perfect for individual developers exploring API security. Open-source CLI. 100% local analysis. Your code never leaves your machine.

$0 /year
  • 8 security rules (AP001–AP008)
  • Multi-language & framework support
  • Static source analysis (no build needed)
  • JSON / Markdown / Terminal output
  • CI/CD integration & --fail-on exit codes
  • Privacy-first (100% local, no cloud)
  • MIT licensed, open source
GET IT ON GitHub

Open Source Alpha

Most Popular

Pro

Best for growing teams building secure APIs. Advanced OWASP security scanning with secrets detection, diff mode, and history tracking.

$12 /month
  • Everything in Community
  • OWASP Top 10 rules (AP101–AP108)
  • 30+ secrets detection patterns (AP201)
  • Deep source code & file-level scanning
  • Diff mode — track regressions over time
  • Historical scan tracking (SQLite)
  • Automated risk scoring
JOIN WAITINGLIST

Coming Soon

Upgrade to Pro Compare All Rules

100% local analysis. Your code never leaves your machine.

>_ How It Works

Three Commands. Complete Visibility.

1

Choose

Pick Free or Pro in the hero switcher, choose your runtime, and copy the exact command set that matches your stack.

Free CLI Pro CLI Language-specific Copy ready
2

Scan

Point it at your API project directory.

apiposture scan ./src
3

Review

Get results in Terminal, JSON, or Markdown.

--output json

No compilation required. Works with incomplete code. Static source analysis across languages and frameworks.

>_ Why ApiPosture

Built for Developers. Fast by Design.

Up in 30 Seconds

One command to install. One command to scan. No config files, no 5GB docker-compose, no project setup, no compilation needed.

Hero-driven quick start

Jump to top of page
🚀

Sub-2s Scans

Static source analysis — no runtime, no server, no waiting. A typical codebase with 150+ endpoints scans in under 2 seconds.

50 endpoints < 0.5s
150 endpoints < 1.2s
500+ endpoints < 2s
📋

Output Humans and AI Understand

Terminal output for humans. JSON for automation. Markdown for pull request comments or feeding directly into your AI assistant to fix issues in context.

Terminal JSON Markdown --fail-on high AI-ready
>_ Output Formats

Output That Fits Your Workflow

ApiPosture Scan Results
═══════════════════════════════════════════════════
 
Summary
├─ Files Scanned: 47
├─ Endpoints Found: 156
├─ Findings: 10
└─ Duration: 1.2s
 
Findings by Severity
├─ Critical: 3 ████████
├─ High: 4 ██████████
├─ Medium: 2 █████
└─ Low: 1 ██
>_ CI/CD Integration

Shift Left. Fail Fast.

Integrate into your pipeline in one line.

# .github/workflows/security.yml
 
- name: API Security Scan
run: |
dotnet tool install -g ApiPosture
apiposture scan ./src/Api --fail-on high
GitHub Actions Azure DevOps GitLab CI Jenkins CircleCI Any CI system
>_ By The Numbers

Trusted by Security-Conscious Teams

156+
Endpoints per scan (avg)
17
Security Rules (8 Free + 9 Pro)
<2s
Avg Scan Time
MIT
License - Free OSS
>_ Ready to Secure Your API?

Start scanning in under 60 seconds.

Use the hero command switcher at the top of the page when you want the exact install and first-scan command for Free or Pro. This CTA stays focused on where to go next.

Free tier: 8 rules, all languages, MIT licensed. | Pro: OWASP Top 10, secrets detection, diff mode, risk scoring. — view full comparison.

Choose which optional cookies to allow. You can change this any time.