Skip to content

chore(opencode): bump minimatch for ReDoS advisories #34139

Closed as not planned
Closed as not planned

Description

@gateway

I was running a local dependency scan with Guardian and noticed packages/opencode still pins minimatch@10.0.3.

That version is in the affected range for two public ReDoS advisories:

The practical risk is that certain attacker-controlled glob patterns can create very slow regular-expression matching. I am not claiming this is actively exploitable in opencode, but since minimatch is a direct dependency of packages/opencode, it seems worth patching.

The fix looks small: bump packages/opencode from minimatch@10.0.3 to 10.2.5. packages/core already uses 10.2.5, so this keeps the workspace aligned and removes the stale scoped lockfile entry.

I have a small PR ready if that approach looks acceptable.

Activity

  1. github-actions commented on Jun 27, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. All issues must use one of the three provided templates: Bug Report, Feature Request, or Question. Since this is a dependency security suggestion, the closest fit would be Bug Report (use the Bug Report template and fill in the required Description field with details about the vulnerability and affected version).

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. github-actions commented on Jun 27, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions