Top issues
Detected presence of software components distributed with copyleft licenses.
Causes risk: copyleft licensed components
licenses
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. Copyleft licenses in particular impose substantial restrictions on the licensee. They typically require that any derived works, and even software code that merely interacts with copyleft code, be licensed under the same license. Since copyleft licenses are commonly applied to open source code, their inclusion requires that the entire software package becomes open sourced. For commercial applications, this is typically undesirable. Therefore, the inclusion of copyleft code is commonly avoided or even prohibited by the organization policy.Prevalence in PyPI community
4 packages
found in
Top 100
42 packages
found in
Top 1k
659 packages
found in
Top 10k
89.98k packages
in community
Next steps
Confirm that the software package includes a copyleft component.
Investigate if the software publisher provides this component under a non-copyleft license.
Consider replacing the software component with an alternative that offers a license compatible with commercial use.
Detected presence of licenses that place restrictions on software distribution.
Causes risk: software distribution restrictions
licenses
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.
Detected Linux executable files that were compiled without the recommended dynamic symbol hijacking protections.
Causes risk: execution hijacking concerns
hardening
Problem
On Linux, external symbols are resolved via the procedure linkage table (PLT) and the global offset table (GOT). Without any protection, both are writable at runtime and thus leave the executable vulnerable to pointer hijacking - an attack where the function address is overwritten with an address of a malicious function. Pointer hijacking can be mitigated by using full read-only relocations, which instruct the compiler to unify global offset tables into a single read-only table. This requires that all external function symbols are resolved at load-time instead of during execution, and may increase loading time for large programs.Prevalence in PyPI community
26 packages
found in
Top 100
135 packages
found in
Top 1k
847 packages
found in
Top 10k
17.09k packages
in community
Next steps
In most cases, it's recommended to use full read-only relocations (in GCC: -Wl,-z,relro,-z,now).
If the executable load-time is an issue, you should use partial read-only relocations.
Problem
Debug databases are typically only used during software development. On Windows, they are usually files embedded into the executable (PDB), while on Linux, they're contained inside special executable sections. The databases contain private debug symbols that make it significantly easier to reverse-engineer a closed-source application. In some cases, having a debug database is equivalent to having access to the source code. Presence of debug databases could indicate that one or more software components have been built using a debug profile, instead of the release. Private debug databases can be embedded into software components by programming language tools.Prevalence in PyPI community
27 packages
found in
Top 100
130 packages
found in
Top 1k
824 packages
found in
Top 10k
14.18k packages
in community
Next steps
To remediate this issue and remove private debugging information, refer to your programming language toolchain documentation.
Detected presence of hardcoded source code filenames or paths.
Causes risk: debugging symbols found
secrets
Problem
Common compilers often embed source code information into executables for debugging purposes, usually by mapping symbols to source filenames or paths. While this is typically desirable in open-source software and standard tools, that information can be used to determine security weaknesses, code repository layout, trade secrets and similar sensitive information. Such symbols make it easier to reverse-engineer a closed source application.Prevalence in PyPI community
27 packages
found in
Top 100
138 packages
found in
Top 1k
922 packages
found in
Top 10k
19.5k packages
in community
Next steps
Strip out such information in the linking phase by using compiler options like the -s flag in GCC, or in the post-build phase by using the strip tool.
Top behaviors
Contains URLs.
network
Prevalence in PyPI community
Behavior often found in this community (Common)
33 packages
found in
Top 100
225 packages
found in
Top 1k
1322 packages
found in
Top 10k
35.04k packages
in community
Contains URLs with unusual hostname lengths.
network
Prevalence in PyPI community
Behavior often found in this community (Common)
44 packages
found in
Top 100
256 packages
found in
Top 1k
1486 packages
found in
Top 10k
44.91k packages
in community
Contains URLs related to URL shortener services.
network
Prevalence in PyPI community
Behavior often found in this community (Common)
25 packages
found in
Top 100
199 packages
found in
Top 1k
1120 packages
found in
Top 10k
27.52k packages
in community
Contains HTML.
macro
Prevalence in PyPI community
Behavior uncommon for this community (Uncommon)
4 packages
found in
Top 100
24 packages
found in
Top 1k
160 packages
found in
Top 10k
3.24k packages
in community
Contains references to source code file extensions.
search
Prevalence in PyPI community
Behavior often found in this community (Common)
44 packages
found in
Top 100
231 packages
found in
Top 1k
1491 packages
found in
Top 10k
39.72k packages
in community
Top vulnerabilities
No vulnerabilities found.