Top issues
Detected Windows shared library files that do not suppress exports which reduces CFG vulnerability mitigation protection effectiveness.
Causes risk: low priority mitigations absent
hardening
Problem
Control Flow Guard (CFG/CFI) protects the code flow integrity by ensuring that dynamic calls are made only to vetted functions. Trusted execution paths rely on the ability of the operating system to build a list of valid function targets. Certain functions can intentionally be disallowed to prevent malicious code from deactivating vulnerability mitigation features. A list of such invalid function targets can include publicly exported symbols. Applications that enhance control flow integrity through export suppression rely on libraries to mark their publicly visible symbols as suppressed. This is done for all symbols that are considered to be sensitive functions, and to which access should be restricted. It is considered dangerous to mix applications that perform export suppression with libraries that do not.Prevalence in npm community
0 packages
found in
Top 100
0 packages
found in
Top 1k
66 packages
found in
Top 10k
9829 packages
in community
Next steps
To enable this mitigation on library code, refer to your programming language toolchain documentation.
In Microsoft VisualStudio, you can enable CFG mitigation by passing the /guard:cf parameter to the compiler and linker.
Detected Windows executable files that do not implement long jump control flow vulnerability mitigation protection.
Causes risk: low priority mitigations absent
hardening
Problem
Control Flow Guard (CFG/CFI) protects the code flow integrity by ensuring that indirect calls are made only to vetted functions. This mitigation protects dynamically resolved function targets by instrumenting the code responsible for transferring execution control. Higher-level programming languages implement structured exception handling by managing their own code flow execution paths. As such, they are subject to code flow hijacking during runtime. Language-specific exception handling mitigation enforces execution integrity by instrumenting calls to manage execution context switching. Any deviation from the known and trusted code flow paths will cause the application to terminate. This makes malicious code less likely to execute.Prevalence in npm community
0 packages
found in
Top 100
1 packages
found in
Top 1k
97 packages
found in
Top 10k
15547 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 toolchain documentation.
In Microsoft VisualStudio, you can enable CFG mitigation by passing the /guard:cf parameter to the compiler and linker.
Problem
Uniform Resource Locators (URLs) are structured addresses that point to locations and assets on the internet. URLs allow software developers to build complex applications that exchange data with servers that can be hosted in multiple geographical regions. URLs can commonly be found embedded in documentation, configuration files, source code and compiled binaries. A port number is associated with a network address of a host, such as an IP address, and the type of network protocol used for communication. Within URLs, the ports are optional. Ports can be specified in a URL immediately following the domain name. Each network protocol, or schema, has a set of standard ports on which the service operates. This issue is raised when a mismatch between a network protocol and its expected port number is detected. While the presence of non-standard ports does not imply malicious intent, all of their uses in a software package should be documented and approved.Prevalence in npm community
6 packages
found in
Top 100
41 packages
found in
Top 1k
869 packages
found in
Top 10k
490844 packages
in community
Next steps
Investigate reported detections.
If the software should not include these network references, investigate your build and release environment for software supply chain compromise.
You should delay the software release until the investigation is completed, or until the issue is risk accepted.
Consider changing the port to one that is standard for the networking protocol.
Top behaviors
Permits an incoming connection on a TCP socket.
network
Prevalence in npm community
Behavior often found in this community (Common)
0 packages
found in
Top 100
2 packages
found in
Top 1k
54 packages
found in
Top 10k
7351 packages
in community
Opens a socket listening for an incoming connection.
network
Prevalence in npm community
Behavior often found in this community (Common)
0 packages
found in
Top 100
1 packages
found in
Top 1k
57 packages
found in
Top 10k
7112 packages
in community
Deletes files in Windows system directories.
file
Prevalence in npm community
Behavior often found in this community (Common)
0 packages
found in
Top 100
1 packages
found in
Top 1k
31 packages
found in
Top 10k
8142 packages
in community
Opens a TCP connection to a remote server.
network
Prevalence in npm community
Behavior often found in this community (Common)
4 packages
found in
Top 100
23 packages
found in
Top 1k
360 packages
found in
Top 10k
53222 packages
in community
Listens on incoming network connections.
network
Prevalence in npm community
Behavior often found in this community (Common)
0 packages
found in
Top 100
1 packages
found in
Top 1k
54 packages
found in
Top 10k
10750 packages
in community
Top vulnerabilities
No vulnerabilities found.