[Snyk] Fix for 1 vulnerabilities#12012
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-QS-15268416
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
⛔ Snyk checks have failed. 1 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
WalkthroughThis PR updates dependency versions in the badges-backend plugin's package.json. The changes migrate three Backstage internal dependencies from workspace protocol to fixed versions, ensuring version stability across the plugin. The @backstage/backend-common is updated to 0.24.1, @backstage/catalog-model to 0.1.1, and @backstage/plugin-auth-node to 0.6.0. Additionally, two external dependencies are upgraded: express is bumped from ^4.17.1 to ^4.22.0, and supertest from ^6.3.3 to ^7.1.3. These updates likely address security vulnerabilities and improve package stability by locking to specific versions. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Client
participant Express as Express Router
participant BadgesBackend as Badges Backend Plugin
participant AuthNode as Auth Node Plugin
participant CatalogClient as Catalog Client
participant Database as Database (Knex)
Note over BadgesBackend: Dependencies Updated:<br/>backend-common: 0.24.1<br/>catalog-model: 0.1.1<br/>auth-node: 0.6.0<br/>express: 4.22.0
Client->>Express: GET /badges/:entityRef
Express->>BadgesBackend: Route request
BadgesBackend->>AuthNode: Authenticate request
AuthNode-->>BadgesBackend: Auth result
alt Authenticated
BadgesBackend->>CatalogClient: Fetch entity metadata
CatalogClient-->>BadgesBackend: Entity data
BadgesBackend->>Database: Query badge data
Database-->>BadgesBackend: Badge records
BadgesBackend->>BadgesBackend: Generate badge (badge-maker)
BadgesBackend-->>Express: Badge SVG response
Express-->>Client: Return badge
else Not authenticated
BadgesBackend-->>Express: 401 Unauthorized
Express-->>Client: Error response
end
Note for WindsurfPlease 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 belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
|
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! |
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/badges-backend/package.jsonNote 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 runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-QS-15268416
Important
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:
🦉 Allocation of Resources Without Limits or Throttling
EntelligenceAI PR Summary
This PR updates dependency versions in the badges-backend plugin to lock specific versions and upgrade external packages.