Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- run: semgrep ci
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# DevArts Lab pnpm fleet policy - copy to <repo>/.npmrc
engine-strict=true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Install accepts incompatible Node versions

On Node 24.10, pnpm install accepts Ultracite despite its Node 24.15 minimum for the Node 24 line. The pinned pnpm ignores engine-strict in .npmrc, so installation warns instead of rejecting the incompatible tool.

Learn more

The setup instructions tell contributors to use Node 24 and run pnpm install. The dependency declaration pins pnpm 12.18.0 and includes Ultracite. That pnpm version reads engine policy from workspace configuration, not .npmrc; its effective configuration does not contain engineStrict. The locked Ultracite release requires Node 24.15 or later on the Node 24 line.

Example: A contributor on Node 24.10 follows setup. Their Node version passes the project's 24.x range, and installation warns about Ultracite rather than stopping on the incompatible dependency.

Recommended fix: Set engineStrict: true in workspace configuration and remove the ignored .npmrc entry. Align the documented Node prerequisite and engines.node with the tooling's supported Node 24 range.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

manage-package-manager-versions=true
minimum-release-age=1440

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟨 Dependency cooling-off period too short

The pinned pnpm ignores minimum-release-age in .npmrc and falls back to one day. The threat model requires seven days, so newly resolved releases can enter the lockfile six days early.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

2 changes: 1 addition & 1 deletion docs/security/threat-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ Per baseline, weighted equally [owner]:

1. Whose issue text should be able to reach stations in practice: owner-only, org members, or anyone on public repos? Can an issue be edited after labeling (TOCTOU)?
2. Does the baseline apply unchanged, or is A5 ruled out for factory (single-user Mac)?
3. The secrets layer is `DevArtsLab/vault` + `DevArtsLab/registry` (infra, self-hosted Infisical) — include in scope?
3. The secrets layer is `DevArtsLab/vault` + `DevArtsLab/registry` (infra, macOS Keychain) — include in scope?
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
},
"engines": {
"node": "24.x"
}
},
"packageManager": "pnpm@12.18.0"
}
158 changes: 158 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading