Skip to content

fix(PT9-1372): resolve dependabot security alerts - #28

Merged
rharutyunyan merged 3 commits into
masterfrom
cursor/pt9-1372-security-vulnerabilities-a4e2
Aug 24, 2026
Merged

fix(PT9-1372): resolve dependabot security alerts#28
rharutyunyan merged 3 commits into
masterfrom
cursor/pt9-1372-security-vulnerabilities-a4e2

Conversation

@rharutyunyan

@rharutyunyan rharutyunyan commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Change Summary

What does this PR change?
Resolves the open Dependabot alerts in yarn.lock and pnpm-lock.yaml with yarn resolutions and version-scoped pnpm overrides. Moves the PR CI job from retired ubuntu-20.04 to ubuntu-22.04 so GitHub Actions can start a runner.

Related Issue/Ticket:
https://1inch.atlassian.net/browse/PT9-1372

Testing & Verification

How was this tested?

  • Unit tests
  • Integration tests
  • Manual testing (describe steps)
    • yarn audit --level moderate reported 0 vulnerabilities
    • pnpm audit --audit-level moderate reported no known vulnerabilities
    • yarn install --frozen-lockfile and pnpm install --frozen-lockfile both succeeded
    • yarn run ci-pipeline (lint, jest, typecheck) passed
  • Verified on staging

Risk Assessment

Risk Level:

  • Low - Minor changes, no operational impact
  • Medium - Moderate changes, limited impact, standard rollback available
  • High - Significant changes, potential operational impact, complex rollback

Risks & Impact
None. Runtime library code is unchanged. Fixes are transitive dependency pins plus a webpack 5.x bump (dev-only, via ts-loader). serialize-javascript left the tree because webpack 5.104.1 / terser-webpack-plugin 5.6.1 no longer depends on it. The workflow runner change is CI-only.

Fixed

yarn.lock

Package Severity How fixed Before → After
lodash (CVE-2026-4800, CVE-2026-2950, CVE-2025-13465) high / medium yarn resolution 4.17.21 → 4.18.1
js-yaml 3.x / 4.x high / medium lockfile update + pnpm override 3.14.1 → 3.15.1, 4.1.0 → 4.3.1
brace-expansion (CVE-2026-69152, CVE-2026-14257, CVE-2026-13149) high yarn resolution 1.1.11 → 1.1.18
ws (CVE-2026-48779, CVE-2026-45736) high / medium yarn resolution 8.17.1 → 8.21.0
picomatch (CVE-2026-33671, CVE-2026-33672) high / medium yarn resolution 2.3.1 → 2.3.2
flatted (CVE-2026-32141, CVE-2026-33228) high yarn resolution 3.3.1 → 3.4.2
minimatch (CVE-2026-27904, CVE-2026-27903, CVE-2026-26996) high yarn resolution 3.0.5 / 3.1.2 → 3.1.4
yaml (CVE-2026-33532) medium yarn resolution 1.10.2 → 1.10.3
ajv (CVE-2025-69873) medium yarn resolution 6.12.6 → 6.14.0
@babel/core (CVE-2026-49356) low yarn resolution 7.26.10 → 7.29.6
diff (CVE-2026-24001) low yarn resolution 4.0.2 → 4.0.4

pnpm-lock.yaml

Same packages as above, plus:

Package Severity How fixed Before → After
fast-uri (CVE-2026-6321, CVE-2026-6322, CVE-2026-18446, CVE-2026-16221, CVE-2026-13676) high pnpm override 3.0.6 → 3.1.5
serialize-javascript (RCE + CVE-2026-34043) high / medium parent update (webpack) 6.0.2 → removed from tree
webpack (CVE-2025-68157, CVE-2025-68458) low pnpm override 5.98.0 → 5.104.1
ajv 8.x (CVE-2025-69873) medium pnpm override 8.17.1 → 8.20.0

Changes Made

  • Added yarn resolutions and pnpm overrides in package.json (scoped + major-capped).
  • Refreshed yarn.lock and pnpm-lock.yaml.
  • Switched .github/workflows/pr.yml from retired ubuntu-20.04 to ubuntu-22.04.

QA: pass (yarn run ci-pipeline, both audits clean).

Open in Web Open in Cursor 

Pin vulnerable transitive packages via yarn resolutions and pnpm overrides,
refresh both lockfiles, and add ai-dev-toolkit symlinks so the security-fix
skill is available in this repo.

Co-authored-by: Radik Harutyunyan <rharutyunyan@users.noreply.github.com>
@rharutyunyan
rharutyunyan requested a review from krboktv as a code owner August 21, 2026 10:59
@rharutyunyan rharutyunyan added the risk:low label Aug 21, 2026 — with Cursor
cursoragent and others added 2 commits August 21, 2026 11:51
GitHub retired ubuntu-20.04, so the ci job stayed queued and never started.

Co-authored-by: Radik Harutyunyan <rharutyunyan@users.noreply.github.com>
Keep the Dependabot pins and CI runner fix; do not publish internal
agent/skill/symlink wiring on a public repository.

Co-authored-by: Radik Harutyunyan <rharutyunyan@users.noreply.github.com>
@rharutyunyan
rharutyunyan merged commit bb72cae into master Aug 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants