Spectra Assure
Community
Docs
failIncident: Malware
Scanned: 5 days ago

CircuitPython v2

Artifact:
CircuitPython for Visual Studio Code
License: Permissive (MIT)
Published: 13 days ago

Publisher: wmerkens



SAFE Assessment

Compliance

Licenses
3 software distribution restrictions
Secrets
4 web service credentials found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
2 baseline mitigations missing

Threats

Tampering
3 components with malware history
Malware
1 protestware dependencies found

INCIDENTS FOR THIS VERSION:

malware
13 days agoReported By: ReversingLabs (Automated)
Learn more about malware detection

Popularity

9.11k
Total Installs
Contributor
Declared Dependencies
0
Dependents

Top issues

Problem

Authors of open source software may decide to use their projects to spread political messages. Running software packages that include protestware dependencies may trigger protest-related functions when executed in the targeted environments or geographies. Protest-motivated code is commonly implemented as a simple display of harmless messages that call for peace. However, over time protestware may evolve to include code that performs excessive logging, issues denial of service, or even deletes user files. Software packages that depend on protestware code are considered to be potentially unwanted applications. When political activism escalates to inclusion of destructive code, additional malware detection policies trigger to flag malicious intent.

Prevalence in Visual Studio Code community

2 packages
found in
Top 100
9 packages
found in
Top 1k
54 packages
found in
Top 10k
168 packages
in community

Next steps

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.

Problem

Data Execution Prevention (DEP/NX) is a vulnerability mitigation option that prevents data from being interpreted as code anywhere within the application. This mitigation protects the application stack, heap and other memory data ranges. Executable files that fail to implement this mitigation expose the user to increased risks of malicious code injection.

Prevalence in Visual Studio Code community

10 packages
found in
Top 100
83 packages
found in
Top 1k
299 packages
found in
Top 10k
1003 packages
in community

Next steps

It's highly recommended to enable this option for all software components used at security boundaries, or those that process user controlled inputs.
To enable this mitigation, refer to your programming language linker documentation.
In Microsoft VisualStudio, you can enable DEP mitigation by setting the linker option /NXCOMPAT to ON.

Problem

Sensitive executable memory regions should be kept as read-only to protect the integrity of trusted execution code flow paths. Imported function addresses are pointers to the symbols that implement the application-required functionality. If those pointers are changed by malicious code, execution paths can be redirected to unintended locations. Most modern programming language toolchains protect those memory regions appropriately. These issues are commonly reported for outdated linkers and non-compliant executable packing solutions.

Prevalence in Visual Studio Code community

20 packages
found in
Top 100
156 packages
found in
Top 1k
474 packages
found in
Top 10k
1793 packages
in community

Next steps

Review the programming language linker options, and consider a build toolchain update.

Problem

Sensitive executable memory regions should be kept as read-only to protect the integrity of trusted execution code flow paths. Thread local storage (TLS) callbacks are pointers to code initialization and resource release functions. If those pointers are changed by malicious code, execution paths can be redirected to unintended locations. Most modern programming language toolchains protect those memory regions appropriately. These issues are commonly reported for outdated linkers and non-compliant executable packing solutions.

Prevalence in Visual Studio Code community

13 packages
found in
Top 100
101 packages
found in
Top 1k
347 packages
found in
Top 10k
1272 packages
in community

Next steps

Review the programming language linker options, and consider a build toolchain update.

Problem

Operating systems execute application code in multiple privilege access levels. Separation of privileges is designed to protect the stability and integrity of the operating system by shielding it from issues that the user run applications may cause. However, some users may need to interact with higher privilege parts of the operating system to accomplish specific tasks. For this purpose, operating systems provide facilities that users may leverage to temporarily elevate their running privileges. Users with higher privileges can run any application with the same privilege level as their own. Attackers often try to trick privileged users into running malicious code, enabling them to infect the operating system. While the presence of code that elevates user privileges does not necessarily imply malicious intent, all of its uses in a software package should be documented and approved. Only select applications should consider using functions that can elevate user privileges. One example of acceptable use for such functions is allowing the users to install software packages and updates.

Prevalence in Visual Studio Code community

29 packages
found in
Top 100
169 packages
found in
Top 1k
380 packages
found in
Top 10k
1338 packages
in community

Next steps

Investigate reported detections as indicators of software tampering.
Consult Mitre ATT&CK documentation: T1548 - Abuse Elevation Control Mechanism.
Consider rewriting the flagged code without using the marked behaviors.

Top behaviors

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
65 packages
found in
Top 100
535 packages
found in
Top 1k
2853 packages
found in
Top 10k
14133 packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
15 packages
found in
Top 100
110 packages
found in
Top 1k
397 packages
found in
Top 10k
2369 packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
42 packages
found in
Top 100
313 packages
found in
Top 1k
1548 packages
found in
Top 10k
7212 packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
85 packages
found in
Top 100
673 packages
found in
Top 1k
4329 packages
found in
Top 10k
28768 packages
in community

Prevalence in Visual Studio Code community

Behavior often found in this community (Common)
81 packages
found in
Top 100
631 packages
found in
Top 1k
3887 packages
found in
Top 10k
24357 packages
in community

Top vulnerabilities

No vulnerabilities found.