Skip to content

fix(deps): pin ajv, ajv-formats, multer, and busboy - #462

Open
jnylin wants to merge 1 commit into
daisy:masterfrom
jnylin:master
Open

fix(deps): pin ajv, ajv-formats, multer, and busboy #462
jnylin wants to merge 1 commit into
daisy:masterfrom
jnylin:master

Conversation

@jnylin

@jnylin jnylin commented Jun 26, 2026

Copy link
Copy Markdown

to resolve vulnerabilities

Address multiple security vulnerabilities in nested dependencies by forcing safer versions using Yarn resolutions.

  • Fixes ReDoS vulnerability in ajv by upgrading to v8.
  • Upgrades ajv-formats to v2 to ensure compatibility with ajv v8 and prevent runtime crashes.
  • Bypasses the high-severity dicer vulnerability by forcing multer and busboy to safe versions.

Closes #461

…abilities

Address multiple security vulnerabilities in nested dependencies by forcing
safer versions using Yarn resolutions.

- Fixes ReDoS vulnerability in ajv by upgrading to v8.
- Upgrades ajv-formats to v2 to ensure compatibility with ajv v8 and prevent runtime crashes.
- Bypasses the high-severity dicer vulnerability by forcing multer and busboy to safe versions.
@socket-security

Copy link
Copy Markdown

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm js-yaml is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?npm/puppeteer@24.43.1npm/js-yaml@4.2.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/js-yaml@4.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm puppeteer-core is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?npm/puppeteer@24.43.1npm/puppeteer-core@24.43.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/puppeteer-core@24.43.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm yargs is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?npm/jest@30.4.2npm/puppeteer@24.43.1npm/i18next-json-sync@3.1.2npm/yargs@17.7.3

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/yargs@17.7.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@jnylin

jnylin commented Jun 26, 2026

Copy link
Copy Markdown
Author

Pinned multer to 1.4.5-lts.2 to resolve the core vulnerabilities. Note that the socket security still flag this package due to legacy CVE mappings, but this is currently the highest available security level for the 1.x branch.

@jnylin

jnylin commented Jun 26, 2026

Copy link
Copy Markdown
Author

@SocketSecurity ignore npm/puppeteer-core@24.43.1

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.

Security audit alerts for vulnerable dependency versions

1 participant