Skip to content

About

Orbit Security: Autonomous external perimeter hygiene, subdomain takeover sentinel, and white-label client security auditing for web & Shopify agencies.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

681 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ 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.4: Turn-key composite GitHub Action (CmfH009/Orbit-Security@v1.2.4) with SARIF 2.1.0 Code Scanning export (--sarif-output), AST Code Sentinel, CISA KEV PR Auditor, 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.4, $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.47/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.4 ships a dual-mode composite GitHub Action (CmfH009/Orbit-Security@v1.2.4) 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.4
        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.4
        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/..."

πŸ› Bug Bounty Disclose Pipeline (disclose)

Automated bug-bounty radar sweep β†’ HackerOne-compliant disclosure generation pipeline. Ingests enrolled program scopes (HackerOne / Bugcrowd), sweeps for dangling CNAME takeovers and mail-spoofing vectors, generates structured disclosure reports, and dispatches HIGH_CONFIDENCE alerts via Discord/Slack webhooks.

# Preview what would be swept (safe β€” no external probing)
uv run orbit-security disclose --dry-run

# Force a live sweep now (bypasses the 2:00–5:00 AM MST off-peak window)
uv run orbit-security disclose --program shopify --now

# Sweep a specific program with passive Certificate Transparency discovery
uv run orbit-security disclose --program shopify --now --passive-ct --max-targets 25

# Custom output directory and webhook alerts for HIGH_CONFIDENCE findings
uv run orbit-security disclose --now --output-dir data/disclosures `
  --webhook-discord "https://discord.com/api/webhooks/..." `
  --webhook-slack "https://hooks.slack.com/services/..."

# Triage existing disclosures (no sweep)
uv run orbit-security disclose --list
uv run orbit-security disclose --json
uv run orbit-security disclose --view cdn.shopify.com
uv run orbit-security disclose --copy cdn.shopify.com
uv run orbit-security disclose --grade HIGH_CONFIDENCE

--dry-run shows which programs would be swept, their in-scope pattern counts, and whether the off-peak window would block execution β€” without probing any external targets.


πŸ“¬ 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.


πŸ—ƒοΈ Remediation Vault Compiler & Deliverability Preflight Gate

1. Pre-KYC Remediation Vault Compiler (scripts/bounty_vault_generator.py)

Consolidates raw passive reconnaissance findings into deduplicated, program-grouped CWE/CVSS v3.1 disclosure dossiers with strict false-positive suppression:

python scripts/bounty_vault_generator.py

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

About

Orbit Security: Autonomous external perimeter hygiene, subdomain takeover sentinel, and white-label client security auditing for web & Shopify agencies.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages