SQ30121
Detected presence of software components with low-quality content.
priority | CI/CD status | severity | effort | SAFE level | SAFE assessment |
---|---|---|---|---|---|
fail | medium | high | 5 | malware: fail Reason: low-quality components found |
About the issueโ
Authors of open source software may decide to include low-quality content in their projects. Low quality components typically do not contain any meaningful code, nor do they contribute to the functionality of applications they are a part of. Low quality packages are often published to open source package repositories. The goal of such packages is to accumulate reward points for their authors. Some programs aimed at open source developers reward the most popular packages. Such reward programs create powerful incentives for developers to include low-quality content in their projects. However, proliferation of low-quality content in open source increases the risk that the developer account may be taken over by a malicious party. Low quality components may receive updates that introduce behaviors that were not expected by the developers who included them in their projects.
How to resolve the issueโ
- Inspect behaviors exhibited by the detected software components.
- If the software behaviors differ from expected, investigate the build and release environment for software supply chain compromise.
- Revise the use of components that raise these alarms. If you can't deprecate those components, make sure they are well-documented.
- Avoid using this software package until it is vetted as safe.
Incidence statisticsโ
ReversingLabs periodically collects and analyzes the contents of popular software package repositories for threat research purposes. Analysis results are used to calculate incidence statistics for issues (policy violations) that Spectra Assure can detect in software packages.
This section is updated when new data becomes available.
Total amount of packages analyzed
- RubyGems: 183K
- Nuget: 644K
- PyPi: 628K
- NPM: 3.72M
Recommended readingโ
- Open Source Usage Trends and Security Challenges - Census III of Free and Open Source Software (External resource - The Linux Foundation)
- Participating in open source communities (External resource - The Linux Foundation)