Spectra Assure
Community
warningRisk: Hardening
Scanned: 8 days ago

GLua Enhanced (Garry's Mod/Gmod Lua)

Artifact:
latest
Top 10k
GLua language support for Visual Studio Code
License: unknown
Published: almost 2 years ago

Publisher: venner



SAFE Assessment

Compliance

Licenses
1 copyleft licensed components
Secrets
2 debugging symbols found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
3 baseline mitigations missing

Threats

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

Popularity

42.63k
Total Installs
Contributor
Declared Dependencies
0
Dependents

Top issues

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 Visual Studio Code community

7 packages
found in
Top 100
79 packages
found in
Top 1k
735 packages
found in
Top 10k
4.58k 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.

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 Visual Studio Code community

34 packages
found in
Top 100
245 packages
found in
Top 1k
1626 packages
found in
Top 10k
8.95k 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

Safe Exception Handling (/SAFESEH) protects the code flow integrity by ensuring that exceptions are handled only by vetted functions. This mitigation protects dynamically constructed exception chains by checking the function targets prior to their execution. Because the code flow integrity is verified during runtime, malicious code is less likely to be able to hijack trusted execution paths. It's highly recommended to enable this option for all software components used at security boundaries, or those that process user controlled inputs. However, this option is only effective on systems that dynamically resolve exception handlers. Most notably, this option is recommended for 32-bit Windows applications that target the Intel x86 platform. Other operating system and platform combinations mitigate exception hijacking risks through the use of statically generated read-only tables.

Prevalence in Visual Studio Code community

1 packages
found in
Top 100
8 packages
found in
Top 1k
26 packages
found in
Top 10k
90 packages
in community

Next steps

To enable this mitigation, refer to your programming language toolchain documentation.
In Microsoft VisualStudio, you can enable safe exception handling mitigation by passing the /SAFESEH parameter to the linker.

Problem

Security Development Lifecycle (SDL) is a group of enhanced compile-time checks that report common coding mistakes as errors, preventing them from reaching production. These checks minimize the number of security issues by enforcing strict memory access checks. They also prevent the use of hard-to-secure string and memory manipulation functions. To prove the binary has been compiled with these checks enabled, the compiler emits a special debug object. Removing the debug table eliminates this proof. Therefore, this check only applies to binaries that still have their debug tables.

Prevalence in Visual Studio Code community

43 packages
found in
Top 100
257 packages
found in
Top 1k
754 packages
found in
Top 10k
3.7k packages
in community

Next steps

You should keep the debug table to prove that the SDL process has been followed.
To enable these checks, refer to your programming language toolchain documentation.
In Microsoft VisualStudio, you can enable this feature by setting the compiler option /SDL to ON.

Problem

Presence of code relocations indicates that the code segment might temporarily, at one point, become both writable and executable. That violates security policies adopted by most modern Linux distributions. During the brief period in which the code segment is both writable and executable, the attacker may be able to overwrite the code with a malicious program.

Prevalence in Visual Studio Code community

2 packages
found in
Top 100
22 packages
found in
Top 1k
39 packages
found in
Top 10k
123 packages
in community

Next steps

Code relocations often appear due to inadequately written inline assembly, or when programs are not compiled with the appropriate position-independent code flag (e.g. -fPIC). In most cases, manual inspection may be required.

Top behaviors

Prevalence in Visual Studio Code community

Behavior uncommon for this community (Uncommon)
2 packages
found in
Top 100
3 packages
found in
Top 1k
24 packages
found in
Top 10k
94 packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
36 packages
found in
Top 100
193 packages
found in
Top 1k
490 packages
found in
Top 10k
1.89k packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
17 packages
found in
Top 100
74 packages
found in
Top 1k
247 packages
found in
Top 10k
1.08k packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
48 packages
found in
Top 100
302 packages
found in
Top 1k
1663 packages
found in
Top 10k
8.56k packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
59 packages
found in
Top 100
488 packages
found in
Top 1k
2687 packages
found in
Top 10k
15.88k packages
in community

Top vulnerabilities

No vulnerabilities found.