Spectra Assure
Community
failRisk: Vulnerabilities
Scanned: 11 days ago

bittensor-drand

Artifact:
latest
License: Permissive (MIT)
Published: about 2 months ago




SAFE Assessment

Compliance

Licenses
1 weak copyleft linked components
Secrets
1 debugging symbols found

Security

Vulnerabilities
1 severe vulnerabilities exploited
Hardening
2 misconfigured toolchains detected

Threats

Tampering
No evidence of software tampering
Malware
No evidence of malware inclusion

Popularity

1.65M
Total Downloads
Contributors
Declared Dependencies
7
Dependents

Top issues

Problem

Software composition analysis has identified a component with one or more known severe vulnerabilities. Available threat intelligence telemetry has confirmed that the reported high or critical severity vulnerabilities are actively being exploited by malicious actors.

Prevalence in PyPI community

35 packages
found in
Top 100
210 packages
found in
Top 1k
1787 packages
found in
Top 10k
86.39k packages
in community

Next steps

We strongly advise updating the component to the latest version.
If the update can't resolve the issue, create a plan to isolate or replace the affected component.

Problem

Software composition analysis has identified a component with one or more known vulnerabilities. Based on the CVSS scoring, these vulnerabilities have been marked as high severity.

Prevalence in PyPI community

42 packages
found in
Top 100
278 packages
found in
Top 1k
1960 packages
found in
Top 10k
77.08k packages
in community

Next steps

Perform impact analysis for the reported CVEs.
Update the component to the latest version.
If the update can't resolve the issue, create a plan to isolate or replace the affected component.

Problem

Software license is a legal instrument that governs the use and distribution of software source code and its binary representation. Software publishers have the freedom to choose any commonly used or purposefully written license to publish their work under. While some licenses are liberal and allow almost any kind of distribution, with or without code modification, other licenses are more restrictive and impose rules for their inclusion in other software projects. Weak copyleft licenses in particular impose requirements that the user must be able to replace or update the code they apply to. In practical terms, that means the object and library files that statically link to weak copyleft code must be made available publicly. For commercial applications, this is typically undesirable. Therefore, statically linking to weak copyleft code is commonly avoided or even prohibited by the organization policy. Instead of linking statically to weak copyleft licensed code, it is recommended to isolate such code into modules that the publisher-developed, first-party code can dynamically link to without the aforementioned obligations.

Prevalence in PyPI community

1 packages
found in
Top 100
19 packages
found in
Top 1k
106 packages
found in
Top 10k
1.34k packages
in community

Next steps

Confirm that the software package statically links to a weak copyleft dependency.
Investigate if the software publisher provides this dependency under a non-copyleft license.
Consider replacing the software dependency with an alternative that offers a license compatible with commercial use.
Alternatively, repackage the code so that it dynamically links to a weak copyleft dependency.

Problem

Software license is a legal instrument that governs the use and distribution of software source code and its binary representation. Software publishers have the freedom to choose any commonly used or purposefully written license to publish their work under. While some licenses are liberal and allow almost any kind of distribution, with or without code modification, other licenses are more restrictive and impose rules for their inclusion in other software projects. Some software licenses place restrictions on software distribution of the code they apply to. These restrictions may extend to the services built upon the code licensed under such restrictive licenses. Some restrictive licenses explicitly state that the licensee may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the licensed software. When building commercial applications, this is typically undesirable. Therefore, the inclusion of any code that may impose limits on software distribution is commonly avoided or even prohibited by the organization policy.

Prevalence in PyPI community

7 packages
found in
Top 100
82 packages
found in
Top 1k
1208 packages
found in
Top 10k
109.57k packages
in community

Next steps

Confirm that the software package references a component or a dependency with a restrictive license.
Consider replacing the software component with an alternative that offers a license compatible with organization policy.

Problem

Buffer overrun protection on Linux is achieved in two ways. The most common solution is to use the stack canary (also called cookie). The stack canary is a special value written onto the stack that allows the operating system to detect and terminate the program if a stack overrun occurs. In most cases, compilers will apply the stack canary conservatively in order to avoid a negative performance impact. Therefore, stack canaries are often used together with another stack overrun mitigation - fortified functions. Fortified functions are usually wrappers around standard glibc functions (such as memcpy) which perform boundary checks either at compile time or run time to determine if a memory violation has occurred. The compiler needs additional context to generate such calls (for example, array size that needs to be known at compile time). Because of this, the compiler will virtually never substitute all viable functions with their fortified counterparts in complex programs. However, when combined with the stack canary, fortified functions provide a good measure of buffer overrun protection.

Prevalence in PyPI community

24 packages
found in
Top 100
130 packages
found in
Top 1k
733 packages
found in
Top 10k
14.31k packages
in community

Next steps

Presence of unfortified memory functions may indicate use of unsafe programming practices, and you should avoid it if possible.
In GCC, enable fortified functions with -fstack-protector and -D_FORTIFY_SOURCE=2 flag, while using at least -O1 optimization level.

Top behaviors

Prevalence in PyPI community

Behavior often found in this community (Common)
33 packages
found in
Top 100
151 packages
found in
Top 1k
577 packages
found in
Top 10k
10.84k packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
5 packages
found in
Top 100
51 packages
found in
Top 1k
321 packages
found in
Top 10k
7.38k packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
8 packages
found in
Top 100
64 packages
found in
Top 1k
400 packages
found in
Top 10k
9.63k packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
35 packages
found in
Top 100
271 packages
found in
Top 1k
1741 packages
found in
Top 10k
61.42k packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
51 packages
found in
Top 100
408 packages
found in
Top 1k
2829 packages
found in
Top 10k
106.17k packages
in community

Top vulnerabilities

Vulnerability Exploitation Lifecycle
(1 Active Vulnerabilities)
None
1 (1 Fixable)
CVE-2014-4610h
None
None
Exploits Unknown
Exploits Exist
Exploited by Malware
Patching Mandated