Repository navigation
fix: security hardening - #486
Conversation
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 4 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟢 Advisory review: Looks good to meThis PR still needs a human approval — wall-e cannot auto-approve it. For what it's worth, I read the diff and found nothing I'd block on. This PR hardens four CI workflows by pinning actions to commit SHAs, splitting the release job into build/publish/github-release stages, adding least-privilege permissions, and verifying the npm tarball before publishing. The diff matches the stated intent and the security controls are implemented correctly. What I checked
This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02 |
Security hardening of the CI workflows. The release is split so that the job that publishes to npm only checks and publishes the tarball built and tested by the earlier jobs. Actions are pinned by commit SHA on current versions and kept up to date by Dependabot, and the integration test secrets reach only the test steps.
94db233 to
343bd1b
Compare
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 5 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
|



Summary
Security hardening of the CI workflows: release workflow split into test, build, publish and GitHub release jobs, actions pinned by commit SHA on current versions, least-privilege permissions, integration test secrets only where the tests run.
Changes
.github/workflows/build-release.yml: four jobs.testruns the unit and integration tests.build(aftertest) builds and packs the package and uploads the tarball with its sha256.publishdownloads that tarball, checks it and publishes it with provenance.github-releasecreates the GitHub release with theghCLI, replacing the archivedactions/create-release. One release runs at a time..github/workflows/build-master.yml,build-pull-request.yml:actions/checkoutv7.0.1 andactions/setup-nodev7.1.0, pinned by commit SHA,persist-credentials: false,package-manager-cache: false; install, test and build as separate steps, with the integration test secrets on the test step only..github/workflows/codeql-analysis.yml: removed. GitHub disabled it for inactivity; CodeQL runs through the repository's default setup..github/dependabot.yml(new): weekly updates for the GitHub Actions in the workflows.Design notes:
package-manager-cache: falsekeeps setup-node v5 and later from turning caching on by itself if the package ever declares a package manager; no workflow used a cache before.npm ci --ignore-scripts, as the master and pull request builds already do; the package has no install or publish lifecycle scripts (onlyposttestandpostbuild, which still run), so the build is unchanged.npm packin the build job (npm 10, bundled with Node 22) instead of insidenpm publish. Built from the repository files it has the same 265 files as the published 5.10.0, byte-identical apart from the workflow files.x.y.z, the only form this workflow can publish with thelatesttag; it names the tarball and the tag and is passed between jobs as a job output instead of$GITHUB_ENV.API Reference
None.
Breaking changes
None. CI only; the published package and the SDK API are unchanged.
Tests
Existing tests pass
Serialization tests cover every new or changed property (no request or response type changed)
README updated if documented usage changed (documented usage unchanged)
actionlintclean on every workflow.The build and publish steps were run in an
ubuntu:26.04container with Node 22: install, build, pack, the publish checks andnpm publish --dry-runof the tarball.Related
None.