Skip to content

[Snyk] Fix for 1 vulnerabilities#10884

Closed
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-badd6c43931f73b21f16d911bf533b39
Closed

[Snyk] Fix for 1 vulnerabilities#10884
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-badd6c43931f73b21f16d911bf533b39

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io Bot commented Jan 26, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/backend-common/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Directory Traversal
SNYK-JS-TAR-15032660
  575  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal


EntelligenceAI PR Summary

This PR updates dependency versions in backend-common package, transitioning internal Backstage packages to fixed versions and upgrading external dependencies.

  • Transitioned @backstage/backend-app-api to version 0.5.0 (from workspace protocol)
  • Transitioned @backstage/backend-plugin-api to version 0.6.19 (from workspace protocol)
  • Transitioned @backstage/integration-aws-node to version 0.1.0 (from workspace protocol)
  • Upgraded @kubernetes/client-node from 0.18.1 to 0.21.0 (minor version jump)
  • Upgraded tar from 6.1.12 to 7.5.4 (major version upgrade)

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Jan 26, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm atob under CC-BY-3.0

License: CC-BY-3.0 - the applicable license policy does not allow this license (4) (package/LICENSE.DOCS)

From: ?npm/atob@2.1.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/atob@2.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: npm caniuse-lite under CC-BY-4.0

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (npm metadata)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/package.json)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/LICENSE)

From: ?npm/@storybook/addon-controls@6.5.16npm/@storybook/builder-webpack5@6.5.16npm/@storybook/manager-webpack5@6.5.16npm/@storybook/react@6.5.16npm/caniuse-lite@1.0.30001378

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/caniuse-lite@1.0.30001378. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Jan 26, 2026

⚠️ Snyk checks are incomplete.

Status Scanner Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown

@entelligence-ai-pr-reviews entelligence-ai-pr-reviews Bot left a comment

Choose a reason for hiding this comment

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

Walkthrough

This PR updates dependency versions in the backend-common package, focusing on both internal Backstage packages and external dependencies. The changes transition three Backstage packages from workspace protocol to fixed versions (backend-app-api, backend-plugin-api, and integration-aws-node), indicating a shift toward stable release versions. Additionally, two external dependencies receive significant upgrades: @kubernetes/client-node jumps from 0.18.1 to 0.21.0, and tar undergoes a major version upgrade from 6.1.12 to 7.5.4. These updates likely prepare the package for publication and may introduce new features or breaking changes, particularly in the Kubernetes client and tar library functionality.

Changes

File(s) Summary
packages/backend-common/package.json Updated Backstage internal dependencies from workspace protocol to fixed versions: @backstage/backend-app-api (0.5.0), @backstage/backend-plugin-api (0.6.19), @backstage/integration-aws-node (0.1.0). Upgraded external dependencies: @kubernetes/client-node from 0.18.1 to 0.21.0 and tar from 6.1.12 to 7.5.4.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant Dev as Developer
    participant Package as backend-common package.json
    participant Deps as Dependencies

    Dev->>Package: Update dependency versions
    Note over Package: Backstage packages:<br/>- backend-app-api: workspace → 0.5.0<br/>- backend-plugin-api: workspace → 0.6.19<br/>- integration-aws-node: workspace → 0.1.0
    Note over Package: External packages:<br/>- @kubernetes/client-node: 0.18.1 → 0.21.0<br/>- tar: 6.1.12 → 7.5.4
    Package->>Deps: Lock to specific versions
    Deps-->>Package: Dependencies resolved
    Package-->>Dev: Package updated
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

Comment on lines +53 to 62
"@backstage/backend-app-api": "0.5.0",
"@backstage/backend-dev-utils": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/backend-plugin-api": "0.6.19",
"@backstage/cli-common": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/config-loader": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/integration-aws-node": "workspace:^",
"@backstage/integration-aws-node": "0.1.0",
"@backstage/types": "workspace:^",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Correctness: Replacing workspace:^ with fixed versions for internal packages (@backstage/backend-app-api, etc.) breaks monorepo linking and forces registry fetches. Revert to workspace:^ to ensure local packages are resolved correctly.

🤖 AI Agent Prompt for Cursor/Windsurf

📋 Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

File: packages/backend-common/package.json
Lines: 53-62

Problem: The diff replaces workspace protocol dependencies with fixed versions for internal Backstage packages (@backstage/backend-app-api, @backstage/backend-plugin-api, @backstage/integration-aws-node) and upgrades @kubernetes/client-node from 0.18.1 to 0.21.0. This breaks monorepo workspace linking and may introduce breaking changes.

Fix Instructions:
1. Revert @backstage/* packages back to 'workspace:^' to maintain monorepo workspace linking
2. If upgrading @kubernetes/client-node is necessary, verify all usages in the codebase are compatible with v0.21.0 API changes (check migration guides between 0.18.1 → 0.19.x → 0.20.x → 0.21.0)
3. Run integration tests to ensure no breaking changes from the Kubernetes client upgrade
4. If fixed versions are intentionally required for publishing, this should be handled by the build/release pipeline, not in source package.json
✨ Committable Code Suggestion

💡 This is a one-click fix! Click "Commit suggestion" to apply this change directly to your branch.

Suggested change
"@backstage/backend-app-api": "0.5.0",
"@backstage/backend-dev-utils": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/backend-plugin-api": "0.6.19",
"@backstage/cli-common": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/config-loader": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/integration-aws-node": "workspace:^",
"@backstage/integration-aws-node": "0.1.0",
"@backstage/types": "workspace:^",
"@aws-sdk/abort-controller": "^3.347.0",
"@aws-sdk/client-s3": "^3.350.0",
"@aws-sdk/credential-providers": "^3.350.0",
"@aws-sdk/types": "^3.347.0",
"@backstage/backend-app-api": "workspace:^",
"@backstage/backend-dev-utils": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/cli-common": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/config-loader": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/integration-aws-node": "workspace:^",
"@backstage/types": "workspace:^",
"@google-cloud/storage": "^6.0.0",
"@keyv/memcache": "^1.3.5",
"@keyv/redis": "^2.5.3",
"@kubernetes/client-node": "0.18.1",
"@manypkg/get-packages": "^1.1.3",
"@octokit/rest": "^19.0.3",
"@types/cors": "^2.8.6",

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 2, 2026

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Feb 2, 2026
@github-actions github-actions Bot closed this Mar 27, 2026
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.

0 participants