Skip to content

Harden supply chain security#260

Merged
yosriady merged 1 commit into
mainfrom
sec/npm-sec
May 20, 2026
Merged

Harden supply chain security#260
yosriady merged 1 commit into
mainfrom
sec/npm-sec

Conversation

@yosriady
Copy link
Copy Markdown
Contributor

@yosriady yosriady commented May 20, 2026


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

@yosriady
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the minimumReleaseAge in pnpm-workspace.yaml from 4320 to 10080 minutes. A suggestion was made to include a comment clarifying that this value represents a 7-day period to enhance code readability and maintainability.

Comment thread pnpm-workspace.yaml
autoInstallPeers: false
blockExoticSubdeps: true
minimumReleaseAge: 4320
minimumReleaseAge: 10080
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To improve readability and maintainability, consider adding a comment to explain that 10080 minutes is equivalent to 7 days. This context will be helpful for future developers who might not be aware of this conversion.

# Wait 7 days (7 * 24 * 60 = 10080 minutes) before using a new package release.
minimumReleaseAge: 10080

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1672956663

ℹ️ 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".

Comment thread .github/workflows/ci.yml
Comment on lines +96 to +97
- name: Audit production dependencies
run: pnpm audit --prod --audit-level=high
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Install dependencies before running audit

pnpm audit is documented to check vulnerabilities in installed packages, but this new audit job runs on a fresh GitHub runner and never executes pnpm install. In this workflow, that means the audit can run without a realized dependency tree and may miss vulnerable transitive packages, producing a false sense of coverage. Add an install step (for example pnpm install --frozen-lockfile) before invoking audit so the scan reflects the actual dependency graph.

Useful? React with 👍 / 👎.

@yosriady yosriady merged commit b53f95c into main May 20, 2026
11 checks passed
@yosriady yosriady deleted the sec/npm-sec branch May 20, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant