πŸ” NIBVOK Audit Toolkit

A complete, single-file site audit engine that crawls, probes, tests checkouts, verifies PDF gates, checks security headers, scans SEO, and reports broken assets β€” all in one command. Used to audit nibvok.com itself.

10
Audit Steps
943
Lines of Code
1
Dependency
JSON
+ Markdown Output
$29 one-time Β· includes source + updates

⚑ What It Does

The NIBVOK Audit Toolkit is a single-file Python program that runs ten distinct audit steps against any website. Every check makes real HTTP requests β€” nothing is inferred, nothing is simulated. Results are written as timestamped JSON files (for automation and diffing) plus a human-readable SUMMARY.md report.

πŸ”¬ The 10 Audit Steps

  • πŸ•ΈοΈ
    Crawl β€” Breadth-first walk from the homepage following every internal link. Records status code, byte size, content type, page title, and all internal + external links found. Capped at 400 pages. Core
  • πŸ“‘
    Probe β€” Status-code every URL the audit knows about: every sitemap entry, every crawled page, every known asset path, API endpoint, form action, and deliberately-invalid paths like /zzz-does-not-exist.html. The invalid-path probe is what catches a server that returns 520 instead of an honest 404. Core
  • πŸ“¦
    Assets β€” For every live HTML page, extracts every <link>, <script>, <img>, and media reference. Requests each asset once (memoised) and reports which return 404 and how many pages depend on each broken asset. Unique
  • πŸ”
    SEO β€” Per-page analysis: title length, meta description presence, canonical link, viewport meta, favicon link, og:image, h1 count, image count with alt-text coverage, form count, inline scripts, fetch targets, and TODO/FIXME/Lorem/PLACEHOLDER markers. Core
  • πŸ”—
    Links β€” Cross-references every live page's outbound links against the probe results. Resolves relative hrefs against the page's own directory β€” this is what catches bugs like /book-zero.html from a page at the root when the file lives under /pages/. Advanced
  • πŸ›‘οΈ
    Headers β€” Checks for all six critical security headers: HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy. Reports presence and value. Core
  • πŸ—ΊοΈ
    Sitemap β€” Parses sitemap.xml, requests every <loc>, and reports any that aren't 200. A sitemap with dead entries is worse than a short one. Core
  • πŸ’³
    Checkout β€” Tests BOTH checkout systems: the 89-product store catalog (every SKU) and the book purchase pages. For books, scrapes the price_key each page actually sends and the prices it displays, then asks the Stripe API for that key. Detects when every page sends the same key β€” the bug where every book button charges $5.99 for the same product. Unique
  • πŸ“„
    Gates β€” POSTs an email to the email-gate endpoint, follows the returned download token, fetches the PDF, and verifies the response is a real PDF (%PDF magic bytes). Then opens it to count pages, words, and whether the text layer is readable. Unique
  • πŸ“‹
    Report β€” Rolls all JSON results into a single SUMMARY.md with sections for availability, broken assets, SEO gaps, dead links, checkout status, and gate results. Ready to paste into a PR or dashboard. Advanced
  • πŸ“¦ What You Get

  • πŸ“„
    nibvok_audit.py β€” Single-file Python script (943 lines). The entire tool is one file. Dependencies: requests + optional pymupdf + playwright.
  • πŸ“–
    README.md β€” Full documentation with install, usage for all 10 commands, and explanation of what each step does and why.
  • πŸ“Š
    EXAMPLE_SUMMARY.md β€” The actual output from auditing nibvok.com. Shows what a real report looks like.
  • πŸš€ Quick Start

    pip install requests
    python3 nibvok_audit.py all --base https://yoursite.com --out ./audit

    That's it. Run a single step:

    python3 nibvok_audit.py probe --base https://yoursite.com
    python3 nibvok_audit.py checkout --base https://yoursite.com
    python3 nibvok_audit.py gates --base https://yoursite.com

    βš™οΈ Technical Specs

    Language
    Python 3.8+
    Dependencies
    requests only
    Optional
    pymupdf (PDF text-layer check)
    Output
    JSON per step + SUMMARY.md
    Concurrency
    ThreadPoolExecutor (configurable)
    Max crawl
    400 pages
    License
    MIT β€” use, modify, redistribute freely

    πŸ” Why This Exists

    This toolkit was built because standard site auditors miss the things that actually break a business:

  • πŸ”‘
    Checkout testing β€” Most tools check if a page loads. This tool checks if the payment button actually creates a Stripe session.
  • πŸ“Ž
    Gate verification β€” A 200 OK on an email-gate page doesn't mean the PDF downloads. This tool follows the token and validates the file.
  • 🚫
    Negative testing β€” Probes deliberately-invalid paths to distinguish honest 404s from server outages (520). Most auditors only test what should work.
  • πŸ”„
    Relative-link resolution β€” Resolves every href against the page's own directory, catching the bug where /book-zero.html works on one page and 404s on another because of a relative path mismatch.
  • πŸ“₯ Get the Toolkit

    Includes full source code, README, and example report.

    Buy Now β€” $29 View on GitHub β†’
    MIT licensed Β· No recurring fees Β· Updates included
    ← Back to AI Security