Skip to content

High severity npm audit vulnerabilities in v0.98.0 dependencies #213

@jmgunter

Description

@jmgunter

Bug report

Describe the bug

@snaplet/seed version 0.98.0 has transitive dependencies with known high-severity security vulnerabilities. Running npm audit reports vulnerabilities in @langchain/core, tar, and tmp packages that are dependencies of @snaplet/seed.

To Reproduce

  1. Install @snaplet/seed@0.98.0 in a project
  2. Run npm audit
  3. See vulnerability warnings

Expected behavior

@snaplet/seed should not depend on packages with known high-severity security vulnerabilities, or should update its dependencies to patched versions.

Screenshots

N/A

System information

  • OS: macOS
  • Version of @snaplet/seed: 0.98.0
  • Version of Node.js: 22.x

Additional context

The vulnerabilities reported are:

@langchain/core <0.3.80 (High severity)

  • LangChain serialization injection vulnerability enables secret extraction
  • GHSA-r399-636x-v7f6
  • Affects: @langchain/core, @langchain/groq, @langchain/openai (all dependencies of @snaplet/seed)

tar <=7.5.3 (High severity)

  • Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
  • GHSA-8qq5-rm4j-mr97
  • Race Condition via Unicode Ligature Collisions on macOS APFS
  • GHSA-r6q2-hw4h-h46w
  • Dependency chain: @snaplet/seedc12gigettar

tmp <=0.2.3 (Severity not specified)

  • Arbitrary temporary file/directory write via symbolic link dir parameter
  • GHSA-52f5-9888-hmc6
  • Dependency chain: @snaplet/seed@inquirer/prompts@inquirer/editorexternal-editortmp

Running npm audit fix --force suggests downgrading to @snaplet/seed@0.97.20, which is a breaking change and not an ideal solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions