QWED

Type to search pages, engines and advisories.

    Looking for API details?Search the docs

    Evidence

    Claims with a known answer, run at every release

    QWED says it never accepts a claim it cannot prove. Here that is measured. Claims with a known answer run through the proof engines at every release, and the report is published with the release.

    0

    claims that do not hold, but were accepted

    Out of 117 false or unsafe claims in this release’s run. Any number above zero fails QWED’s build.

    The run in figures

    • 117 of 117false or unsafe claims caught
    • 39 of 39true claims proved
    • 156claims, across 5 of the 6 proof engines117 false or unsafe · 39 true

    By engine

    A true claim that is not proved is held for a person: safe, but incomplete. A false claim that is accepted would be a soundness failure.

    EngineClaimsFalse claims caughtTrue claims provedFalse accepts
    Code5346 of 467 of 70
    Logic2214 of 148 of 80
    Math3320 of 2013 of 130
    Schema107 of 73 of 30
    SQL3830 of 308 of 80

    Past bugs stay fixed

    Each published advisory in which one of these engines returned VERIFIED for a false claim, and whether the claims from it still fail as they should. 5 of 23 are not in the run yet.

    • GHSA-9r7q-mx75-hcj7CodeVerifier 8.0.0 still ADMITs file read/write, network, pickle and process code (incomplete fix of GHSA-4phf-6h72-9xfg)14 claims from it in the runStill fixed
    • GHSA-pr6c-cqg8-6w5rCodeVerifier admits code hidden by a source encoding declaration (utf-7, unicode_escape)1 claim from it in the runStill fixed
    • GHSA-5h3v-3463-78hf/verify/math returns VERIFIED and ADMIT for false identities: unknown function names parse as products of symbols, and n is assumed a positive integer4 claims from it in the runStill fixed
    • GHSA-qrp4-p44j-m484CodeVerifier admits shell commands reached through the module loader (__loader__.load_module('posix').system)3 claims from it in the runStill fixed
    • GHSA-p75q-7rg5-ff46CodeVerifier admits code that typing evaluates from strings: string annotations run by singledispatch.register, typing.get_type_hints and a ForwardRef's __forward_code__5 claims from it in the runStill fixed
    • GHSA-w73j-4jjq-q53jLogicVerifier proves false theorems because Python folds numeric literals before Z3 (1/3, 0.1 + 0.2, 7/2)4 claims from it in the runStill fixed
    • GHSA-jrxf-9jh4-86w7CodeVerifier admits string-to-code execution (timeit, cProfile, pdb, code) and file access (tarfile, zipfile, gzip, codecs, linecache, builtins.open, os.listdir) (incomplete fix of GHSA-4phf-6h72-9xfg)12 claims from it in the runStill fixed
    • GHSA-8hp7-jqjc-hrhfverify_math returns VERIFIED for wrong results at small magnitudes (6-decimal quantisation and absolute 1e-6 tolerance)5 claims from it in the runStill fixed
    • GHSA-jvhg-jw63-gr5gSQLVerifier admits tautologies built with IN, IS, LIKE, BETWEEN, division, concatenation, CAST, COALESCE and function calls (incomplete fix of GHSA-6cpx-8jrq-r7h3)15 claims from it in the runStill fixed
    • GHSA-j788-44pc-8hp3GitHub Action: a newline in the explanation output can set verified=trueNo claims from it in the runNot in the run yet
    • GHSA-v8qq-v427-qrqcQWEDLocal.verify_code reports os.system, subprocess and getattr-based code as verified SAFENo claims from it in the runNot in the run yet
    • GHSA-83v6-6h23-pvp4LlamaIndex and CrewAI integrations report verified=True for responses, retrieved nodes and agent outputs they never verifiedNo claims from it in the runNot in the run yet
    • GHSA-45jv-2j44-4c2qSDK SQLGuard admits stacked statements, COPY TO PROGRAM, ATTACH and load_extension as verified read-only SQL2 claims from it in the runStill fixed
    • GHSA-4rj3-8wqj-cqwcSDK verify_code() uses a local AST blocklist instead of CodeVerifier, admitting code the server blocksNo claims from it in the runNot in the run yet
    • GHSA-jppc-7r58-7pjhSDK VerificationResult reports is_verified=True for BLOCKED/UNVERIFIABLE results; GitHub Action admits themNo claims from it in the runNot in the run yet
    • GHSA-4phf-6h72-9xfgCodeVerifier certifies command-execution, file-access and exfiltration code as VERIFIED/ADMIT (incomplete fix of GHSA-6rxr-gq43-694g)3 claims from it in the runStill fixed
    • GHSA-6cpx-8jrq-r7h3SQLVerifier admits credential-dumping and tautology-injection queries (SELECT * bypasses the sensitive-column denylist; tautology check matches exact shapes only)1 claim from it in the runStill fixed
    • GHSA-6p94-4f75-g2wqSQLVerifier certifies destructive and administrative SQL as VERIFIED/ADMIT (DML hidden in CTEs; incomplete statement-type denylist)2 claims from it in the runStill fixed
    • GHSA-g25v-44j8-gg7xDSLLogicVerifier NL->DSL bridge returns VERIFIED for contradictory or altered constraints (incomplete fix of GHSA-mfh5-3c8f-975p)2 claims from it in the runStill fixed
    • GHSA-q5g6-6cw2-cjm3SQLVerifier admits a tautology hidden in a MySQL executable comment, and queries on tables outside the declared schema3 claims from it in the runStill fixed
    • GHSA-6rxr-gq43-694gCode verifier returns VERIFIED and admits code that runs shell commands5 claims from it in the runStill fixed
    • GHSA-j622-qffp-rc27verify_math returns VERIFIED for incorrect results on large numbers due to 15-digit evaluation precision3 claims from it in the runStill fixed
    • GHSA-mfh5-3c8f-975pLogic verification can return VERIFIED for false theorems, non-equivalent formulas and contradictory constraints3 claims from it in the runStill fixed

    Run it yourself

    No model, network or database is involved: the run calls the engines directly. The cases, the runner and the rules for what counts as accepted are in evals/.

    shell
    $ git clone https://github.com/QWED-AI/qwed-verification.git
    $ cd qwed-verification
    $ git checkout 8b789ae7db07e3855c452081e25c2a0d4ae8f456
    $ pip install -e .
    $ python -m evals.run
    

    What this does not measure

    • The translation step

      Turning natural language into a formal statement uses a model, and is not verified.

    • Not in the run yet

      The Symbolic and Stats engines, and the finance, legal, tax and agent packages.

    • Advisory engines

      Fact, Graph, Image, Reasoning and Consensus give signals for review, not proofs.

    • How often a model is right

      This measures QWED’s checks, not the answers a model gives.

    What QWED does not verify