Skip to content

docs(security): Dependabot triage — 292 alerts decoded, P0/P1 remediation plan - #69

Merged
POWERFULMOVES merged 2 commits into
PMOVES.AI-Edition-Hardenedfrom
docs/dependabot-triage
Nov 8, 2026
Merged

POWERFULMOVES merged 2 commits into
PMOVES.AI-Edition-Hardenedfrom
docs/dependabot-triage

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

Summary

Adds docs/DEPENDABOT_TRIAGE_2026-11-06.md — full triage of the 292 open Dependabot alerts (13 critical, 136 high, 119 medium, 24 low) flagged on the default branch.

Key findings (all verified against the alerts API)

  • Critical tier is 3 packages: next (direct dep, patched in 15.5.28+), handlebars (transitive via hardhat, patched in 4.7.9+), basic-ftp (5.2.2)
  • Top 8 packages account for 208 of 292 alerts — axios (60), next (30), handlebars (30), fast-uri (23), js-yaml (20), undici (12), brace-expansion (12), picomatch (8)
  • 21 pip alerts live in requirements-updated.txt — a stale duplicate of requirements.txt; deleting the file removes that exposure entirely
  • 2 packages have no published patch: extract-zip (high), elliptic (low) — risk-acceptance documented
  • Every alert's first_patched_version extracted from the API; remediation path per package (direct bump vs npm overrides)

Includes

P0 (critical) → P1 (high) → P2 (hygiene) remediation waves with concrete versions, a verification loop (npm ci + jest per manifest), and the expected ~85% clearance after the first two waves.

…ersions, P0/P1 remediation waves, hygiene plan
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T20:10:53.162734Z 1202005 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: 120200535c

ℹ️ 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 on lines +20 to +22
| `next` | 3 critical (of 30 total) | pmoves-nextjs | 15.5.28+ (also 16.x lines) | **Direct dep** — bump `next` from `^15.5.12` to latest 15.5.x (`npm audit fix` may suffice; advisories GHSA-2464-fhr4-w9xw, GHSA-2xp9-vwfh-vxw4, GHSA-p293-qw3h-jr36) |
| `handlebars` | 2 critical × 3 manifests (of 10 each) | contracts, integrations, pmoves-nextjs | 4.7.9 / 4.7.10 | **Transitive** (via hardhat toolchain) — add npm `overrides`: `"handlebars": "^4.7.9"` |
| `basic-ftp` | 1 critical + 1 high | pmoves-nextjs | 5.2.0 / 5.2.2 | npm `overrides` → `5.2.2` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Reconcile the missing critical alerts

The P0 table accounts for only 10 critical alerts: 3 for next, 6 for handlebars (2 × 3), and 1 for basic-ftp. This conflicts with the stated total of 13, so following the remediation plan would leave three critical alerts unidentified or would report an incorrect critical total; reconcile the API data and add the missing package rows or correct the counts.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed in a14f2fa: recount from the alerts API — handlebars has 3 critical GHSAs (GHSA-p8wg-vrv2-v86f, GHSA-8r5x-fm3f-whwj, GHSA-2w6w-674q-4c4q) x 3 manifests = 9, plus next 3 and basic-ftp 1 = 13 total. P0 table corrected from "2 critical x 3 manifests" to "3 critical x 3 manifests = 9".

Comment thread docs/DEPENDABOT_TRIAGE_2026-11-06.md Outdated

```bash
# per npm manifest
npm ci --no-audit --no-fund && npx jest --silent

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 Run each manifest's actual test suite

When this loop is run in contracts/solidity, there is no local Jest executable and its tests are Hardhat tests: contracts/solidity/package.json:7 defines npm test as hardhat test, while .github/workflows/ci.yml:168-174 explicitly compiles and tests with Hardhat. Consequently, npx jest may attempt to fetch Jest and will not execute the contract suite, leaving the most heavily overridden toolchain unverified; use each manifest's test script (and the Hardhat compile step) instead of applying Jest universally.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed in a14f2fa: the verification loop now lists per-manifest commands — pmoves-nextjs: jest + build; integrations: jest; contracts/solidity: hardhat compile && hardhat test (not Jest, which does not exist there).

Comment thread docs/DEPENDABOT_TRIAGE_2026-11-06.md Outdated
# then confirm alert counts dropped
```

Expected outcome: P0+P1 waves clear ~85% of alerts (the top 8 packages account for 208 of 292); P2 removes the pip block entirely.

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 Correct the projected alert-clearance arithmetic

The eight package counts named as the basis for this projection total 195, not 208 (60 + 30 + 30 + 23 + 20 + 12 + 12 + 8), and even 208 of 292 is about 71%, not 85%. This materially overstates the expected result of the remediation waves, so recompute the package total and clearance percentage from the alert snapshot.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed in a14f2fa: arithmetic corrected — the named top-8 packages total 195 of 292 (~67%), not 208/85%; with P2 pip-file removal the cumulative figure is ~74%. The projection now states exactly that.

…anifest verification commands, corrected clearance arithmetic
@POWERFULMOVES
POWERFULMOVES merged commit 4f0afbf into PMOVES.AI-Edition-Hardened Nov 8, 2026
13 of 14 checks passed
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