Skip to main content

🛡️ Orbit Security: Attack Surface & Subdomain Hygiene Sentinel

Orbit Security Perimeter Sentinel GitHub release (latest by date) License: MIT Python 3.13+ Live Demo & Fleet Center

Orbit Security is an autonomous external perimeter auditor and attack surface sentinel built for web design, development, and digital marketing agencies. It monitors client domains for dangling CNAME takeovers, email spoofing risks (DMARC/SPF), exposed environment secrets (.env, .git), and expiring SSL certificates—automatically compiling co-branded, white-label monthly audit PDFs that agencies send to their clients to justify and elevate their recurring monthly maintenance retainers.


📍 Project Status & Roadmap

Artifact What it is
ROADMAP.md Phase plan (Trust Surface → Product Integrity → Revenue Loop → AI-Search Authority → Scale & Harden) with owners, exit gates, risk register and a 14-day view
SECURITY.md Coordinated Vulnerability Disclosure policy, RFC 9116 security.txt, and CFAA Safe Harbor rules of engagement
Live showcase https://cmfh009.github.io/Orbit-Security/ · About: https://cmfh009.github.io/Orbit-Security/about.html

Shipped in v1.2.5: Turn-key composite GitHub Action (CmfH009/Orbit-Security@v1.2.5) with SARIF 2.1.0 Code Scanning export (--sarif-output), AST Code Sentinel, CISA KEV PR Auditor, lean core Python dependencies, lightweight MainWP Agency Connector (integrations/mainwp-orbit-security/), live Gemini/Ollama GEO Prompt Panel, and 3 agency GEO guides (100/100 Lighthouse).


⚖️ Open-Core Model: Free Self-Hosted CLI vs. Managed Agency Cloud

Orbit Security uses the same open-core model as Sentry, Plausible, and PostHog:

What you get Free Self-Hosted (v1.2.5, $0) Managed Agency Cloud ($29 / $59 / $99 per mo)
Core Scanner & Fixpacks Full Python 3.13 CLI, passive DoH/DMARC/takeover engine, 52-provider table, BIND/Terraform fixpacks, GitHub Action, MainWP connector Everything in the open-source engine, managed for you
Scheduling & Operations DIY — you install Python 3.13, maintain cron jobs across client lists, and fix breakages Zero ops — continuous scans across 15, 40, or 100 client domains without touching a terminal
White-Label Delivery Manual PDF generation and email delivery Hosted co-branded portals, custom logo/palette, and automated 1st-of-month executive PDF dispatch
Alerting & Support DIY webhook/Slack wiring Dedicated Slack/webhook drift alerts, priority support, and custom SLA/security reviews (Pro tier)

Busy Shopify and WordPress agencies pay $59/mo ($1.48/site) to skip maintaining scripts and cron jobs and hand clients branded monthly reports on $250/mo care plans. -> Start Managed Plan


🎯 The Daily Micro-Revenue Model ($10 – $100/day)

Agencies charge 20–100+ clients between $150 and $350/month for "Website Maintenance & Care Plans". However, clients frequently ask: "What are we paying you for if the site hasn't changed?"

By delivering a co-branded, high-polish Security & Perimeter Audit on the 1st of every month:

  1. The agency protects and justifies their retainer revenue.
  2. You charge the agency $29 – $99/month.
  3. With just 15 to 25 agency accounts, you generate a reliable $50/day ($1,500/month) with near-zero marginal cost and virtually zero churn.

🚀 Quickstart

0. Install the CLI (any machine)

pip install "orbit-security @ git+https://github.com/CmfH009/Orbit-Security.git"

That installs three entry points: orbit-security (full CLI), orbit-recon (standalone perimeter recon) and agency-sentry.

Note on PyPI: the package is not published to PyPI yet, so pip install orbit-security does not resolve. The command above installs from the GitHub source and is verified to build and install cleanly. A PyPI release is on the roadmap - until then, use the source install.

1. Installation (development)

cd C:\AgyHut\projects\orbit-security
uv sync

2. Run a Live Audit

uv run orbit-security scan example.com --agency-name "Apex Digital Studio" --output-pdf audit.pdf --output-md audit.md

3. Specify Target Subdomains

uv run orbit-security scan myclient.com --subdomains "staging.myclient.com,promo.myclient.com,dev.myclient.com" --output-pdf client_audit.pdf

🔍 Core Security & Hygiene Checks

  1. Subdomain Takeovers (Dangling CNAMEs):
    • Resolves subdomains against known vulnerable SaaS signatures (Unbounce, GitHub Pages, AWS S3, Heroku, Webflow, Shopify, Zendesk, Pantheon, Netlify, Surge).
    • Probes endpoints for unattached provider 404 error strings.
  2. Email Spoofing & Phishing Resistance:
    • DMARC inspection (_dmarc.<domain>), distinguishing between active enforcement (p=quarantine/p=reject) and monitoring-only mode (p=none).
    • SPF inspection (v=spf1), alerting on missing or dangerously permissive (+all) rules.
  3. Exposed Critical Files:
    • Detects publicly accessible /.env, /.git/HEAD, and /wp-config.php.bak.
  4. Transport & Application Headers:
    • HSTS (Strict-Transport-Security), Content Security Policy (Content-Security-Policy), and Clickjacking mitigation (X-Frame-Options).
  5. SSL/TLS Certificate Validity:
    • Validates socket TLS certificates, calculating exact days until expiration.


⚡ Autonomous CLI Scanner (orbit-recon)

orbit-recon is our standalone, zero-dependency external attack surface scanner:

# Scan a single domain
python tools/orbit-recon.py example.com

# Scan multiple domains with Markdown matrix export & CI/CD gate
python tools/orbit-recon.py --targets-file domains.txt --markdown fleet_matrix.md --fail-on-critical

🤖 CI/CD GitHub Action (action.yml)

Orbit Security v1.2.5 ships a dual-mode composite GitHub Action (CmfH009/Orbit-Security@v1.2.5) that supports both Static PR Code & CISA KEV Gating with SARIF 2.1.0 export and External Domain Perimeter Auditing:

1. PR Static AST, Secret & CISA KEV Gate + SARIF 2.1.0 Code Scanning

name: Orbit Security PR Gate

on: [push, pull_request]

permissions:
  contents: read
  security-events: write

jobs:
  security-gate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 2

      - name: Run Orbit Security CI/CD Gate
        uses: CmfH009/Orbit-Security@v1.2.5
        with:
          target-path: 'src'
          scan-types: 'ast,secrets,cisa-kev'
          fail-on-findings: 'true'
          sarif-output: 'orbit-security.sarif'

      - name: Upload SARIF 2.1.0 to GitHub Code Scanning
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: orbit-security.sarif

2. External Domain Perimeter Sentinel

Gate deployments by verifying that no staging subdomains, broken CNAMEs, or exposed secrets slip into production:

name: Orbit Security Perimeter Sentinel

on: [push, pull_request]

jobs:
  perimeter-audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Audit External Perimeter
        uses: CmfH009/Orbit-Security@v1.2.5
        with:
          target: 'myagency.com'
          # Or specify a list of client domains:
          # targets-file: '.orbit-targets.txt'
          fail-on-critical: 'true'
          markdown-summary: 'true'

When markdown-summary is enabled, the formatted audit table is automatically rendered right inside the GitHub Actions run summary tab!

Native GitHub Actions Workflow (.github/workflows/orbit-perimeter-sentinel.yml)

The repository also ships a native GitHub Actions workflow that runs on every push/PR to main and develop. It reads targets from .orbit-targets.txt (RFC 2606 reserved domains by default — never third-party production sites), executes the composite action with fail-on-critical: true, and uploads the Markdown audit report as a workflow artifact:

on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main, develop]
jobs:
  perimeter-audit:
    runs-on: ubuntu-latest
    continue-on-error: false
    steps:
      - uses: actions/checkout@v4
      - name: Read target domains
        id: targets
        run: |
          # Reads .orbit-targets.txt (comments + blanks stripped)
          # Falls back to repo's GitHub Pages domain or example.com
      - name: Run Orbit Security Perimeter Audit
        uses: ./
        with:
          targets-file: ${{ steps.targets.outputs.targets-file }}
          fail-on-critical: 'true'
          markdown-summary: 'true'
          export-markdown: 'orbit-perimeter-audit.md'
      - name: Upload audit report artifact
        uses: actions/upload-artifact@v4
        with:
          name: orbit-perimeter-audit
          path: orbit-perimeter-audit.md

🔔 Slack & Discord Webhooks

Send real-time alerts when client perimeters drift into dangerous states:

python scripts/scheduled_sentinel.py \
  --clients-file data/clients.json \
  --slack-webhook "https://hooks.slack.com/services/..." \
  --discord-webhook "https://discord.com/api/webhooks/..."

📬 Cohort Outreach Audit Generator (run_cohort_outreach.py)

Batch-generates co-branded perimeter-hygiene audit PDFs + Markdown reports from data/new_prospects.json for agency outreach. Each prospect's primary portfolio domain is scanned and a white-label report is emitted under data/generated_audits/<agency-slug>/.

# Preview what would be generated (no scanning, no file writes)
.venv\Scripts\python.exe scripts\run_cohort_outreach.py --dry-run --limit 3

# Scan all 54 prospects
.venv\Scripts\python.exe scripts\run_cohort_outreach.py

# Limit to 10 prospects, custom output dir
.venv\Scripts\python.exe scripts\run_cohort_outreach.py --limit 10 --output-dir out/audits

# Only agencies whose name contains "Blue" (case-insensitive)
.venv\Scripts\python.exe scripts\run_cohort_outreach.py --agency "Blue"

# Combine filter + limit + dry-run
.venv\Scripts\python.exe scripts\run_cohort_outreach.py --agency "Blue" --limit 5 --dry-run

Each audit includes the agency's name, support email, and website in the report header — ready to attach to cold-email outreach.


🕵️ Passive OSINT Intelligence

Every orbit-security scan now cross-references the target against the curated public-apis catalog (C:\AgyHut\reference\public-apis\db\resources.json, 1,690+ APIs). The OSINT section in the terminal, Markdown, and PDF reports shows:

  • Catalog APIs indexed and security/OSINT endpoints count
  • Domain matches: catalog APIs whose name/domain/link mention the target
  • Pivot domains: unique host domains across security/OSINT catalog entries for attack-surface expansion

This is purely passive (local file lookup, no network to the target) and gives agencies a ready-made list of recon tooling to recommend to clients.


🗃️ Deliverability Preflight Gate

Anti-Bounce Contact Deliverability Gate (scripts/verify_contacts.py)

Verifies agency contact emails against live MX records and published contact pages, de-obfuscates HTML entities / [at] patterns, filters retina image filenames (logo@2x.png), and enforces a CI/CD preflight gate before outreach dispatch:

python scripts/verify_contacts.py --preflight --max-unresolved 0 --min-deliverable-rate 0.80

🧪 Testing

Run the automated test suite (1,250 tests, 100% green):

uv run pytest

🌐 Live Platform & Demos

Metadata

Release files for orbit-security 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orbit-security 1.2.5
File Size Uploaded Provenance Actions
orbit_security-1.2.5.tar.gz 400.1 kB With provenance Details for orbit_security-1.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orbit-security 1.2.5
File Interpreter ABI Platform Actions
orbit_security-1.2.5-py3-none-any.whl Python 3 none any Details for orbit_security-1.2.5-py3-none-any.whl

Total release size: 848.9 kB

Release files / orbit_security-1.2.5.tar.gz

Download URL orbit_security-1.2.5.tar.gz
Size 400.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87f3f14313885c0a6261dc8ec328f7f7c5c1c876240687b7ca852e32f92253ec
BLAKE2b-256 checksum
How to use checksums
5985663fa6baf26bac8ce96cc64d738bf9719fd94d2fd23283060ad89c45410f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / orbit_security-1.2.5-py3-none-any.whl

Download URL orbit_security-1.2.5-py3-none-any.whl
Size 448.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b678c0814c27a9c6661d82d393f8dd28b3488ae29152a94bba0caac788e0ffe6
BLAKE2b-256 checksum
How to use checksums
7cd29b8b3624a8799a01c448cf96afa49169a348fab47cc70d5ad2a9f1023aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for orbit-security 1.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for orbit_security-1.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page