Skip to content

fix(deps): patch markdown-it ReDoS vulnerability#143

Merged
jbdevprimary merged 5 commits intomainfrom
claude/triage-pull-requests-gKQEA
Feb 16, 2026
Merged

fix(deps): patch markdown-it ReDoS vulnerability#143
jbdevprimary merged 5 commits intomainfrom
claude/triage-pull-requests-gKQEA

Conversation

@jbdevprimary
Copy link
Contributor

@jbdevprimary jbdevprimary commented Feb 16, 2026

Summary

  • Adds pnpm override for markdown-it >= 14.1.1 to fix Dependabot alert [Agent] Build multi-agent orchestration system #11
  • Patches moderate ReDoS vulnerability in the transitive markdown-it dependency (used by typedoc-plugin-markdown)
  • Updates pnpm-lock.yaml to resolve markdown-it@14.1.1

Test plan

  • pnpm install resolves cleanly
  • pnpm audit --prod --audit-level=moderate shows no issues
  • Build passes normally

https://claude.ai/code/session_01PQd4hGQQpmGTgpHc7kGjAE

Summary by CodeRabbit

  • Chores
    • Updated package dependency overrides to ensure proper version resolution and consistency across the project.

- OrchestrationState: use getTask() helper instead of direct taskQueue.find()
  to correctly detect cancelled deps in completedTasks (CodeRabbit #134)
- DiffViewer: combine additions/deletions into single-pass useMemo (Gemini #134)
- DiffViewer: export parseDiff for testability
- diff-viewer.perf.test: rename to kebab-case, add memoization spy test
  verifying parseDiff is NOT called on re-render (Amazon Q + Gemini #134)
- FileTree: pass selectedPath directly instead of converting undefined
  to empty string which changes "no selection" semantics (Amazon Q #139)
- sonar-project.properties: remove stale app/_layout.tsx comment (CodeRabbit #139)
- create-project: add auth error detection with recovery guidance (Amazon Q #132)

https://claude.ai/code/session_01PQd4hGQQpmGTgpHc7kGjAE
…ibility

- Add missing organic border-radius variants to Tailwind config (hero, cta,
  modal, toast, code) and replace inline/arbitrary values in NotFound,
  welcome, complete, and AgentDetail pages (#80)
- Add shadow-organic-card to card surfaces across detail pages, onboarding
  screens, and settings for proper visual hierarchy (#82)
- Enhance Skeleton with SkeletonText and SkeletonCard compound components,
  build Pagination component with organic styling (#83)
- Fix accessibility: aria-hidden on decorative dots, aria-live on typing
  indicator and progress, aria-label on search input and role icon,
  progressbar role on task progress (#86)

https://claude.ai/code/session_01PQd4hGQQpmGTgpHc7kGjAE
Add pnpm override to force markdown-it >=14.1.1, fixing the moderate
Regular Expression Denial of Service vulnerability in the transitive
dependency (Dependabot alert #11).

https://claude.ai/code/session_01PQd4hGQQpmGTgpHc7kGjAE
@jbdevprimary jbdevprimary merged commit 8a90f2e into main Feb 16, 2026
13 of 18 checks passed
@gemini-code-assist
Copy link

Summary of Changes

Hello @jbdevprimary, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the project's security posture by resolving a moderate ReDoS vulnerability. It achieves this by introducing a pnpm override to ensure that the markdown-it package, a transitive dependency, is updated to a secure version, thereby mitigating the identified risk.

Highlights

  • Dependency Override: Implemented a pnpm override in package.json to enforce markdown-it version 14.1.1 or newer.
  • Security Vulnerability Fix: Addressed a moderate ReDoS vulnerability found in the transitive markdown-it dependency.
  • Lock File Update: The pnpm-lock.yaml file was updated to reflect the resolution of markdown-it@14.1.1.
Changelog
  • package.json
    • Added a pnpm override for markdown-it to specify a minimum version of 14.1.1.
Activity
  • No human activity has been recorded on this pull request since its creation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@amazon-q-developer amazon-q-developer bot left a comment

Choose a reason for hiding this comment

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

This PR correctly patches the markdown-it ReDoS vulnerability by adding a pnpm override. The change follows the existing override pattern and maintains valid JSON syntax. The security fix addresses a moderate severity vulnerability in a transitive dependency without introducing any issues.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Added a new pnpm package override for markdown-it version >=14.1.1 in package.json alongside the existing @isaacs/brace-expansion override. This ensures consistent dependency resolution for markdown-it across the project without altering other configurations.

Changes

Cohort / File(s) Summary
Package Configuration
package.json
Added pnpm override for markdown-it >= 14.1.1 to standardize dependency resolution.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A markdown friend joins the override bay,
Where versions align in a harmonious way,
With comma precise and fourteen-point-one,
Dependencies dance—another one done! ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/triage-pull-requests-gKQEA

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@jbdevprimary jbdevprimary deleted the claude/triage-pull-requests-gKQEA branch February 16, 2026 01:22
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly addresses a moderate ReDoS vulnerability in the transitive markdown-it dependency by adding a pnpm override in package.json. The change forces the resolution of markdown-it to version 14.1.1 or higher, which contains the fix. This is a good and standard approach to patching vulnerabilities in transitive dependencies. The change is clear, concise, and effectively resolves the security alert.

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.

2 participants