Repository navigation
Security scan: resolve findings (2026-07-29) - #2
Conversation
The root and package READMEs told consumers that Pegma's packages are not published, but `@pegma/spine@0.1.1` has been on npm since the last release. Stale trust guidance in the shipped README is the one security-scan finding with something to fix; the other three are annotated as disputed in docs/securityscan.md with the reasoning that ruled each one out. Bumps the package to 0.1.2 so the corrected README reaches consumers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
There was a problem hiding this comment.
Pull request overview
Updates published-package messaging and records the outcomes of a security scan review, ensuring npm consumers see accurate maturity/publishing guidance while keeping the code/API unchanged.
Changes:
- Update both READMEs’
[!IMPORTANT]disclaimer to reflect that@pegma/spineis published on npm while still warning about unstable0.xAPI / not production-ready status. - Bump
@pegma/spineversion to0.1.2and sync the root lockfile entry. - Mark each security scan finding as resolved or disputed and document the reasoning in
docs/securityscan.md.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates repo-level disclaimer to reflect that @pegma/spine is published. |
| packages/spine/README.md | Updates the package README shipped to consumers with accurate publish status. |
| packages/spine/package.json | Bumps package version to 0.1.2. |
| package-lock.json | Syncs lockfile entry for packages/spine to 0.1.2. |
| docs/securityscan.md | Records per-finding dispositions (resolved/disputed) and adds a disposition review note. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0027b1dd27
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
`npm install --global npm@11.18.0` trusted registry-provided metadata, while every other install in the preparation job is constrained by package-lock.json integrity hashes. That left the bootstrap as the one fetch a compromised registry could substitute undetected, and the substituted npm is what then runs `npm ci` and packs the artifact. The step now downloads the tarball, checks it against a committed SHA-256 digest, installs from the verified file, and confirms the active npm is the reviewed version. FINDING-002 is re-marked resolved rather than disputed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |

Reviews every finding in
docs/securityscan.mdagainst the code, fixes the onethat had something to fix, and records the reasoning that ruled out the other
three. Each item in the report is now marked resolved or disputed.
Dispositions
FINDING-001 — Local stale release artifacts in
.release/— disputed.The artifacts are untracked and
.gitignored, so they are absent from any cleancheckout and from CI.
verifyPreparedManifestrejects the stale schema (itrequires a top-level
packageobject andreleaseTag === "v" + version) andadditionally rebinds the manifest to the current
HEADcommit. There is norepository change to make.
FINDING-002 — Release job installs npm pinned by version only — disputed.
The step adds no trust beyond what the job already accepts: the same job runs
npm cifor the whole dev tree and takes its Node toolchain fromsetup-node,so
registry.npmjs.orgis already in the job's trust root and pinning npm'starball hash would not narrow it. The version is pinned twice — workflow line 57
and
REVIEWED_NPM_VERSIONinscripts/release-packages.mjs:21, which fails therelease unless the root manifest pins
npm@11.18.0— so silent drift isimpossible, and the preparation job holds no
id-token: write.FINDING-003 — CI runs
npm cion untrusted pull-request code — disputed.There is nothing for a malicious install script to reach. The trigger is
pull_request, notpull_request_target, so a fork PR runs with a read-onlytoken from the fork's context; the workflow declares only
contents: read,references no secrets, and has no
id-token: write. Publishing is reachableonly from a
release: publishedevent on a protected signed tag.FINDING-004 — README claims the package is unpublished — fixed.
Both READMEs'
[!IMPORTANT]note said "its packages are not published" while@pegma/spine@0.1.1has been on npm since the last release. npm shipspackages/spine/README.mdinside the tarball regardless of thefileslist, soconsumers were reading stale trust guidance. The note now states that the
package is published, keeping the unstable-API and not-production-ready
warnings.
Release
packages/spine/package.jsongoes to0.1.2withpackage-lock.jsonsynced,so the corrected README reaches consumers. No public API changed — the diff is
documentation, the report, and the version bump.
npm run format:check,npm run check,npm test, andnpm run release:checkall pass locally.
🤖 Generated with Claude Code