Skip to content

fix: resolved npm audit failure#2597

Merged
abhilash-sivan merged 3 commits into
mainfrom
fix-npm-audit
Jun 16, 2026
Merged

fix: resolved npm audit failure#2597
abhilash-sivan merged 3 commits into
mainfrom
fix-npm-audit

Conversation

@abhilash-sivan

@abhilash-sivan abhilash-sivan commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

refs https://jsw.ibm.com/browse/INSTA-97256

The npm audit was failing due to multiple package failures:

tekton: https://cloud.ibm.com/devops/pipelines/tekton/c2cd6a8d-ea5a-47b0-913e-cd172d63833f/[…]bd6541e06/extract-repository-url?env_id=ibm:yp:eu-de&view=logs

some examples are:

js-yaml
@instana/core: # npm audit report
@instana/core: js-yaml <=4.1.1
@instana/core: Severity: moderate
@instana/core: JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases - GHSA-h67p-54hq-rp68
@instana/core: fix available via npm audit fix --force
@instana/core: Will install js-yaml@4.2.0, which is outside the stated dependency range

tar lib
@instana/aws-lambda: > @instana/aws-lambda@6.2.0 audit
@instana/aws-lambda: > npm audit --omit=dev
@instana/opentelemetry-exporter: > @instana/opentelemetry-exporter@6.2.0 audit
@instana/opentelemetry-exporter: > npm audit --omit=dev
@instana/shared-metrics: # npm audit report
@instana/shared-metrics: tar <=7.5.15
@instana/shared-metrics: Severity: moderate

opentelemetry packages etc

@aryamohanan aryamohanan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suggest merging this as three separate commits:

  • fix: bumped js-yaml from 4.1.1 to 4.2.0
  • fix: bumped tar from 7.5.11 to 7.5.16
  • fix: bumped otel core packages from 2.7.1 to 2.8.0 (includes both SDK and Core packages)

It would also be nice to add a commit body for each commit with relevant details about the audit fix

@abhilash-sivan abhilash-sivan marked this pull request as ready for review June 16, 2026 12:25
@abhilash-sivan abhilash-sivan requested a review from a team as a code owner June 16, 2026 12:25
- bumped @opentelemetry/core from 2.7.1 to 2.8.0
- bumped @opentelemetry/sdk-trace-base from 2.3.0 to 2.8.0
- bumped @opentelemetry/resources from 2.3.0 to 2.8.0

resolved - GHSA-8988-4f7v-96qf
@abhilash-sivan abhilash-sivan merged commit b08138d into main Jun 16, 2026
1 check passed
@sonarqubecloud

Copy link
Copy Markdown

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