Skip to content

fix: close standalone audit policy bypass and validate transition targets - #47

Merged
AlexanderLevenskikh merged 1 commit into
mainfrom
fix/reaudit-core-policy-boundaries-20261201
Nov 30, 2026
Merged

AlexanderLevenskikh merged 1 commit into
mainfrom
fix/reaudit-core-policy-boundaries-20261201

Conversation

@AlexanderLevenskikh

Copy link
Copy Markdown
Contributor

Problem

The generated manual audit path could invoke a public registry while private scopes or restricted host policy were configured. The direct transition refiner also accepted an out-of-domain target as safe. These were found during the December 1 repeat audit.

Changes

  • Reject standalone audit dispatch before any native process under configured private, malformed, or restricted policy, checking both host and explicit runtime environments.
  • Route generated English and Russian instructions through the existing guarded MCP audit adapter when policy requires it; preserve blocked/UNKNOWN results.
  • Validate target endpoint membership before transition safety checks while allowing an installed current version outside the final candidate domain.
  • Align README Python support with package metadata and the existing 3.12–3.14 CI matrix.
  • Record scope, reproduction and verification in docs/audits/2026-12-01/core-boundaries.md.

Validation

  • Final focused Core suites: 72/72 passed.
  • Independent MCP integration with this Core helper: 51/51 passed.
  • Before/after regressions cover private transitive dependencies, host-policy override, malformed scopes, mirror-only policy and target-domain validation.
  • git diff --check passed.

The managed local environment cannot provide the required Linux native process ownership backend. Its full run is recorded as 849 tests, 6 failures, 11 errors and 95 skips; it is not treated as green. The existing native CI matrix must qualify this exact commit. No ownership guard or test matrix was relaxed. This source fix does not change the existing runtime release acceptance decision.

@AlexanderLevenskikh
AlexanderLevenskikh merged commit be67725 into main Nov 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant