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 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.0: 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.0) 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.0 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.0, $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)

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.3.0 ships a dual-mode composite GitHub Action (CmfH009/Orbit-Security@v1.3.0) 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.0
        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.0
        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.3.0

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.0
File Size Uploaded Provenance Actions
orbit_security-1.3.0.tar.gz 401.9 kB With provenance Details for orbit_security-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 853.2 kB

Release files / orbit_security-1.3.0.tar.gz

Download URL orbit_security-1.3.0.tar.gz
Size 401.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fcc13d59cdffabb5a5fb0b98c5e6a96c5b4897cf1ad3a7624d7b96a000745831
BLAKE2b-256 checksum
How to use checksums
571311ebea6b87c90ae33ee1305336dc000ecab956e5258348f74d7b7d84ba2f
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.0-py3-none-any.whl

Download URL orbit_security-1.3.0-py3-none-any.whl
Size 451.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8f36d88dd3c8827f26c25a46b4cecd1f2eaa3848f0a0482f8d630832c5792e6
BLAKE2b-256 checksum
How to use checksums
2d64dddf20d4085ae7e4d3cf2bea967bb15bee13fee82b50de7964b30d7e0946
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.0

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.0.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