Skip to content
@bde-labs

BDE Labs

Small, offline, zero-dependency developer tools and static checkers. MIT licensed.

BDE Labs

Small, focused, offline, zero-dependency developer tools and static checkers.

Every tool lives in its own MIT-licensed repository, runs on Python 3.9+ using only the standard library, makes no network calls, and ships with an offline test suite (bash check).

Why standalone micro-checkers?

  • Auditable in minutes. Each tool solves one concrete verification problem with small modules and explicit scope.
  • Zero dependency sprawl. Clone and run with python3 -B -m <package> (or install with pip / pipx / uvx on repos with pyproject.toml).
  • Safe on untrusted inputs. Scanners inspect saved files or stdin without importing, executing, or modifying what they analyze.

Public tool catalog

New tools are published here continuously as they pass automated testing and independent code review.

AI, Agents & MCP Security

Repository What it checks
agent-file-scan Pre-open static scan for hidden instructions in files coding agents read
context-claim-check Verifies file-path claims inside AGENTS.md and CLAUDE.md exist on disk
gguf-header-check Inspects and validates GGUF model file headers offline
local-mcp-http-scan Static pre-install scan of local MCP HTTP server code for risky bindings and transports
mcp-auth-metadata-check Checks saved OAuth / MCP discovery JSON documents for identity misconfigurations
model-repo-scan Scans downloaded model folders and archives for code-execution and path-write hooks
run-band-check Evaluates saved agent-task run logs against expected pass-rate bands
skill-install-scan Static scan of SKILL.md and installer scripts for risky command patterns
tool-manifest-drift-check Diffs pinned vs. current MCP tools/list JSON manifests for unexpected drift

AppSec, DevOps & Code Review

Repository What it checks
check-calibrate Calibrates a project's check script against known-good and known-bad mutation fixtures
dependabot-config-check Checks a documented subset of Dependabot configuration options offline
diff-secret-check Scans added lines in unified diffs for leaked credentials and token shapes
docstring-raises-check Finds handlers that swallow exceptions a Python docstring says the function raises
epss-file-check Checks a daily EPSS score CSV for header, row, rank, and series errors
feature-order-check Predicts local Dev Container Feature install rounds without running a build
finding-closure-check Compares before and after SARIF logs so a quiet report cannot close a finding by itself
git-objectformat-check Checks saved Git fixtures for SHA-1 versus SHA-256 object-id length and format agreement
worktree-strand-check Lists local git worktrees and flags stranded commits, orphan detached HEADs, and dirty trees
hook-history-check Inspects git log -p history or diffs for suspicious hook and config changes
image-label-scan Checks saved container image metadata JSON for host-steering label keys
open-run-scan Pre-open scan for auto-run repo triggers (folderOpen tasks, prepare hooks, etc.)
shell-expansion-check Checks Bash command lines against a strict allowlist of safe syntax and expansions
stale-pass-check Verifies test-pass claims against an event timeline to flag stale results
startup-hook-check Reports Python startup hooks (.pth, sitecustomize, etc.) and unclassifiable lines
test-tamper-check Flags test-weakening edits (skipped tests, loosened assertions) in pytest/unittest diffs
webhook-verify-scan Static scan for four common HMAC webhook signature verification bugs

Databases, Data & Smart Contracts

Repository What it checks
abi-selector-check Checks Solidity ABI selectors and event topics with Keccak-256 offline
alt-layout-check Checks synthetic Solana v0 transactions and address lookup tables offline
asof-leak-check Flags look-ahead / point-in-time feature leakage in tabular datasets
bar-integrity-check Checks OHLCV time-series bar CSVs for timestamp gaps, ordering, and arithmetic consistency
beacon-balance-check Offline recheck of synthetic Ethereum validator balances against consensus formulas
bolt12-offer-check Checks synthetic BOLT 12 offers offline for encoding, TLV, and field-rule errors
data-streams-report-check Checks made-up decoded Chainlink Data Streams v3 reports for feed, time, price band, and replay rules
erc1155-uri-check Checks an ERC-1155 uri template, a token-ID list, and a metadata folder offline
erc1271-check Static scan of Solidity and Vyper contracts for ERC-1271 isValidSignature pitfalls
erc6492-wrap-check Checks ERC-6492 wrapped signatures and claimed verifier outcomes offline
history-contract-check Check synthetic beacon-root and history-storage logs against the EIP-4788 and EIP-2935 rings
ibc-commit-check Checks made-up IBC commitment packets for timeout, sequence, and acknowledgement rules
log-index-check Checks a saved Ethereum block JSON dump for log index order and bloom consistency
pg-hba-scan Static checker for PostgreSQL pg_hba.conf (trust, weak auth, open CIDR, shadowed rules)
rls-migration-check Replays SQL migrations to flag missing RLS, always-true policies, and unsafe grants
sql-log-scan Offline triage scanner for SQL query logs flagging suspicious statement patterns
typed-data-check Validates EIP-712 typed-data payloads (domain, chain ID, deadlines, addresses) offline

Finance, Lending & Compliance

Repository What it checks
apy-check Checks stated APY on synthetic savings and CD files against Regulation DD appendix A
arm-reset-check Checks synthetic ARM index lookback, rate caps, payment recast, and notice dates
assessment-cap-check Offline check of synthetic parcel values against Texas, California, and Florida assessment caps
deed-closure-check Checks synthetic metes-and-bounds deed calls for curve geometry, closure, and area
deferral-limit-check Rechecks synthetic 2026 and 2027 paycheck files against published retirement and HSA limits
deposit-cover-check Rechecks synthetic household deposit lists against pinned deposit-insurance category limits
draw-request-check Arithmetic and column-consistency checker for construction draw-request CSVs
dscr-noi-check Rechecks made-up rental pro formas and small loans for NOI, debt service, and DSCR
fee-tolerance-check Offline arithmetic tolerance checker for synthetic loan-estimate vs. closing-disclosure CSVs
fiscal-sum-check Rechecks published totals in saved U.S. Treasury Fiscal Data API JSON files
fix-frame-check Checks FIX tag=value log framing, BodyLength, CheckSum, and data fields
flood-zone-check Field-consistency pre-check for flood-zone CSV records
heloc-statement-check Rechecks synthetic HELOC statement finance charge, APR, roll-forward, and recast payment
hmda-lar-check Offline format pre-check for HMDA LAR files targeting the 2026 FIG layout
irmaa-tier-check Checks CSV MAGI rows against the bundled 2027 IRMAA Part B and Part D tables
ofx-statement-check Offline structural and balance checker for OFX 2.x XML bank and credit-card statements
order-filter-check Checks planned paper orders against a saved exchange rule snapshot
pain001-check Offline validator for ISO 20022 pain.001 payment initiation XML files

Documents, Citations & Media

Repository What it checks
bib-library-check Cross-checks BibTeX citations against a supplied CSL-JSON reference library
bps-layout-check Checks US Census Building Permits Survey county and place file layouts offline
chars-table-check Offline layout and arithmetic checker for U.S. Census Characteristics of New Housing tables
epts-segment-check Checks that one saved football match's metadata, tracking, and events files agree
ffmetadata-chapter-check Checks an FFmpeg ffmetadata chapter file and prints the chapter table in seconds
figure-evidence-check Checks extracted numeric figure answers against supplied source page text
film-code-check Validates Sportscode-style film-tag XML files offline
geoid-check Checks Census place codes in a CSV for shape errors and county-list membership
hpxml-leakage-check Checks an HPXML file for air-leakage and duct-leakage values used by home-energy models
listing-inventory-check Checks synthetic housing inventory CSV files for counts, fractions, and quality flags
report-check Verifies structured claims in a work report against supplied evidence files
statcast-csv-check Checks local pitch-level CSV files, keys, and strike-zone geometry offline
timecode-check Validates drop-frame and non-drop-frame SMPTE timecode CSV clip lists
transcript-quote-check Verifies quoted excerpts in Markdown against a WebVTT (.vtt) transcript

More public tools

Repository What it checks
45l-credit-check Offline checker for synthetic IRC section 45L credit worksheets and ENERGY STAR program versions.
ach-file-check Offline checker for synthetic US ACH payment files in the NACHA fixed-width layout.
acp-trace-check Offline checker for saved Agent Client Protocol v1 JSON-line recordings.
actions-policy-check Predict which GitHub Actions references a saved allow, block, and pin policy would block.
adverse-action-check Offline checker for synthetic credit-decision logs against Regulation B notice rules.
agent-card-check Offline structure check for synthetic A2A v1.0 Agent Card JSON files.
agent-feedback-check Offline checker for synthetic ERC-8004 agent registration, feedback rows, and summary math.
aigc-label-check Offline linter for saved GB 45438-2025 AI-content metadata label strings and carrier locations.
apr-tolerance-check Offline actuarial check that a disclosed closed-end APR is inside Regulation Z Appendix J tolerance.
art50-marking-check Offline checker for synthetic AI-content marking plans against voluntary EU Article 50 Code measures.
async-vault-check Offline shape check for an ERC-7540 vault ABI and its ERC-165 interface ids.
auth-tuple-check Offline check of synthetic EIP-7702 authorization tuples before they are signed.
bcs-canon-check Offline checker for canonical Binary Canonical Serialization (BCS) bytes against declared schemas.
bitcoin-uri-check Offline checker for synthetic bitcoin: payment links against BIP 321.
blob-fee-check Offline recheck of synthetic Ethereum blob-fee headers against a declared chainspec.
bolt11-check Offline BOLT 11 Lightning invoice decoder and validator with secp256k1 signature recovery.
bond-accrual-check Offline recheck of synthetic bond confirmations, accrued interest, and dirty totals.
bot-signature-check Offline checker for HTTP message signatures on synthetic web bot requests.
bundle-shape-check Offline lint of a synthetic Solana bundle's size, duplicates, tip, and ordering.
buydown-ipc-check Offline recheck of synthetic temporary rate buydowns, concession caps, and LTV.
c2pa-state-check Derive C2PA Valid or Trusted state from saved validation status codes.
c30-release-check Offline checker for U.S. Census C30 construction spending release workbooks, text, and time series.
cache-trace-check Offline recheck of synthetic multi-hop HTTP cache traces and stated decisions.
cam-recon-check Offline recheck of a synthetic commercial lease CAM reconciliation.
caption-pair-check Compare one SRT file and one WebVTT file for the same captions, times, and words.
card-repayment-check Offline checker for synthetic credit card statement repayment disclosures and excess payment allocations.
card-yaml-check Offline validator for synthetic Hugging Face model and dataset card YAML front matter and eval files.
cashout-ltv-check Recheck synthetic conventional cash-out LTV, CLTV, HCLTV, and seasoning clocks.
cctp-message-check Offline checker for synthetic CCTP V2 emitted and attested message pairs and receive contexts.
claude-settings-check Lint a Claude Code settings.json for permission rules and hook matchers that never match.
clob-order-check Recheck a synthetic prediction-market order, book, and response offline.
closing-proration-check Recheck synthetic closing-sheet per diem, prepaid days, and prorations.
cobertura-report-check Combine saved Cobertura XML reports and count each source line once.
codeowners-check Offline linter, owner resolver, and diff checker for GitHub and GitLab CODEOWNERS files.
coinsurance-check Check made-up commercial property claim worksheets for coinsurance, deductible order, and agreed-value arithmetic.
condo-project-check Recompute made-up condo project eligibility tests and flag a questionnaire that states the wrong result.
conversion-gain-check Recheck the arithmetic and replacement deadline on a made-up involuntary-conversion worksheet.
cot-legacy-check Offline checker for CFTC Legacy Futures Only Commitments of Traders (COT) row identities, weekly changes, and release dates.
csv-formula-scan Report CSV cells that a spreadsheet may treat as a formula, without editing the file.
cvss-score-check Offline CVSS v3.1 vector parser and Base/Temporal score and severity band verifier.
da-row-check Check made-up digital-asset sale rows against the written IRS 2026 Form 1099-DA box rules.
dst-xmp-check Check synthetic XMP files for IPTC Digital Source Type and 2025.1 AI field shape.
dti-rule-check Recheck made-up borrower files for front-end and back-end ratios under one declared agency.
ears-csv-check Check Texas EARS-style appraisal roll CSV files for quotes, lengths, and record shape.
ec-fields-check Offline field, opening, diagram, and elevation consistency checker for FEMA Elevation Certificate JSON records.
env-file-compat-check Compare how Docker, Compose, Node, python-dotenv, and POSIX sh read one .env file.
envelope-ua-check Recheck made-up house takeoffs against a declared energy-code envelope table.
erc6909-replay-check Offline ERC-6909 eth_getLogs replayer and balance, allowance, operator, and supply invariant checker.
erc7579-exec-check Offline ERC-7579 execution mode and packed/batch calldata decoder and bounds checker.
escrow-analysis-check Check one 12-month mortgage escrow projection against Regulation X aggregate rules.
estimated-tax-check Check a made-up Form 2210 estimated-tax penalty against IRC section 6654.
etf-site-check Check made-up ETF website files against the daily items in SEC Rule 6c-11.
facts-asof-check Check one saved SEC company-facts JSON file for shape, vintage, and as-of visibility.
fcpxml-grid-check Check Final Cut Pro XML timeline times against the sequence frame grid.
ff-factor-file-check Check a saved research-factor CSV for layout, keys, values, and annual identities.
fha-mip-check Check made-up FHA loans against the published upfront and annual MIP chart.
fit-container-check Check the header, CRCs, records, and file chain of a Garmin FIT file.
flex-mod-check Check a made-up worksheet against the five-step Flex Modification waterfall.
form-1098-check Check made-up Form 1098 mortgage-interest records against the stated IRS box rules.
form-8606-check Check synthetic Form 8606 Part I and Part II worksheet arithmetic.
gift-exclusion-check Check a made-up family gift ledger against annual-exclusion and split-gift rules.
gosum-check Offline checker for Go go.sum checksum formatting, module/go.mod pairing, conflicting hashes, and h1 dirhash computation.
hecm-proceeds-check Recheck made-up FHA HECM quotes for claim amount, principal limit, and upfront costs.
hl-order-wire-check Offline checker for unsigned exchange order wire envelopes, price and size grids, flags, and nonce windows.
hls-playlist-check Check one HLS playlist for RFC 8216 structure rules and for local-file URIs.
hmda-demographic-check Encode made-up HMDA forms and check demographic row codes against the 2026 filing guide.
hoepa-trigger-check Test whether a made-up mortgage meets the federal HOEPA high-cost triggers.
home-sale-exclusion-check Check made-up section 121 home-sale worksheets for ownership, use, and exclusion arithmetic.
hpi-master-check Check a saved FHFA House Price Index master CSV for row shape, base period, and series gaps.
hpml-escrow-check Check whether a made-up mortgage is a higher-priced mortgage loan and which escrow rules apply.
hud-income-limit-check Check a HUD Section 8 income-limit workbook for size math, order, and year-over-year caps.
hvs-table-check Check a Census Housing Vacancy Survey Table 8 workbook for inventory sums and published rates.
ibond-rate-check Offline checker for Series I savings bond inflation and composite rate arithmetic, holding periods, and purchase limits.
imsc-text-check Offline static subset checker for UTF-8 TTML subtitles targeting IMSC 1.3 Text Profile and EBU-TT-D 1.0.1.
info-return-check Offline checker for published 2026 and 2027 federal 1099-NEC, 1099-MISC, and 1099-K reporting thresholds on synthetic CSV rows.
installment-sale-check Check made-up Form 6252 installment-sale worksheets for line math, gross profit, and deferred-tax interest.
instruction-chain-check List the Codex and Copilot instruction files that apply to one path in a described tree.
intent-order-check Offline checker for synthetic ERC-7683 intent orders, ERC-7930 address envelopes, framed ABI values, and dependency plans.
intraday-margin-check Recheck one account-day of margin arithmetic against the FINRA Rule 4210 minimums.
jv-waterfall-check Recheck a joint-venture distribution waterfall tier by tier, to the cent.
lease-schedule-check Recheck a lessee lease schedule against ASC 842 classification and payment math.
lending-risk-check Recheck made-up Aave-style and Comet-style lending risk numbers from local JSON.
lfs-pointer-check Offline Git LFS pointer and Batch API request/response validator modeling git lfs pointer --check and --strict.
lien-deadline-check Check made-up Texas construction lien notice, affidavit, and reserve dates from local JSON.
lihtc-rent-check Recheck made-up affordable-housing rent limits and applicable fractions from local JSON.
like-kind-exchange-check Recheck made-up section 1031 exchange deadlines and Form 8824 lines from local JSON.
llpa-check Recheck made-up loan-level price adjustment grids and stacked fees from local JSON.
loss-draft-check Check mortgage insurance loss-draft repair draws against one restated rule set.
lossmit-timeline-check Check mortgage servicing dates against Regulation X loss-mitigation timing rules.
loudness-report-check Compare delivery-report loudness claims with an ITU-R BS.1770-5 measurement of a local WAV.
luld-band-check Recheck US equity Limit Up-Limit Down bands from local settings and events.
mcp-shot-code-check Offline validator for Match Charting Project tennis CSV structure, shot-code grammar, serve pairs, and winner parity.
mic-ref-check Offline checker for trade Market Identifier Codes (MICs) against a local ISO 10383 registry CSV.
min-check Offline validator for synthetic 18-digit Mortgage Identification Numbers (MINs), check digits, and Org ID membership.
nfl-pbp-check Offline consistency checker for synthetic 372-column nflverse-format play-by-play CSV files.
nrc-table-check Offline consistency checker for U.S. Census New Residential Construction (NRC) permits, starts, and completions CSV tables.
psbt2-field-check Offline validator for BIP-370 PSBT version 2 structure, required and forbidden fields, value bounds, and locktime rules.
ptc-reconcile-check Offline checker for synthetic Form 8962 Premium Tax Credit worksheets (2025-2026) and Table 2 verification.
qof-test-check Offline arithmetic checker for synthetic Form 8996 Qualified Opportunity Fund 90% asset test, penalty, and improvement schedules.
retro-plays-check Offline checker for synthetic Retrosheet-format play-by-play CSV rows and optional gameinfo reconciliation.
sarif-upload-check Offline checker for selected SARIF properties in GitHub code scanning uploads.
sbe-layout-check Offline schema validator, layout checker, and hex message decoder for synthetic FIX SBE 1.0 fixtures.
scte35-event-check Offline checker for synthetic SCTE 35 Part 1 and Part 2 cue messages, CRC framing, and event counters.
security-id-check Offline validator for synthetic ISIN, CUSIP, FIGI, and SEDOL security identifier records in CSV or JSON.
spdx-doc-check Offline checker for synthetic SPDX 2.3.1 JSON SBOM files with optional CISA 2026 field presence reporting.
trec-days-check Offline deadline calculator and verifier for synthetic Texas TREC form 20-19 paragraph 5 contract dates.
vex-statement-check Offline completeness and consistency checker for OpenVEX 0.2.0 and CSAF 2.0/2.1 VEX documents.
voucher-rent-check Offline verifier for synthetic HUD Housing Choice Voucher income, TTP, HAP, and 40% cap calculations.

Get involved

Have an idea for a new check, hit a real-world edge case, or want to collaborate on one of these tools? Open an issue or start a discussion in any repository, or read CONTRIBUTING.md.

Popular repositories Loading

  1. projects projects Public

    Public tools published by BDE

    Python

  2. agent-file-scan agent-file-scan Public

    This is a rule-based, offline pre-open check for files that coding agents may read.

    Python

  3. asof-leak-check asof-leak-check Public

    This offline data hygiene tool flags feature values used before publication and related data problems.

    Python

  4. bar-integrity-check bar-integrity-check Public

    Offline checker for OHLCV time-series CSV bars: timestamps, ordering, and arithmetic consistency.

    Python

  5. bib-library-check bib-library-check Public

    Compare a BibTeX file with a supplied CSL-JSON library offline.

    Python

  6. check-calibrate check-calibrate Public

    Calibrate a project's test check script against known-good and known-bad mutation fixtures.

    Python

Repositories

Showing 10 of 214 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…