Repository navigation
fix: harden simulator CORS and dependencies - #1
Open
nicholas-ruest wants to merge 5 commits into
Open
nicholas-ruest wants to merge 5 commits into
nicholas-ruest wants to merge 5 commits into
Conversation
Require an exact environment-configured browser origin allowlist, retain server-to-server behavior, remove the unused claude-flow runtime tree, and refresh vulnerable transitive dependencies. Validated with 72 passing Node checks, zero production audit findings, MetaHarness scoring, bounded Darwin runs, and a signed Flywheel replay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CORS_ALLOWED_ORIGINSOriginclaude-flowand refresh vulnerable Node transitive dependenciescargo-audit 0.22.2with a separate Rust 1.88 audit toolchain so CVSS 4.0 advisories parse correctlyFrozen acceptance contract
Origincontinue to work.Evidence
npm testnpm audit --omit=devThe compatible lock updates eliminate RustSec findings in
bytes,crossbeam-epoch, andh20.4. Seven findings remain throughtimeand older major-version graphs (h20.3,idna0.4,protobuf2,rustls-webpki0.101). No advisory is ignored.Pinned tools: upstream
ruvnet/metaharness@ea287d6ef7548b0b32fa3e20956fa548cfe51edb,metaharness@0.4.17,@metaharness/darwin@0.10.3,@metaharness/flywheel@0.1.12.Darwin real and agent sandboxes each ran one generation with two deterministic children; both candidates tied the parent and were rejected. Flywheel's signed replay passed, but the exact safety gate rejected the source candidate because RustSec still reports seven vulnerabilities (
finalPolicy=baseline, no promotion).Merge status
Do not merge yet. This PR remains non-draft, but the RustSec/Flywheel gates are red. The remaining dependency-major upgrades must be implemented and revalidated first.
Rollback
Before merge, reset this candidate branch by reverting
8c8d01c419cd0df3006601a83c8846f3ebff40d8,1b2411b44f61a4f2e2b1088da77dd36e757316cd,26b4607bfce40629b140777a71185e3bcbe367da,7ae4c4d2892c37ec6c5a2665c48e7e49fc76467f, then4b73f940f5c8112cc772bdc0848d35869d4c2c96. After any eventual merge, revert the merge commit. Browser callers must configure exact HTTPS origins withCORS_ALLOWED_ORIGINS; wildcard credentialed CORS is intentionally unsupported.