{
  "schema": "vericull.audit-defect-ledger.v1",
  "generated_on": "2026-11-23",
  "manifesto_anchor": {
    "ko": "하나의 ASI를 하나의 인간이 감사한다. 앞서는 것은 능력이 아니라 존재다.",
    "en": "One human audits one ASI. What leads is existence, not capability.",
    "author": "Byung Chul (Alex) Lee, Founder, RISCON Labs"
  },
  "provenance": {
    "accreditation_status": "NOT_ACCREDITED_DRY_LAB_ONLY",
    "field_exploit_execution": 0,
    "human_auditor_decision": null,
    "composite_score": "none"
  },
  "policy": "Public Git-versioned defect disclosure ledger recording discovered defects, closure commits, independent reproducer test paths, and open limitations across adversarial GPT-6.2 Astra audit rounds and independent reviews (cumulative round summaries are versioned in Git history). Extending verification track record never substitutes for the Single Human Auditor (H-00).",
  "defects": [
    {
      "id": "VC-R4-LEXER-AMBIG",
      "source": "GPT-6.2 Astra Round 4 Audit",
      "severity": "HIGH",
      "summary": "Ambiguous regex/division slash inside JS/TS template substitutions could misclassify active code or cull valid claims; ABI 402 now holds ambiguous buffers (QUARANTINED_HOLD, lexer_ambiguous=1) across C++17, Python and JS.",
      "discovered_on": "2026-11-21",
      "closed_on": "2026-11-22",
      "status": "CLOSED",
      "closure_commit": "a6fe82ff61bd58f92e61ce3f899333b358f3c122",
      "reproducer_tests": [
        "tests/r4.test.mjs",
        "tests/counterexamples.test.mjs"
      ]
    },
    {
      "id": "VC-R5-R3-15-REACHABILITY",
      "source": "GPT-6.2 Astra Round 5 Audit",
      "severity": "HIGH",
      "summary": "GBDT admission previously validated visited paths and root-reachable cycles without rejecting disconnected unreachable node components; full-tree reachability (visited == num_nodes) is now enforced in C++17, Python and JS.",
      "discovered_on": "2026-11-22",
      "closed_on": "2026-11-22",
      "status": "CLOSED",
      "closure_commit": "ceef8d2a55d65d452bc8bda5e1172c9716c3681b",
      "reproducer_tests": [
        "tests/r5.test.mjs",
        "tests/formal/asan_boundary_harness.c"
      ]
    },
    {
      "id": "VC-R5-SUITE-GATE-CONTRACT",
      "source": "GPT-6.2 Astra Round 5 Audit",
      "severity": "HIGH",
      "summary": "Closed Audit Gate absence-claim scope, Arena per-trial outcomes, RTL Verilog keyword delimiters, SDK replay-before-seal, v4.1 input-bound gate receipts, and publisher-signed preset index verification.",
      "discovered_on": "2026-11-22",
      "closed_on": "2026-11-22",
      "status": "CLOSED",
      "closure_commit": "ceef8d2a55d65d452bc8bda5e1172c9716c3681b",
      "reproducer_tests": [
        "tests/r5.test.mjs",
        "tests/worker-r2.test.mjs"
      ]
    },
    {
      "id": "VC-R6-N8-MICRODOLLAR-AND-PRESET-AUTH",
      "source": "GPT-6.2 Astra Round 6 Diff Re-Audit",
      "severity": "HIGH",
      "summary": "Closed three High findings: built-in presets authenticated under pinned publisher key before display (R4-13), Audit Gate amount_usd exact micro-dollar BigInt/int comparison refusing repeated/malformed fields (N8), and archival gate receipt separation from live policy v2 decisions (R5-4).",
      "discovered_on": "2026-11-22",
      "closed_on": "2026-11-22",
      "status": "CLOSED",
      "closure_commit": "3919a485df96abaf4cf559cca1d08f6e44125433",
      "reproducer_tests": [
        "tests/r6.test.mjs"
      ]
    },
    {
      "id": "VC-R6-ARCHIVAL-INTEGRITY-AND-EDIT-RESET",
      "source": "GPT-6.2 Astra Round 6 Follow-Up Audit",
      "severity": "HIGH",
      "summary": "Gated archival metadata display strictly on pinned cryptographic integrity verification and invalidated authenticated preset status whenever a user edits the preset payload.",
      "discovered_on": "2026-11-22",
      "closed_on": "2026-11-22",
      "status": "CLOSED",
      "closure_commit": "e889f6294bef63ac5aa00749c85f82754fdfde2c",
      "reproducer_tests": [
        "tests/r6.test.mjs",
        "tests/frontend-astra.test.mjs"
      ]
    },
    {
      "id": "VC-20261123-SOURCE-HASH-SYNC",
      "source": "Independent Source-Hash & Audit-Record Sync Investigation + GPT-6.2 Astra R1/R2",
      "severity": "MEDIUM",
      "summary": "Documented the exact combined formula for native_source_sha256 (SHA-256(include/vericull_core.h + \"\\n\" + native/vericull_core.cpp)), published per-file digests in manifest.json, rebuilt SDK archive with current Worker sources, regenerated binary-facts.json and running-worker.json, and closed Astra R1 findings M-01 (cryptography signing dependency disclosure), M-02 (Worker local rebuild vs Cloudflare etag heading), L-02 (manifest.json standalone download location), and I-01 (single-version claim wording).",
      "discovered_on": "2026-11-23",
      "closed_on": "2026-11-23",
      "status": "CLOSED",
      "closure_commit": "f2b6876957c02a2243c3f3f5f5da8bcd5fde7e26",
      "reproducer_tests": [
        "tools/check_site.mjs",
        "tests/negative-controls.test.mjs"
      ]
    },
    {
      "id": "VC-20261123-L01-CLEAN-CHECKOUT-WRANGLER",
      "source": "GPT-6.2 Astra Source-Hash Audit R1 (L-01)",
      "severity": "LOW",
      "summary": "tests/worker-astra.test.mjs and tests/tools-r2.test.mjs invoked tools/make_worker_record.py without a config fixture path, causing FileNotFoundError on clean checkouts where gitignored wrangler.json is absent. Added --config to tools/make_worker_record.py and updated both tests to pass their fixture config path.",
      "discovered_on": "2026-11-23",
      "closed_on": "2026-11-23",
      "status": "CLOSED",
      "closure_commit": "05b24af9ffe4d71f7be154f8915f8c2b78ca02ac",
      "closure_note": "Closed in Phase +1 commit 05b24af; verified by clean-checkout npm test without wrangler.json.",
      "reproducer_tests": [
        "tests/worker-astra.test.mjs",
        "tests/tools-r2.test.mjs"
      ]
    },
    {
      "id": "VC-20261123-PHASE4-ORACLES-SIGNING",
      "source": "DIOPTRA-Standard Phase 4 Assurance Gap Audit + GPT-6.2 Astra Phase 4 R1..R10",
      "severity": "HIGH",
      "summary": "Addressed Phase 4 assurance gaps and Astra R1 (9), R2 (5), R3 (3), R4 (3), R5 (3), R6 (4), R7 (4), R8 (5), R9 (3), and R10 (1: R10-L1) findings without modifying any baseline engine, SDK, or Worker bytes: added 6 pre-committed reference oracle suites (57/57 checks tagged per check as published_standard_vector, formula_derived, formula_derived_plus_internal_policy, or internal_specification_contract), 9 constant-mutation negative controls (5 three-runtime C++17+Python+JS full-reseal + 3 two-runtime Python+JS full-reseal + 1 C++17-only single-runtime control, 6x6 diagonal exact, enforcing 0 divergences across all 8 full-reseal controls), RFC 8032 Ed25519 publisher-signed assurance-manifest.json (SIGNED_RELEASE_KEY, refusing test-key env overrides and missing vetted providers in production signing across 6/6 controls and pinning signing schema/algorithm), 3-state signed_manifest_status plus current-run PARTIAL_SIGNATURE_SKIPPED pillar status and strict duplicate-key/finite-float JSON loading in h00_audit.py, deterministic 12-file Phase 4 witness kit embedding raw vericull-oss-sdk-v4.tar.gz for direct cloud archive hashing, exact R3-15 assertion matching and strict 0-byte stdout plus typed 3-tuple whitelisted diagnostic-set equality on Ed25519 tamper controls under an RFC 8032 valid-curve wrong pubkey rejecting internal-label spoofing (NC-18), AWS EC2 guest console relay validating exact standalone markers + strict UTF-8 + whole-body duplicate-key/non-finite-constant/non-finite-float/NUL-rejecting JSON without re-serialization while forwarding exact original bytes with zero trailing-byte modification and propagating shell exit codes, file-based CLI output streaming into parse_witness_frame.py (rejecting raw NUL anywhere in the full CLI byte stream and matching finite-float validation) on both AWS and Azure so bash never strips raw NUL bytes (NC-17, NC-16), explicit O2 Wilson-plus-quorum policy disclosure on bilingual /downloads/, bounded AWS RunId retry + non-zero cleanup_unconfirmed failure, Azure VM creation with Detach delete options + pre-delete live VM attachment/single-NIC/deleteOption verification + raw file-streamed control-plane JSON validation (zero bash $(az ...) NUL stripping) + --subscription-pinned exact-ARM-ID individual cleanup (withholding bulk RG delete by default; --delete-empty-rg opt-in only on dedicated single-writer accounts after empty-RG re-check, verified across 28 scenarios in NC-16), accurate Git-versioned ledger policy wording across JSON and docs, and process-group killpg/memory-cap hardening in tools/run_formal_verify.py.",
      "discovered_on": "2026-11-23",
      "closed_on": "2026-11-23",
      "status": "CLOSED",
      "closure_commit": null,
      "closure_note": "Closed on branch phase4 prior to merge into main; verified by tools/run_external_oracles.py --verify, tests/oracle_negative_controls.py --verify, tools/sign_assurance_manifest.py --verify, and live AWS ARM64 + Azure x86-64 Phase 4 witness runs.",
      "reproducer_tests": [
        "tools/run_external_oracles.py",
        "tests/oracle_negative_controls.py",
        "tools/sign_assurance_manifest.py",
        "tests/negative-controls.test.mjs"
      ]
    }
  ],
  "open_limitations": [
    {
      "id": "LIM-01-REAL-CVE-SOURCE-ONLY",
      "category": "empirical_validation_boundary",
      "summary": "In the 2026-11-16 blind evaluation over 21 public OSS CVE pairs (42 functions, source-only without sanitizer/runtime evidence), legacy_gbdt and legacy_rule recorded 0/21 true positives (balanced accuracy 0.50). Vericull is an evidence adjudication gate over structured verification evidence, not a standalone source-only CVE detector."
    },
    {
      "id": "LIM-02-DOCUMENTED-LEXER-BLIND-SPOTS",
      "category": "lexer_design_boundary",
      "summary": "All 32 cases in the documented_blind_spots category of corpus/adversarial-evasion-256.v1.json (16 FN, 16 FP) are disclosed misses by design: dead #if 0 / `ifdef / generate branches, C preprocessor macro/## token-pasting, JS regex literals containing /*, Verilog equivalent constant spellings, and # comments in Python/shell/YAML lexed under C-like rules."
    },
    {
      "id": "LIM-03-SLSA-HOSTED-BUILDER",
      "category": "supply_chain_provenance",
      "summary": "Release artifacts are built reproducibly on a local maintainer workstation and attested by SHA-256 digests and an Ed25519 reference bundle signature, not by an isolated hosted CI builder issuing SLSA Build L2/L3 signed provenance."
    },
    {
      "id": "LIM-04-MODEL-OUTSIDE-SIGNATURE",
      "category": "cryptographic_scope",
      "summary": "The 64-tree GBDT router weights (native/vericull-gbdt-v4.json) and pattern catalog are outside individual receipt Ed25519 signatures and must be integrity-pinned by SHA-256 from manifest.json / forensic-dossiers.json."
    },
    {
      "id": "LIM-05-CBMC-CPP-STL-SCOPE",
      "category": "formal_verification_scope",
      "summary": "CBMC 6.11.0 verifies unmodified include/vericull_core.h and C11 transcriptions of core arithmetic/isolation guards; Apple libc++ STL templates in native/vericull_core.cpp are outside CBMC's C++ parser and are checked instead by direct Clang ASan+UBSan compilation and 3-runtime differential execution."
    },
    {
      "id": "LIM-06-CLOUDFLARE-ETAG-BOUNDARY",
      "category": "production_runtime_attestation",
      "summary": "Cloudflare's script_etag identifies an uploaded Worker script version but is not a publicly verifiable SHA-256 of the executed runtime image; reading the etag requires account credentials."
    },
    {
      "id": "LIM-07-WILSON-BINARY32-BOUNDARY",
      "category": "floating_point_specification_boundary",
      "summary": "Production ABI 401/402 computes Wilson 95% lower bounds in deterministic IEEE-754 binary32 (wilson_ci95_f32 / stage_quorum), matching across C++17, Python and JavaScript. Across all 199,994 nearest-boundary (k, n) pairs for n in 4..100000, binary32 stage_quorum disagrees with exact rational Wilson arithmetic on 110 pairs (recorded in formal-verification-report.json)."
    },
    {
      "id": "LIM-08-LIBM-EXPF-ULP-BOUNDARY",
      "category": "floating_point_libm_boundary",
      "summary": "native/vericull_core.cpp:1600 computes GBDT sigmoid via std::exp(float) (single-precision libm expf), whereas Python (vericull/core.py) and JavaScript (public/scripts/verifier-core.js) evaluate binary64 exp before rounding to binary32. In the pre-committed 512-case Phase 5 calibration benchmark (phase5-calibration-report.json), case RT-05-15 (p=0.2280) exhibits a 2-ULP (2.98e-08) prob_bits difference between native C++17 and Python/JS with zero decision/router_action divergences across all 512 cases."
    },
    {
      "id": "LIM-09-P5-RT12-64-VERILOG-PRECEDENCE-ERRATUM",
      "category": "corpus_fixture_erratum",
      "summary": "Pre-committed Phase 5 fixture RT-12-64 (commit 15c89a78b369c98b649dcb0ba574ef74424d73bb, preserved immutable) writes `u = (w == 32'h0000_0000 | 32'hdead_beef);` without parentheses around the bitwise OR; Verilog binds `==` tighter than `|`, making 1-bit `u` constantly 1 on known inputs. Consequently, of the 64 disclosed documented_blind_spots misses in phase5-calibration-report.json, 31 are semantically proven FNs, 1 (RT-12-64) is a corpus-expression erratum, and 32 are FPs."
    },
    {
      "id": "LIM-10-SPUB-REFACTORED-PATCH-SEMANTIC-EQUIVALENCE",
      "category": "lexical_semantic_equivalence_boundary",
      "summary": "In the pre-committed Phase 7 S-PUB corpus (phase7-spub-report.json, 72 idiomatic fixtures mapped to NVD CVE, NIST Juliet, OWASP Top 10 CWE, and MITRE CWE), all 8 cases in spub_refactored_patch_blind_spot (SPUB-D-01..08) replace the inline guard with an unimplemented helper call symbol while supplying has_static_invariant=1 and assigning an assumed patched semantic label (CULLED_CLAIM/S-1). Vericull's lexical-only sweep returns STATIC_INVARIANT/S0 on all 8/8 cases (disagreement against the assumed refactored-patch label, without an inline helper body or formal equivalence proof), illustrating that literal absence needles cannot recognize refactored helper guards without semantic analysis or dynamic reproducer witnesses."
    },
    {
      "id": "LIM-11-P7-SPUB-FIXTURE-SEMANTIC-ERRATA",
      "category": "corpus_fixture_erratum",
      "summary": "Pre-committed Phase 7 S-PUB corpus (commit 3b93bd779413b7c90e57c0d6df4218455128545a, preserved immutable) contains compact idiomatic snippet errata: (1) SPUB-A/B/C/D-05 (CVE-2023-4863 WebP idiom) checks table_size without relating it to array index key; (2) SPUB-A/B/C/D-06 (CVE-2022-37434 zlib idiom) omits the unsigned overflow / len <= head->extra_max precondition before len + copy; (3) SPUB-A/B-22 (CWE-843 Rust transmute idiom) transmutes 8-byte u64 to 16-byte &[u8], which does not compile on 64-bit targets; and (4) the generator uniqueness check serializes input including case_id/telemetry (72 distinct operational submission records across 56 unique source_snippet strings and 24 primary reference IDs). These snippets test deterministic lexical/contract adjudication and are not executable vulnerability or patch-safety proofs."
    },
    {
      "id": "LIM-12-JSON-NUMBER-MICRODOLLAR-BINARY64-CLIFF",
      "category": "floating_point_specification_boundary",
      "summary": "Discovered during Phase 8 Counter-ASI worst-case boundary analysis (CE-15 in phase8-minimax-report.json): although Audit Gate N8 parses ledger amount_usd strings up to 12 integral and 6 fractional digits in exact micro-dollar integers, JSON request field committed_amount_usd arrives as an IEEE-754 binary64 number. Above 2^33 (~8.59e9, e.g. 10000000000.000001 where binary64 ULP is 2^-19 ~ 1.91e-6 > 1e-6), both Python json.loads() and Node.js JSON.parse() independently round the raw JSON token 10000000000.000001 to 10000000000.000002 (10000000000000002 micro-units), failing exact match against ledger amount_usd=10000000000.000001 and demoting GOLD_VERIFIED_VIOLATION to CALLER_REPORTED_BREACH_SPANS_CORROBORATED."
    }
  ]
}
