Skip to main content

🛡️ Orbit Security: Attack Surface & Subdomain Hygiene Sentinel

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

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.3.1 (building on v1.3.0): Modularized core engine subpackages, live Cloudflare Pages enforcing CSP + 7/7 HTTP security headers (100/100 Grade A+, 0 header warnings) and signed webhook/funnel edge functions, passive TLS/CT expiry & shadow-cert monitoring (--tls-ct), versioned fleet baseline diff (orbit-security diff) with Slack/Discord/HMAC webhook drift alerts, passive WordPress/CMS KEV risk mapping (--cms-kev), upgraded composite GitHub Action (CmfH009/Orbit-Security@v1.3.1) with sticky PR scorecards, .orbit-baseline.json suppression, and SARIF 2.1.0 export, scheduled 1st-of-month white-label PDF dispatch (orbit-security monthly-dispatch), MainWP 1.3.1 connector, and a zero-install Google Colab audit notebook.


⚖️ 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.3.1, $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

Try Zero-Install in Google Colab

Run an authorized white-label perimeter audit (Markdown, JSON baseline, executive PDF, and DNS fixpack ZIP) directly in your browser with no local Python setup:

Open In Colab

0. Install the CLI (any machine)

pip install orbit-security

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

PyPI & Source Install: orbit-security is published on PyPI with OIDC Sigstore attestations (pip install orbit-security). To test unreleased main commits, run pip install "orbit-security @ git+https://github.com/CmfH009/Orbit-Security.git".

1. Installation (development)

git clone https://github.com/CmfH009/Orbit-Security.git
cd 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.3.1 ships a dual-mode composite GitHub Action (CmfH009/Orbit-Security@v1.3.1) that supports both Static PR Code & CISA KEV Gating with sticky PR scorecards, .orbit-baseline.json suppression, and 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.3.1
        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.3.1
        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/..."

🕵️ Passive OSINT Intelligence

Every orbit-security scan cross-references the target against the bundled public-apis JSON catalog (data/public_apis_resources.json, 1,690+ indexed APIs when present). 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.


🗃️ Contact MX Deliverability Gate

Anti-Bounce Contact Verification (scripts/verify_contacts.py)

Verifies opted-in agency and client contact emails against live MX records, de-obfuscates HTML entities / [at] patterns, and filters retina image filenames (logo@2x.png) before automated report dispatch:

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

🧪 Testing

Run the offline automated test suite (1,430+ tests):

python -m pytest -m "not live"

🌐 Live Platform & Demos

Metadata

Release files for orbit-security 1.3.1

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.3.1
File Size Uploaded Provenance Actions
orbit_security-1.3.1.tar.gz 405.0 kB With provenance Details for orbit_security-1.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 871.5 kB

Release files / orbit_security-1.3.1.tar.gz

Download URL orbit_security-1.3.1.tar.gz
Size 405.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c599db4500266d452f66a6228c1422fbff45ef24e95d52422a23b990b8ca6e8e
BLAKE2b-256 checksum
How to use checksums
56c34df2df7ab2e5b926472f50b1190796e7ace0144c0a30b2aa33da6d06748a
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 5, 2026.

Transparency log

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

Download URL orbit_security-1.3.1-py3-none-any.whl
Size 466.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78b3cf3c9d86e7238c9527afe1cf91d301a719ae86348a96b492e795f50446b4
BLAKE2b-256 checksum
How to use checksums
fc37cad6c296ab20c85b89fed9fa54d7d33e22864cb12518b8fcaeca8b0a5848
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 5, 2026.

Transparency log

Security for orbit-security 1.3.1

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.3.1.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 5, 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