QWED

Type to search pages, engines and advisories.

    Looking for API details?Search the docs

    Platform·QWED Infrav0.3.0

    Prove what infrastructure code allows before it deploys.

    Deterministic checks for infrastructure as code. QWED Infra proves what IAM policies and network rules allow and estimates cost before a Terraform change is applied, without asking a model to judge a model.

    At a glance

    Version
    0.3.0
    Status on PyPI
    Not declared
    Install
    pip install qwed-infra
    Focus
    AWS and Terraform
    Model in the check
    None
    Output
    Verification Context documents, signed with ES256
    Licence
    Apache-2.0

    What it checks

    • IamGuard

      Access policies

      Uses the Z3 solver to prove what AWS IAM policies allow, including wildcards, explicit denies, and source IP and time conditions.

    • NetworkGuard

      Network reachability

      Whether the internet can reach a subnet or a database.

    • CostGuard

      Cost

      Estimates cost from public on-demand prices before deployment and blocks changes over budget.

    • ArtifactBoundaryGuard

      Release packages

      Release artefacts must not contain secrets, debug files or wrong build paths.

    Get started

    python
    # pip install qwed-infrafrom qwed_infra import IamGuardpolicy = {    "Effect": "Allow",    "Action": "s3:GetObject",    "Resource": "*",    "Condition": {"IpAddress": {"aws:SourceIp": "192.168.1.0/24"}},}result = IamGuard().verify_access(    policy, action="s3:GetObject", resource="my-bucket",    context={"aws:SourceIp": "8.8.8.8"},  # a request from the public internet)print(result.allowed, result.proof)# False Z3 proved unsatisfiability (Access Denied)

    Good to know

    • 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.

    More domain packages