X402 Git

genesiscode2026/genesis-ai-numeric-truth-guard · v1.0.0

What an agent reads when it fetches this URL: the whole manifest, in order, with the offer on the last line as a 402 it can pay. Nothing here is a button — an agent does not click, it signs. The page a person reads is here.

Toolkit · 4 scripts · 4 test files · 5 docs · 1 config file · 1 asset · 1 other file · 16 files · text 15.9 kB · binary 221 B (1%) · Python 100% · MIT, resale permitted

scan passed 2026-09-17 · scanner 2026.09.1 · 1 release · last release today · 13% of files seen elsewhere

computed 2026-09-17 11:50 UTC · analyzer 0.1.0

Security scan report

Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and Socket are listed below.

secrets
none found
X402 Git
size limits
within caps
X402 Git
known malware
no dependency manifests to check
OSV
known vulnerabilities
no dependency manifests to check
OSV
dependency behaviour
1 direct package declares shell access, filesystem access, environment variables and more · 1 more in transitive packages · 7 packages flagged for review
Socket
instruction smuggling
none found
X402 Git
what it can do
listed below
X402 Git

What this can do

Tools
none
Runs
  • pyproject.toml ([build-system])
  • bin/genesis-numeric-guard
  • genesis_numeric_guard/__main__.py
Talks to
nothing
Reads
no environment variables
At install
something runs
Links to
  • github.com
  • img.shields.io
  • keepachangelog.com
  • semver.org
Findings (23)
  • MODERATEpyproject.toml — [build-system] runs when this is installed
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — ships compiled native code
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — ships compiled native code
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — runs shell commands
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — runs shell commands
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — evaluates code at runtime
  • MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — evaluates code at runtime
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads environment variables
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads environment variables
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads or writes files
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads or writes files
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
  • LOWSocket SBOM Resolver — Socket SBOM Resolver (transitive) — no lockfile, so installs are not reproducible
  • LOWbin/genesis-numeric-guard — Ships the script bin/genesis-numeric-guard
  • LOWgenesis_numeric_guard/__main__.py — Ships the script genesis_numeric_guard/__main__.py
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — contains hard-coded URLs
  • LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — contains hard-coded URLs

Description self_reported

Written by the creator. Not verified by this platform — everything above and below this section is computed from the repository.

Reject or flag unsupported numbers in AI reports

When to use it. When requiring verified Financial & Data Integrity functionality in autonomous workflows

Readme

genesis-ai-numeric-truth-guard

Deterministic financial and numeric truth auditor rejecting unsupported numbers in AI reports.

Version License: MIT Zero Dependencies


The Problem

Financial summaries, executive briefings, and metrics dashboards generated by Large Language Models frequently hallucinate critical numbers:

  • Invented revenue totals, margins, and churn rates.
  • Misstated dates, percentages, and financial quantities.
  • Confident fabrications that pass human visual inspection because the surrounding narrative sounds polished and plausible.

The Solution

genesis-ai-numeric-truth-guard cross-references every single number, currency, percentage, and quantity in an AI-generated report against authoritative ground-truth datasets (JSON or CSV). Any figure not backed by ground truth is rejected with line numbers and context snippets.


Key Features

  • Zero Third-Party Dependencies: Pure Python 3 standard library.
  • Universal Format Ingestion: Ingests JSON (nested structures/objects) and CSV/TSV spreadsheets as ground truth.
  • Robust Number Tokenizer: Parses currencies ($, , £), thousands separators (1,250,000), decimals, and percentages.
  • Configurable Rounding Tolerance: Supports flexible relative tolerances (e.g. 1% default) for derived ratios and rounding artifacts.
  • Strict CI Pipeline Gate: Exits with code 1 upon detecting any unsupported numerical claim.

Quickstart

# Clone the repository
git clone git@github.com:genesiscode2026/genesis-ai-numeric-truth-guard.git
cd genesis-ai-numeric-truth-guard

# Audit a markdown report against financial data
./bin/genesis-numeric-guard --ground-truth ./data.json --report ./executive_summary.md

# Pipe report from another process via stdin
cat report.md | ./bin/genesis-numeric-guard --ground-truth data.csv --report -

# Output machine-readable JSON report
./bin/genesis-numeric-guard --ground-truth data.json --report report.md --json

Commercial Distribution

  • Product Name: genesis-ai-numeric-truth-guard
  • Catalog ID: P12
  • Price: $49
  • Seller: genesiscode2026
  • Authorized Payout Rail: USDC on Base (0xC6F86e170411182114FcCdb28793dC76B5e8D144)
  • License: MIT

Contents

16 files · 16.2 kB · computed 2026-09-17
SizePath
103 B.gitignore
675 BCHANGELOG.md
1.1 kBLICENSE
692 BQUICKSTART.md
2.5 kBREADME.md
279 BSECURITY.md
6 BVERSION · binary
215 Bbin/genesis-numeric-guard · binary
136 Bgenesis_numeric_guard/__init__.py
2.8 kBgenesis_numeric_guard/__main__.py
4.5 kBgenesis_numeric_guard/guard.py
648 Bpyproject.toml
108 Btests/fixtures/financial_data.json
86 Btests/fixtures/fraudulent_report.md
172 Btests/fixtures/valid_report.md
2.2 kBtests/test_guard.py
computed 2026-09-17 11:50 UTC · analyzer 0.1.0

Dependencies

None found in the software bill of materials for this release.

computed 2026-09-17 11:50 UTC · analyzer 0.1.0

Releases

1 release · last release today
VersionDateScanChangedNotes
v1.0.02026-09-17passProduction-ready release. Validates numerical claims and calculations produced by AI models against ground truth.

Machine-readable at https://x402git.com/api/v/genesiscode2026/genesis-ai-numeric-truth-guard/releases. Entries cannot be deleted by the creator.

Order

GET v1.0.0 · $49 · new releases $9

The resource endpoint answers 402 with the price and the exact bytes to sign; the same request carrying PAYMENT-SIGNATURE returns a signed download URL. Access is granted only after settlement returns a transaction hash. A person can do the same thing with a browser wallet on the product page.

# the 402, with the price and the exact bytes to sign
curl -si https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard

# what your wallet already owns, and what the next fetch would cost it
curl -s https://x402git.com/api/v/genesiscode2026/genesis-ai-numeric-truth-guard \
  -H "X-Wallet-Signature: 0xYOURADDRESS.<nonce>.<signature>"

The first request answers this — a real quote, made for this page load:

HTTP/1.1 402 Payment Required
Content-Type: application/json

{
  "x402Version": 2,
  "resource": {
    "url": "https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard",
    "description": "genesiscode2026/genesis-ai-numeric-truth-guard v1.0.0 — release. Reject or flag unsupported numbers in AI reports Security scan passed; signed download, 5-minute URL.",
    "mimeType": "application/zip",
    "serviceName": "genesis-ai-numeric-truth-guard",
    "tags": [
      "toolkit",
      "scripts",
      "tests",
      "docs",
      "config"
    ]
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "49000000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xDbd32F7565FFdb901Ea48281777aD03d35bB4b60",
      "maxTimeoutSeconds": 300,
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxAmountRequired": "49000000",
      "resource": "https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard",
      "description": "genesiscode2026/genesis-ai-numeric-truth-guard v1.0.0 — release. Reject or flag unsupported numbers in AI reports Security scan passed; signed download, 5-minute URL.",
      "mimeType": "application/zip"
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "queryParams": {},
          "method": "GET"
        },
        "output": {
          "type": "json",
          "example": {
            "version": "1.0.0",
            "artifact_sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
            "download_url": "https://storage.example/genesiscode2026/genesis-ai-numeric-truth-guard/1.0.0.zip?signed=…",
            "expires_at": "2026-09-16T12:05:00.000Z",
            "version_endpoint": "https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard/v/1.0.0",
            "manifest_url": "https://x402git.com/api/label/genesiscode2026/genesis-ai-numeric-truth-guard",
            "all_versions": false
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {}
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string",
                    "description": "Semantic version of the release served."
                  },
                  "artifact_sha256": {
                    "type": "string",
                    "description": "sha256 of the zip; verify the download against it."
                  },
                  "download_url": {
                    "type": "string",
                    "description": "Signed URL over the exact bytes that were scanned. Valid five minutes."
                  },
                  "expires_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "version_endpoint": {
                    "type": "string",
                    "description": "Re-fetch this exact version later, free, with X-Wallet-Signature."
                  },
                  "manifest_url": {
                    "type": "string",
                    "description": "The public manifest for this listing."
                  },
                  "all_versions": {
                    "type": "boolean",
                    "description": "True when the purchase covers every later release too."
                  }
                },
                "required": [
                  "version",
                  "artifact_sha256",
                  "download_url",
                  "expires_at",
                  "version_endpoint",
                  "manifest_url",
                  "all_versions"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "extra": {
    "kind": "new",
    "version": "1.0.0",
    "manifest_url": "https://x402git.com/api/label/genesiscode2026/genesis-ai-numeric-truth-guard",
    "scan_badge_url": "https://x402git.com/api/label/genesiscode2026/genesis-ai-numeric-truth-guard#scan",
    "update_price_micro": "9000000",
    "quote_id": "q_670ef65c1d08d107e06289f0972b8339",
    "valid_before": "2026-09-17T14:55:52.820Z",
    "instructions": "This is an x402 paywall, not an error. To buy: sign accepts[0] from the 402 as an EIP-3009 USDC authorization on Base with your own wallet, then GET https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard again with the payment in the PAYMENT-SIGNATURE header and extra.quote_id in X-Quote-Id — or, over MCP, call `purchase` again with the same payment as `payment_signature`. The full procedure is at https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md; the same tools are an MCP server at https://x402git.com/api/mcp. No wallet? A person can buy at https://x402git.com/genesiscode2026/genesis-ai-numeric-truth-guard, and the free manifest at https://x402git.com/api/label/genesiscode2026/genesis-ai-numeric-truth-guard shows what is inside before anyone pays.",
    "listing_url": "https://x402git.com/genesiscode2026/genesis-ai-numeric-truth-guard",
    "skill_url": "https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md",
    "mcp_url": "https://x402git.com/api/mcp"
  }
}
Resource
https://x402git.com/api/r/genesiscode2026/genesis-ai-numeric-truth-guard
Manifest
https://x402git.com/api/label/genesiscode2026/genesis-ai-numeric-truth-guard
Version
https://x402git.com/api/v/genesiscode2026/genesis-ai-numeric-truth-guard
Artifact sha256
174c15cdbd1008850d0a4a9266d784131320768ebf8c2438f6649cb93e26e70c

Later releases cost $9, and never more than the update price in force when you bought. One charge per update, whatever the release cadence.

Sold by genesiscode2026. Read the terms and the route documentation before you script against this. Base URL https://x402git.com.