Limits
What QWED does not verify
A check is only useful if you know where it stops. This page sets out what QWED does not verify, what its results depend on, and the limits each package states for itself. A claim outside these lines comes back UNVERIFIABLE, and is denied by default.

Before the check
Intent
QWED verifies the formal statement it is given or extracts, not whether that statement is what someone meant. A correct sum of the wrong numbers is still a correct sum. Deciding that the right question was asked stays with the people and systems around QWED.
The translation step
Some checks start from natural language. For those (/verify/natural_language and /verify/logic), QWED asks the model you configure to turn the text into a formal statement. That translation is not itself verified.
- Before a model sees the text, QWED screens it against known prompt-injection patterns and refuses a match. A maths or logic question also gets checks for encoded payloads, hidden characters, text that mimics QWED's own instructions to the model, and over-long input. The screen is a list of patterns, not a proof: text it does not match is not shown to be safe, and the translation that follows is still not verified (#585).
- The formal statement is part of every result, so a person or a policy can check that it says what was meant.
- The prompt goes to the provider you configure. With a model you run yourself, for example through Ollama, nothing leaves your infrastructure.
- Optional PII masking (
qwed[pii]) redacts card numbers, social security numbers and email addresses before the model call.
In the check
Coverage
QWED does not cover every kind of claim. A claim that no engine supports comes back UNVERIFIABLE, never VERIFIED. Within the engines, three limits matter most:
- Advisory engines do not decide. Fact, Graph, Image, Reasoning and Consensus produce signals for review. Heuristic and model-based results are never reported as
VERIFIED; Graph and Image can return it only on a deterministic sub-path, and then with a hash of the evidence checked, not a proof; Consensus never does. - Symbolic searches, it does not prove. It looks for counterexamples with CrossHair and returns
UNVERIFIABLEorBLOCKED. - Running code is not verifying it. The Stats engine executes statistical code in a sandbox and returns
UNVERIFIABLE.
Soundness
A result is only as sound as the tools behind it: SymPy, Z3, SQLGlot, CrossHair, and QWED’s own parsers and rule sets, which read the input before those tools see it. When one of them gets it wrong, so can QWED. In GHSA-q7m5-rmvq-v848, for example, QWED’s own reading folded superscript digits into neighbouring numbers before SymPy saw them. Every such case found so far is published as a security advisory with the version that fixes it.
- 37
- advisories where a check returned VERIFIED for a false claim
- 10
- advisories where a guard let through something it should have stopped
The proof engines are also tested at every release on claims with a known answer. The latest results · The full track record
What a result assumes
A result holds under settings you may not have chosen yourself. These are the ones that change what comes back.
How close a figure must be
When the Math engine compares an expression with a claimed value and no tolerance is given, the claim must match to 9 significant digits, or be the value rounded to its last digit when it has at least 6, and in either case lie within 0.000001. A claim inside that bound is accepted even when it is not exact. Pass tolerance=0 to compare exactly. The bound was tightened in qwed 9.0.0 after GHSA-8hp7-jqjc-hrhf.
Which SQL, read by which parser
A query is read in the dialect you pass: SQLite on the API when none is given, PostgreSQL in the library. QWED needs SQLGlot 28.0.0 or later, and its server image pins 30.35.0. SQLGlot releases have read the same text differently: 30.34.0 began to parse FIND_IN_SET as a function of its own, and 30.36.0 changed which dialects read <=> as null-safe equality. A result holds for the dialect and the SQLGlot version it was checked with.
How your database is set up
The SQL engine never connects to a database, so it does not know how yours is set up. Whether a function does harm can depend on the setup or the client: DuckDB’s getenv reads an environment variable in its command line client, for example. QWED refuses a function it does not know to stay inside the database rather than guess, and a database role that can only read is still needed.
Which solver version
Logic results come from the z3-solver version QWED pins, 5.4.1.0. A Z3 release can change what a formula means: 5.4 gives powers of zero values they do not have, such as 0 for 0 ** -1, so QWED decides no claim on those values. The Symbolic engine runs the CrossHair version in its sandbox image, qwed-crosshair-sandbox:0.0.114, and the Math engine needs SymPy 1.12 or later (the server image pins 1.14.0).
After the check
Enforcement
QWED returns a result and an admission decision. It does not stop anything by itself. Your integration acts on DENY, or a QWED product does it for you: QWED Security, for example, fails the pull request check. If an integration ignores the decision, QWED cannot prevent the action.
What a signature proves
QWED products that sign their results sign them with their own key. The Verification Context specification is explicit about what that does and does not establish:
- DoesShow that the signed bytes came from the holder of that key, and were not changed afterwards.
- Does notEstablish independent trust, validate the formal statement, make a proof stronger or imply admission.
- OpenAn independent witness for signatures, the root of trust, is a question for a future version of the specification.
Known open issues
Gaps in the engines that have been found and not yet fixed, listed here so you hear about them from us first. Each links to the issue where its fix is tracked.
The logic route can report VERIFIED from a translated question
The logic route reports VERIFIED for a claim it proves from the constraints a model translated the question into, and does not admit that result. The README names this as a known exception to failing closed.
In the domain packages
The tax, finance and legal packages track their bugs in their own repositories. Below is every open issue labelled bug in each, counted when this page was built. Some of them make a check return a wrong result for some inputs until a release fixes it; read the list before you rely on a package for that case.
- QWED Tax: 15 open bug reportsqwed-tax issues
- QWED Finance: 33 open bug reportsqwed-finance issues
- QWED Legal: 17 open bug reportsqwed-legal issues
Package by package
Each package states its own limits in its README. They are repeated here, with the development status the package declares on PyPI.
QWED Finance
Beta- QWED Finance checks figures and messages. It is not a trading platform, a market data feed or a replacement for your risk models.
- Checks for MiFID II and Basel III are still in progress.
QWED Legal
Beta- QWED Legal is not a legal reasoning engine and not a replacement for lawyers. Interpretive legal reasoning is never trusted automatically.
- Clause, citation and fairness checks are signals for review, not proofs. The fairness check uses a model you supply.
- QWED Tax is not a calculator, a filing platform or a payroll system. It checks decisions that an AI or another system has made.
- It covers specific rules for the United States and India, not every tax regime. It does not file returns.
- QWED Infra currently focuses on AWS and Terraform. Kubernetes and Azure are on the roadmap.
- NetworkGuard does not model NAT gateways, VPC peering, network ACLs or Transit Gateway. When they are present it returns UNVERIFIABLE instead of guessing.
Open Responses
Beta- Tool blocking is a configurable blocklist, not a sandbox, and pattern scanning is a heuristic.
- Personal data produces warnings, not blocks.
- Results are not cryptographically attested.
- Warn-only streaming mode turns the trust boundary off.
MCP server
Beta- Code runs only when every module, builtin and attribute it uses is on the allowlist: computation-only standard-library modules, with no file, network, process or environment access and no third-party packages. Refused code is reported with the reason and never runs.
- The allowlist is a static check of what the code can reach. It is not a proof that the code is correct, and it does not limit resource use: nothing limits memory.
- A call without background times out after 30 seconds.
- The code runs with the server’s privileges. Of the server’s environment it gets only PATH, PYTHONPATH and SYSTEMROOT. Connect only clients and inputs you trust.
- Running code does not by itself detect injection.
- The server returns what the code computed; it does not verify the result, and Python floating-point arithmetic is not exact for decimals.
- On Windows, if qwed-mcp is not on the PATH, use "command": "python" with "args": ["-m", "qwed_mcp.server"].
- The earlier verify_* tools were removed in v0.2.1.
QWED A2A
Alpha- Only finance checks can return verified. Logic and code checks return heuristic_pass, which is not admissible on its own; never execute such a payload without your own sandbox.
- General and data-query messages are unverifiable.
- It needs a signing key in QWED_A2A_SIGNING_KEY_PEM.
QWED UCP
Alpha- It is not a cart, a payment processor or a fraud system.
- verify_totals_only() checks totals alone and should not be treated as a final verdict.
- Replay protection is kept in memory only.
Versions and support
- Only the latest release receives security fixes.Supported versions
- No QWED package declares itself stable on PyPI yet.Every package and its status
- QWED has a single maintainer, and no backup maintainer has been appointed yet.What exists for continuity
Sources: What QWED does not do in the qwed-verification README, the Verification Context specification, and each package’s README.