Skip to content

Confirmed policy-bundle tampering only ever warns, never blocks the build #311

Description

@N-thnI

Description

Promote confirmed policy-bundle tampering from observational (WARNING) to blocking (NON_COMPLIANT).

Problem Statement

Even a confirmed BundleTampered/SignatureInvalid/UntrustedSigner result in applyPolicyBundleVerification() (src/audit-guard/src/policy-engine.ts, ~lines 183-211) only downgrades status to "WARNING", never "NON_COMPLIANT". This was intentionally scoped as observational-only in an earlier issue (VAG-003) to avoid false-positive breakage while the detection was new. Now that the observational version has shipped and had time to prove itself, this is worth promoting to actually block the build on a confirmed tamper signal — the only defense against a compromised CI runner rewriting Rego policy is currently non-blocking.

Proposed Changes

  • Once bundle-verification has run cleanly for a reasonable bake-in period, change confirmed tamper signals to set status "NON_COMPLIANT" rather than "WARNING"
  • Add a test asserting a confirmed tamper signal blocks rather than warns

Technical Implementation Scaffolding

  • Target Repository: vero-audit-guard
  • Target Path: src/audit-guard/src/policy-engine.ts
  • Branch Naming: fix/issue--promote-bundle-tamper-to-blocking
  • Authority Context: Security-sensitive — CI policy integrity

Acceptance Criteria

  • Confirmed policy-bundle tampering blocks the build (NON_COMPLIANT), not just warns
  • Test added

Definition of Done

  • Reviewed by lead maintainer
  • Pull request merged via verified status check

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions