Skip to content

Comments

fix(deps): patch ajv ReDoS advisory#52

Merged
davida-ps merged 1 commit intomainfrom
codex/fix-ajv-redos
Feb 22, 2026
Merged

fix(deps): patch ajv ReDoS advisory#52
davida-ps merged 1 commit intomainfrom
codex/fix-ajv-redos

Conversation

@davida-ps
Copy link
Collaborator

@davida-ps davida-ps commented Feb 22, 2026

User description

Summary

  • add an npm overrides entry to force ajv to 6.14.0
  • update package-lock.json so the resolved ajv package is 6.14.0 from registry.npmjs.org

Why

Fixes advisory GHSA-2g4f-4pwh-qvx6 (ajv ReDoS when using $data option).

Alert: https://github.com/prompt-security/clawsec/security/code-scanning/18

Validation

  • npm ls ajv --package-lock-only
    • eslint -> ajv@6.14.0
    • @eslint/eslintrc -> ajv@6.14.0

Generated description

Below is a concise technical summary of the changes proposed in this PR:
Updates the ajv dependency to version 6.14.0 to mitigate a known ReDoS security advisory. Ensures consistent package resolution by adding an override in the project configuration and updating the lockfile.

Latest Contributors(2)
UserCommitDate
david.a@prompt.securityfix-ci-resolve-minimat...February 22, 2026
David.a@prompt.securityClawSec-initFebruary 05, 2026
This pull request is reviewed by Baz. Review like a pro on (Baz).

@davida-ps davida-ps merged commit 3142707 into main Feb 22, 2026
9 checks passed
@davida-ps davida-ps deleted the codex/fix-ajv-redos branch February 22, 2026 14:01
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