CVE-2022-5943: Malicious code in sbb-angular (npm)

sbb-angular Updated 02 Oct 2025

Summary

20/06/2022
CRITICAL
No i
Critical
Not published

MAL-2022-5943: Malicious code in sbb-angular (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

sbb-angular is an npm package that provides a collection of Angular components and utilities for building web applications. It is widely used in the development of Angular-based projects. However, the package has been found to contain malicious code, which poses a significant security risk to any computer that has it installed or running.

Vulnerability Detail

The malicious code in sbb-angular has been identified as a serious threat. It is advised to consider any computer with this package installed as fully compromised. The code may grant outside entities full control of the computer, potentially exposing all secrets and keys stored on it. Removing the package does not guarantee the removal of all malicious software resulting from its installation. Immediate action is required to rotate all affected secrets and keys from a different computer.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall sbb-angular

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to follow the steps mentioned in the 'how_to_fix' section to mitigate the risk effectively.

Conclusion

The presence of malicious code in the sbb-angular npm package poses a severe security risk. It is essential to take immediate action to mitigate the vulnerability by rotating affected secrets and keys, removing the package, and conducting a thorough security audit. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sbb-angular →

Share this vulnerability

FAQ

sbb-angular is an npm package that provides Angular components and utilities for web application development.

The malicious code in sbb-angular can compromise your computer, granting outside entities full control. This can lead to unauthorized access to sensitive information and potential misuse of your system.

If you have sbb-angular installed, it is crucial to rotate all secrets and keys stored on your computer from a different, secure computer. Additionally, remove the sbb-angular package and conduct a thorough security audit.

Removing the sbb-angular package does not guarantee the removal of all malicious software resulting from its installation. It is essential to conduct a comprehensive security audit to ensure no other backdoors or malicious components are present.

To prevent this vulnerability, it is crucial to regularly update and monitor the packages used in your projects. Stay informed about security advisories and promptly apply any necessary patches or updates.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall sbb-angular

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback