Skip to content

fix(deps): resolve HIGH transitive vulns (langsmith, fast-xml-builder) - #149

Merged
ojfbot merged 1 commit into
mainfrom
fix/langchain-dep-vulns
Jun 4, 2026
Merged

fix(deps): resolve HIGH transitive vulns (langsmith, fast-xml-builder)#149
ojfbot merged 1 commit into
mainfrom
fix/langchain-dep-vulns

Conversation

@ojfbot

@ojfbot ojfbot commented Jun 4, 2026

Copy link
Copy Markdown
Owner

What

pnpm audit --prod --audit-level=high was failing on 2 HIGH advisories in the LangChain stack (packages/agent-graph), which blocks every cv-builder PR (it's a pre-existing failure on main):

Package Was Advisory Fix → resolves to
langsmith 0.5.11 GHSA-3644-q5cj-c5c7 — public prompt-pull deserializes untrusted manifests override >=0.6.0 <1.0.00.7.4
fast-xml-builder ≤1.1.6 attribute-value quote-bypass (via @langchain/anthropic) override >=1.1.7 <2.0.01.2.0

Both added to the existing pnpm.overrides block, with rationale appended to the comment. The langsmith upper bound (<1.0.0) keeps it within @langchain/core@1.1.38's declared range (>=0.5.0 <1.0.0) — not a contract violation.

Verification

  • pnpm audit --prod --audit-level=highexit 0 (8 moderate, 0 high — moderates are allowed by CI policy).
  • pnpm type-checkpasses across all 8 workspace projects, including agent-graph (langsmith 0.5→0.7 is type-compatible).
  • Runtime LangSmith tracing not exercised (needs a live key), but the version is within core's declared range and types are clean.

Unblocks #148 (the loading-discipline decomposition) and every other cv-builder PR.

🤖 Generated with Claude Code

pnpm audit --prod --audit-level=high failed on 2 HIGH advisories in the
LangChain stack (packages/agent-graph), blocking all PRs:

- langsmith <0.6.0 (resolved 0.5.11) — GHSA-3644-q5cj-c5c7: public prompt
  pull deserializes untrusted manifests. Override langsmith >=0.6.0 <1.0.0;
  the upper bound keeps it within @langchain/core@1.1.38's declared range
  (>=0.5.0 <1.0.0). Resolves to 0.7.4.
- fast-xml-builder <=1.1.6 — attribute-value quote-bypass; pulled via
  @langchain/anthropic. Override >=1.1.7 <2.0.0. Resolves to 1.2.0.

Verification:
- pnpm audit --prod --audit-level=high now exits 0 (8 moderate, 0 high).
- pnpm type-check passes across all 8 workspace projects, incl. agent-graph
  (langsmith 0.5->0.7 is type-compatible).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Skill Audit — PR #149

Recommended skills (based on diff analysis)

  • /hardening — Dependencies modified — security review recommended
  • /investigate — PR references bug fix — was root cause analyzed?

Generated by skill-audit

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Preview deployment ready
🔍 https://ojf-cv-builder-22z5kro2r-ojfbots-projects.vercel.app

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Preview deployment ready
🔍 https://ojf-cv-builder-mbc3jspuq-ojfbots-projects.vercel.app

@ojfbot
ojfbot merged commit 6a73d27 into main Jun 4, 2026
11 checks passed
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