Repository navigation
[AUTH-01] Verify Agent Access release preparation - #2
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
OpenRouter review posted ( |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: initial
Commit: 1780a033c14038f88978a7ac937c40acde732036
Judge: openai/gpt-5.6-luna
Cost: $0.2794 (lanes $0.2742 + judge $0.0052) + at least $0.0486 (incomplete)
Lanes
meta/muse-spark-1.2: ok (5 finding(s), 80.1s, 356011+9777 tokens (193092 cached), 4 tool round(s), via Meta, $0.27)z-ai/glm-5.3-flash: ok (6 finding(s), 930.8s, 1342738+73319 tokens (1159472 cached), 15 tool round(s), 1 retried request(s), salvaged finish, via OpenInference, at least $0.0486 (incomplete))
Findings
🔵 Issue 1 — Blanket text normalization can corrupt binary artifacts
.gitattributes:1 · nit · identified by meta/muse-spark-1.2
Failure scenario: a future commit adds a binary file (e.g., *.png, *.tgz, *.woff2) and * text=auto eol=lf causes Git to normalize CRLF→LF or treat the blob as text, corrupting the checked-out bytes or the packed npm tarball hash.
The diff adds .gitattributes with * text=auto eol=lf with no binary exceptions. Existing repo contains no binary allowlist and prepareArtifacts hashes tarball bytes exactly. Corrupted checkout would cause manifest shasum/integrity mismatches or broken images/fonts.
Checked: read .gitattributes, listed docs/, grepped for existing binary handling. No counterevidence of *.tgz binary or linguist overrides was found; neighbors ci.yml/publish.yml do not set it.
🟠 Issue 2 — Git config injection via GIT_CONFIG_* is not stripped
scripts/release-contract.mjs:33 · risk · identified by meta/muse-spark-1.2
Failure scenario: a compromised environment (local prepare, self-hosted runner, or env: injection) sets GIT_CONFIG_COUNT=1, GIT_CONFIG_KEY_0=gpg.ssh.allowedSignersFile, GIT_CONFIG_VALUE_0=/tmp/attacker-signers and bypasses the approved signer check, making verifyReleaseIdentity accept a tag signed by an unapproved key.
scripts/release-contract.mjs:git() deletes only GIT_DIR, GIT_WORK_TREE, GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY, GIT_ALTERNATE_OBJECT_DIRECTORIES, GIT_COMMON_DIR and sets GIT_NO_REPLACE_OBJECTS=1. It does not delete GIT_CONFIG_COUNT, GIT_CONFIG_KEY_*, GIT_CONFIG_VALUE_*, GIT_CONFIG_PARAMETERS, or GIT_CEILING_DIRECTORIES, all of which override git config --local for the verify-tag invocation.
Checked: read scripts/release-contract.mjs and scripts/release-registry.mjs isolatedEnvironment filter (which does strip most env). No stripping of GIT_CONFIG* was found in the trusted git helper; workflow runs with a clean env so CI is not exploited, but local node scripts/release-packages.mjs prepare is vulnerable.
🟠 Issue 3 — O_NOFOLLOW fallback and racy symlink checks on Windows
scripts/release-manifest.mjs:140 · risk · identified by meta/muse-spark-1.2
Failure scenario: on Windows constants.O_NOFOLLOW is undefined, so readBoundedFile opens with flag 0 and follows a file-symlink/junction. An attacker replaces manifest.json or a tarball with a symlink to an attacker-controlled file between the lstat/realpath TOCTOU window and the subsequent open, causing verifyPreparedManifest to hash attacker bytes while still passing the independent manifest-sha256 check (if they also control the digest input outside workflow).
scripts/release-manifest.mjs:readBoundedFile uses (constants.O_NOFOLLOW ?? 0) and relies on lstat.isSymbolicLink() + realpath equality before open. The comment acknowledges concurrency growth but the open does not atomically prevent symlink traversal on platforms without O_NOFOLLOW. The test suite even skips file-symlink cases on Windows without Developer Mode.
Checked: read scripts/release-manifest.mjs lines 170-220, tests/release/manifest.test.mjs symlink tests, and fixtures.mjs. No Windows O_NOFOLLOW polyfill or open with O_EXCL symlink guard was found.
🔵 Issue 4 — Isolated npm environment retains GITHUB_TOKEN for privileged publish
scripts/release-registry.mjs:240 · nit · identified by meta/muse-spark-1.2
Failure scenario: npm publish --provenance child process inherits GITHUB_TOKEN (and any other GITHUB_* secret) via isolatedEnvironment(..., publishing=true), which copies all GITHUB_, RUNNER_, ACTIONS_ID_TOKEN_REQUEST_ vars. A malicious prepack or npm lifecycle script that somehow runs (or a compromised npm-cli.js tarball) could exfiltrate the token. The workflow intends the publish job to run with no project scripts, but defense-in-depth still leaks the token.
scripts/release-registry.mjs:isolatedEnvironment keeps GITHUB_TOKEN because /^(?:GITHUB_|RUNNER_|ACTIONS_ID_TOKEN_REQUEST_)/ matches it; assertTrustedPublishingEnvironment only rejects NODE_AUTH_TOKEN/NPM_TOKEN patterns, not GITHUB_TOKEN. Intent is OIDC-only, so GITHUB_TOKEN is not needed inside npmContext.
Checked: read scripts/release-registry.mjs lines 240-260 and publish.yml publish job env. No GITHUB_TOKEN stripping was found.
🔵 Issue 5 — Bootstrap docs omit required reviewed npm CLI env
docs/BOOTSTRAP.md:28 · nit · identified by meta/muse-spark-1.2
Failure scenario: a maintainer follows docs/BOOTSTRAP.md step 3 exactly: node scripts/release-packages.mjs prepare --tag v0.1.0 --expected-commit FULL_COMMIT_SHA on a clean checkout without first extracting the reviewed npm 11.18.0 tarball and setting RELEASE_NPM_CLI/RELEASE_NPM_VERSION. The command fails with The reviewed release npm CLI must be an absolute npm-cli.js path, blocking the first-publication handoff and causing the maintainer to improvise (e.g., use ambient npm) which violates the pinned-npm contract.
scripts/release-packages.mjs:npmCliPath(true) strictly requires RELEASE_NPM_CLI to be an absolute npm-cli.js path and RELEASE_NPM_VERSION=11.18.0; docs/RELEASING.md documents this, but docs/BOOTSTRAP.md lists the prepare command without mentioning the env setup, while claiming it is the alternative to workflow dispatch.
Checked: read docs/BOOTSTRAP.md, docs/RELEASING.md, and scripts/release-packages.mjs npmCliPath/prepareArtifacts paths.
🔴 Issue 6 — Two different pinned SHAs are both labeled actions/setup-node@v7 in the release-critical workflow
.github/workflows/publish.yml · bug · identified by z-ai/glm-5.3-flash
The trust-critical workflow pins actions/setup-node to two different commit SHAs while labeling both as version 7, so at least one job is executing a commit that does not correspond to the reviewed action release.
Concrete failure: the validate job pins actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7, while the prepare, publish, and verify jobs pin actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7. Only one of these can be the actual v7 tag commit of actions/setup-node; the other is either a wrong pin or a different (unreviewed or modified) implementation. Because every downstream security property of this PR (immutable artifact, exact bytes, OIDC publication) depends on the pinned toolchain being the reviewed one, an incorrect pin means release jobs run action code that was never reviewed, while the pin comment claims it was.
Evidence: both strings appear in .github/workflows/publish.yml in the diff; the checkout and pnpm pins are consistent across all jobs, so this divergence is specific to setup-node. I could not query the actions repository (no network access) to determine which SHA is correct; that verification is required before merge.
🟠 Issue 7 — New .gitattributes eol=lf normalization can change the working-tree bytes of previously committed files, shifting release tarball bytes
.gitattributes:1 · risk · identified by z-ai/glm-5.3-flash
A fresh checkout of an unchanged commit can now produce different file bytes than before, which directly conflicts with this PR's "exact tarball bytes" guarantee.
Concrete scenario: the new .gitattributes declares * text=auto eol=lf. Any text blob committed before this attribute existed whose content was stored with CRLF endings (or that git's text detection treats differently under the new attribute) will be materialized with LF endings on every subsequent checkout, including the release-preparation and publish checkouts. The tarball is packed from the checked-out working tree, so the same commit can yield different tarball bytes than a checkout made before this attribute existed — invalidating previously recorded prepared-artifact hashes and any byte-level continuity claims in docs/RELEASING.md and docs/BOOTSTRAP.md. It also produces spurious whole-file diffs in developers' working copies.
Evidence: the file is new (* text=auto eol=lf, line 1). I did not get to grep the repository history for CRLF-containing text blobs before the deadline, so the proof gap is whether any pre-existing blob is affected; if none is, the practical cost is zero and this can be closed. The release scripts' byte-precision claims make even the possibility worth checking.
🔵 Issue 8 — Pinned npm version and tarball SHA-256 are duplicated verbatim across three jobs; drift would silently split prepare vs publish/verify npm versions
.github/workflows/publish.yml · nit · identified by z-ai/glm-5.3-flash
If one copy of the pin is updated in a future PR and the others are missed, the workflow's npm-cli check still passes within each job (each job compares against its own NPM_VERSION), so the failure mode is silent: prepare packs with one npm version while publish and verify publish and audit with a different one, contradicting the reviewed-npm-release identity the docs describe.
Evidence: the strings NPM_VERSION: 11.18.0 and NPM_TARBALL_SHA256: 73f6155215ebabf4ed96dca1f567c2372cc713c33af2e5b9b62fde4e92373e2e are repeated in the prepare, publish, and verify jobs of .github/workflows/publish.yml. A single job-level or workflow-level env block (or a shared step) would remove the drift path. The per-job version self-check prevents an outright wrong-version failure, which is why this is silent rather than caught.
🔵 Issue 9 — publish and verify jobs do not configure RELEASE_ALLOWED_SIGNERS; if the release scripts re-verify git identity there, they cannot succeed
.github/workflows/publish.yml · nit · identified by z-ai/glm-5.3-flash
Concrete scenario: scripts/release-packages.mjs publish and verify are documented as re-checking the tag and commit binding. If the (truncated) script implementations re-run the git identity verification that prepare performs — SSH signature verification against RELEASE_ALLOWED_SIGNERS, origin/main ancestry — the publish and verify jobs would fail, because their visible steps never set RELEASE_ALLOWED_SIGNERS, never fetch origin main, and never configure gpg.ssh.allowedSignersFile. If instead the scripts skip git checks in those modes, the claim should be confirmed and documented.
Evidence: in the diff, the prepare job contains the allowed-signers configuration steps and a fetch of refs/remotes/origin/main; the publish and verify job step lists show only checkout, setup-node, the npm CLI extraction, artifact download, and the script invocation. I could not open scripts/release-packages.mjs or scripts/release-registry.mjs before the deadline to determine which behavior applies — that gap must be closed by the fixing agent.
🟠 Issue 10 — Security-critical release scripts and four test files were truncated from the embedded diff and not examined in this review pass
risk · identified by z-ai/glm-5.3-flash
This initial review could not sweep the core implementation of the release machinery: scripts/release-manifest.mjs, scripts/release-packages.mjs, scripts/release-registry.mjs, and the tail of scripts/release-contract.mjs were replaced by budget-triage stubs in the embedded diff, as were tests/release/arguments.test.mjs, tests/release/manifest.test.mjs, tests/release/outputs.test.mjs, and tests/release/fixtures.mjs. These files implement exactly the guarantees the PR claims (manifest integrity, fresh-build cleanup of ignored output, registry 404-only absence, provenance audit, prepared-dir handling), so any bug in them is invisible to this pass.
A follow-up review round must read those seven files in full before the release preparation can be considered verified. The one file from the diff I opened directly (tests/release/contract.test.mjs) and the visible portions of publish.yml, the registry tests, and the four docs were swept and produced the other findings in this list; no claim in this list extends into the truncated files.
🔵 Issue 11 — test:release enumerates its test files explicitly; a new release test file silently never runs
package.json:21 · nit · identified by z-ai/glm-5.3-flash
Concrete cost: a future contributor adds tests/release/identity.test.mjs (or renames an existing one) and forgets to update the test:release script; the file is still picked up by local node --test tests/ habits or by editors, but pnpm test — the gate RELEASING.md and the workflow rely on for "explicit Node test files" — never executes it, and no CI failure signals the omission. Explicit enumeration also breaks if a file is renamed, failing with a confusing "Cannot find module" rather than a review-visible change.
Evidence: package.json line 21 lists exactly arguments.test.mjs contract.test.mjs manifest.test.mjs outputs.test.mjs registry.test.mjs; tests/release/fixtures.mjs is intentionally excluded (helper), which is correct today. Using node --test tests/release/*.test.mjs-style globbing (on a Node version that supports it) or a test-directory convention check would remove the drift path.
| @@ -0,0 +1 @@ | |||
| * text=auto eol=lf | |||
There was a problem hiding this comment.
🔵 Blanket text normalization can corrupt binary artifacts (nit)
Failure scenario: a future commit adds a binary file (e.g., *.png, *.tgz, *.woff2) and * text=auto eol=lf causes Git to normalize CRLF→LF or treat the blob as text, corrupting the checked-out bytes or the packed npm tarball hash.
The diff adds .gitattributes with * text=auto eol=lf with no binary exceptions. Existing repo contains no binary allowlist and prepareArtifacts hashes tarball bytes exactly. Corrupted checkout would cause manifest shasum/integrity mismatches or broken images/fonts.
Checked: read .gitattributes, listed docs/, grepped for existing binary handling. No counterevidence of *.tgz binary or linguist overrides was found; neighbors ci.yml/publish.yml do not set it.
There was a problem hiding this comment.
text=auto preserves Git's binary detection; it does not force all files to text. See the documented text=auto behavior: https://git-scm.com/docs/gitattributes#_text . The current package inventory only publishes metadata, README/LICENSE and generated JavaScript/declarations, and tarballs are ignored. No current tracked binary corruption is demonstrated. An exception for a future unusual binary file belongs with that actual file if Git misclassifies it.
| "name", | ||
| "version", | ||
| "filename", | ||
| "size", |
There was a problem hiding this comment.
🟠 O_NOFOLLOW fallback and racy symlink checks on Windows (risk)
Failure scenario: on Windows constants.O_NOFOLLOW is undefined, so readBoundedFile opens with flag 0 and follows a file-symlink/junction. An attacker replaces manifest.json or a tarball with a symlink to an attacker-controlled file between the lstat/realpath TOCTOU window and the subsequent open, causing verifyPreparedManifest to hash attacker bytes while still passing the independent manifest-sha256 check (if they also control the digest input outside workflow).
scripts/release-manifest.mjs:readBoundedFile uses (constants.O_NOFOLLOW ?? 0) and relies on lstat.isSymbolicLink() + realpath equality before open. The comment acknowledges concurrency growth but the open does not atomically prevent symlink traversal on platforms without O_NOFOLLOW. The test suite even skips file-symlink cases on Windows without Developer Mode.
Checked: read scripts/release-manifest.mjs lines 170-220, tests/release/manifest.test.mjs symlink tests, and fixtures.mjs. No Windows O_NOFOLLOW polyfill or open with O_EXCL symlink guard was found.
There was a problem hiding this comment.
The proposed bypass also gives the attacker control of the independent expected manifest digest, which is the approval input from trusted preparation. That changes the verifier's trust precondition. After opening, fstat checks regular-file/dev/inode/size identity; reads are bounded; actual manifest bytes must match the independent digest, and every tarball must match its approved hashes. Publishing then copies and rehashes all blobs before its first write. A changed symlink target cannot pass those byte checks; identical approved bytes do not bypass integrity. O_NOFOLLOW adds protection where supported, but no cross-platform concurrent-host-compromise sandbox is claimed. Both complete Linux CI lanes executed the symlink cases.
| @@ -0,0 +1 @@ | |||
| * text=auto eol=lf | |||
There was a problem hiding this comment.
🟠 New .gitattributes eol=lf normalization can change the working-tree bytes of previously committed files, shifting release tarball bytes (risk)
A fresh checkout of an unchanged commit can now produce different file bytes than before, which directly conflicts with this PR's "exact tarball bytes" guarantee.
Concrete scenario: the new .gitattributes declares * text=auto eol=lf. Any text blob committed before this attribute existed whose content was stored with CRLF endings (or that git's text detection treats differently under the new attribute) will be materialized with LF endings on every subsequent checkout, including the release-preparation and publish checkouts. The tarball is packed from the checked-out working tree, so the same commit can yield different tarball bytes than a checkout made before this attribute existed — invalidating previously recorded prepared-artifact hashes and any byte-level continuity claims in docs/RELEASING.md and docs/BOOTSTRAP.md. It also produces spurious whole-file diffs in developers' working copies.
Evidence: the file is new (* text=auto eol=lf, line 1). I did not get to grep the repository history for CRLF-containing text blobs before the deadline, so the proof gap is whether any pre-existing blob is affected; if none is, the practical cost is zero and this can be closed. The release scripts' byte-precision claims make even the possibility worth checking.
There was a problem hiding this comment.
I checked all 45 tracked text blobs at the exact base a444e21: zero contain CRLF. Renormalization produced no application-source diff. The new attribute is itself part of a new commit; fresh checkouts of the old commit do not acquire it. The release guarantee transfers one prepared artifact and compares its exact registry bytes; it does not reuse hashes across different source commits or rebuild old artifacts under changed local configuration. Agent Access is still unpublished. This closes the stated historical-byte proof gap.
|
OpenRouter r1-9: the publisher and verifier intentionally do not repeat Git signature/main checks. For r1-10, the next review must read the complete implementations of |
|
@codex security review |
|
Round-1 follow-up is pushed at 72014e3. The setup-node pins are unified, reviewed npm setup is one local composite action, strict CLI/source guards and publisher environment isolation are strengthened, and release tests are automatically discovered. All 123 runtime tests passed locally; 133 release cases passed apart from three Windows file-symlink permission skips that both Linux CI lanes must execute. The exact composite Bash block and a signed temporary-clone preparation after poisoned outputs both passed. The actual npm 11.18 audit command also passed for all seven exact external runtime pins (102 installed packages; invalid=0, missing=0, verified=21), with no runtime imports. The observed real SLSA/certificate shape is recorded in RELEASING. This does not claim provenance for the unpublished Agent Access package. Please make the full-file follow-up requested by r1-10, including the complete release manifest/producer/registry/contract implementations and release tests. r1-9 is clarified in the preceding comment: Git identity is verified during preparation; later jobs verify the independently bound manifest/source identity and registry provenance. r1-1, r1-3 and r1-7 have concrete evidence replies and remain visible. Current-head CI, complete review and security results are required before merge. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: clean
Scope: latest-commit (commit-range)
Mode: verify
Commit: 72014e3686a6117fd9dfed383fa65970418e5225
Judge: skipped (one successful review lane; no merge needed)
Cost: $0.2777
Lanes
meta/muse-spark-1.2: ok (0 finding(s), 45.6s, 208593+5224 tokens (42707 cached), 5 tool round(s), via Meta, $0.24)z-ai/glm-5.3-flash: failed-open ($0.0417 spent) — OpenRouter returned an empty assistant message
Round 2 resolution
- ✅
r1-6fixed correctly — Two different pinned SHAs are both labeled actions/setup-node@v7 in the release-critical workflow: Verified .github/workflows/publish.yml now pins actions/setup-node to single SHA 949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 in validate, prepare, publish, verify jobs; validate job corrected from previous mismatch, remaining jobs updated via new .github/actions/setup-release-npm composite. - ✅
r1-2fixed correctly — Git config injection via GIT_CONFIG_ is not stripped*: scripts/release-contract.mjs git() now allowlists Git env case-insensitively, deleting GIT_CONFIG, GIT_CONFIG_COUNT, GIT_CONFIG_PARAMETERS and GIT_CONFIG_KEY_/VALUE_ (via /^GIT_CONFIG_(?:KEY|VALUE)_/ test), preserving GIT_CONFIG_GLOBAL/NOSYSTEM. Tests in contract.test.mjs cover indexed, serialized, direct GIT_CONFIG and Windows lowercase variants plus trusted global retention. - 🤝
r1-3disputed — O_NOFOLLOW fallback and racy symlink checks on Windows: Agent rebuttal: readBoundedFile still uses (O_NOFOLLOW ?? 0) so Windows fallback is 0 and lstat/realpath window remains, but verification is digest-bound: lstat rejects symlink, realpath must equal join(dir,basename), open+ fstat checks dev/ino/size identity, reads exactly metadata.size, and manifest bytes must match independent trusted manifest-sha256 plus per-tarball size/sha1/sha512 checks; pub… - 🤝
r1-7disputed — New .gitattributes eol=lf normalization can change the working-tree bytes of previously committed files, shifting release tarball bytes: New .gitattributes * text=auto eol=lf remains. Fixing agent checked 45 tracked text blobs at base a444e21: zero contain CRLF and renormalization produced no app-source diff. Attribute is part of new commit, so old commit checkouts unchanged; new release prepare/publish/verify all materialize LF consistently and transfer exact prepared artifact bytes with independen… - ✅
r1-10fixed correctly — Security-critical release scripts and four test files were truncated from the embedded diff and not examined in this review pass: Previously truncated files have now been read in full (scripts/release-manifest.mjs, release-packages.mjs, release-registry.mjs, release-contract.mjs and tests/release/*.test.mjs plus fixtures). Full implementations verify manifest integrity, fresh-build cleanup, 404-only absence, provenance and isolated npm handling; no inference from stubs remains. - 6 nit finding(s) from earlier rounds retired (severity floor for follow-up rounds is
risk). - Open findings after this round: 0 (0 bug-severity).
No structured findings from the successful lane(s).
|
@codex security review |
|
Follow-up head 165e56a applies the canonical npm path check to publication and verification, matching preparation. This proactively includes the final KB review correction. New linked-ancestor tests cover both modes and reject before any npm command; the release runner now has 136 cases (133 passed locally, three Windows file-symlink permission skips to be exercised in Linux CI). The preceding round completed full-file reads and has zero open ledger findings. One review lane returned an empty response in that round, so the fresh current-head review should complete both lanes along with CI/security before merge. No production version, runtime authentication, publication, tag, or external setting changes are included. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: clean
Scope: latest-commit (commit-range)
Mode: verify
Commit: 165e56ab19e9860d6c0bd17f419052b751394b9c
Judge: openai/gpt-5.6-luna
Cost: $0.1087 (lanes $0.1085 + judge $0.0001)
Lanes
meta/muse-spark-1.2: ok (0 finding(s), 46.1s, 98766+5181 tokens (54099 cached), 3 tool round(s), via Meta, $0.0860)z-ai/glm-5.3-flash: ok (0 finding(s), 328.4s, 439807+39482 tokens (366340 cached), 13 tool round(s), via OpenInference, $0.0226)
Round 3 resolution
- No prior findings were open.
- Open findings after this round: 0 (0 bug-severity).
No structured findings from the successful lane(s).
|
Current head 165e56a passes both Node lanes (123 runtime + 136 release tests each, zero skips), actual example and packed public type/API checks, both CodeQL checks, OpenRouter round 3 clean with both lanes successful and zero open actionable ledger entries, and explicit Codex Security no-issues receipt 6711125916. Independent full-source review is also clean. No Copilot review or work-start event arrived during the bounded wait despite accepted REST and GraphQL requests. That absence is recorded rather than counted as a completed review. Proceeding under the documented review-bot fallback with completed code/security/independent reviews; no required CI/security result is skipped or overridden. |
Incremental builds could retain ignored output in a source-bound release artifact, while publication relied on a mutable manifest and ambient npm configuration. Release preparation now clears validated owned output/cache paths, forces a build, and binds the exact package to an approved signed tag, main ancestry, event commit, and an independently transferred manifest digest.
The workflow validates Node 22 and 24 before packing and transfers an immutable artifact ID. The protected OIDC job only publishes the prepared tarball; a separate unprivileged job checks exact public-registry bytes, a clean consumer, and cryptographic source provenance before runtime imports. Only explicit HTTP 404 establishes absence; matching existing versions are byte-verified and skipped. Existing packed public-type/API/device-flow smoke coverage is retained. Authentication runtime, scopes, version 0.1.0, and production dependencies are unchanged.
Validation:
The first npm name bootstrap remains a separate maintainer 2FA operation under an unadvertised bootstrap tag, followed by a separately reviewed trusted release. No real tag, release, publication, publisher setting, host installation, or activation is performed here.