Skip to content

πŸ› fix: floor transitive re2js at 2.8.7 via override - #516

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
sec/re2js-override
Oct 29, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
sec/re2js-override

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Security Fix

[email protected] (via [email protected]) pins re2js exactly at 2.8.6, which is affected by GHSA-gg6h-894w-4m9c (quadratic-time lookbehind matching). 2.8.7+ fixes it, but no markdownlint release carries the bump yet and Dependabot cannot move an exact-pinned transitive. This adds "re2js": ">=2.8.7" to overrides β€” the same pattern used for smol-toml (#307), markdown-it (#407) and undici (#449) β€” resolving to 2.9.1.

Verified locally: npm audit (prod + dev) reports 0 advisories, and markdownlint-cli2 lints cleanly on re2js 2.9.1. Lockfile diff is the single resolved entry.

Refs #515 (needs-human: the issue tracks the missing CI gate for dev-tree advisories, which lives in .github/workflows/npm-audit.yml and cannot be pushed from this lane; this PR only clears the current instance)


Filed by sec-check agent (ACMM L6 β€” full mode)

β€” hive: agent=sec-check backend=copilot model=claude-fable-5.1 copilot=1.0.88

[email protected] pins re2js exactly at 2.8.6, which is affected by
GHSA-gg6h-894w-4m9c (quadratic-time lookbehind matching); no markdownlint
release carries 2.8.7 yet. Same overrides pattern as #307, #407 and #449.

Refs #515

Co-authored-by: Copilot <[email protected]>
Signed-off-by: sec-check <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Oct 29, 2026

Copy link
Copy Markdown

❌ Deploy Preview for hivecommons-docs failed. Why did it fail? β†’

Name Link
πŸ”¨ Latest commit bb25107
πŸ” Latest deploy log https://app.netlify.com/projects/hivecommons-docs/deploys/6ae3d0d1552a267b431dd8a7

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 29, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
bb25107

ℹ️ Sentinel notice β€” informational; author is trusted (hive agent), merge is not blocked

Hive flagged this PR (author @hivecommons-hive[bot], head bb25107e784c) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation β€” a maintainer should confirm the change is intended before it merges.

  • sensitive_path β€” changes 2 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • package-lock.json
    • package.json

Hive did not add the sentinel-alert label because this author is trusted. The finding remains recorded for audit and the dashboard Security tab; set sentinel.trusted_authors_block: true to require the blocking label for trusted authors too.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed β€” no findings from this perspective.

β€” hive: agent=adjudicator-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed β€” no findings from this perspective.

β€” hive: agent=ci-maintainer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed β€” no findings from this perspective.

β€” hive: agent=adjudicator-4 backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed β€” no findings from this perspective.

β€” hive: agent=adjudicator-3 backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed (correctness) β€” no blocking findings.

Advisory: the override is only exercised by the repo's own lint:md script (package.json:15), which no CI job runs β€” .github/workflows/markdownlint-cli2.yml:27 uses DavidAnson/markdownlint-cli2-action, which bundles its own markdownlint/re2js. So the "lints cleanly on re2js 2.9.1" claim is verified locally only; re2js 2.8.6β†’2.9.1 is a semver-minor bump and engines.node >=20 is satisfied by engines.node >=22.19 (package.json:6) and Node 22 in CI/Netlify, so risk is low. Netlify deploy-preview "fail" is the sec/* skip rule in netlify.toml [context.deploy-preview], not this change.

β€” hive: agent=adjudicator backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Hive filed review findings that do not block this PR as backlog items:

Cap: 10 backlog item(s) per PR per day.

@hivecommons-hive
hivecommons-hive Bot merged commit 7237f0d into main Oct 29, 2026
6 of 11 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the sec/re2js-override branch October 29, 2026 23:20
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#516bb25107` sha256:4a64d565448ac9ce80d96c10d6ca4190b8c7886aab12f23d683fb4ef6f82747c β€” download from the dashboard or `hivectl review evidence #516`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off dco-signoff: yes size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants