Spectra Assure
Community
Docs
passEverything is awesome!
Scanned: 3 days ago

clang-format

Artifact:
latest
Top 10k
Clang-Format is an LLVM-based code formatting tool
License: Permissive (Apache-2.0)
Published: about 1 month ago



SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
No sensitive information found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
2 low priority mitigations absent

Threats

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

Popularity

36.45M
Total Downloads
Contributors
Declared Dependencies
43
Dependents

Top issues

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 PyPI community

30 packages
found in
Top 100
141 packages
found in
Top 1k
779 packages
found in
Top 10k
16437 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

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. Function pointers that get resolved through import and delayed import address tables do not need to be monitored during application runtime. Instead, it is expected that modern programming language toolchains place those pointers in read-only memory locations. However, the delayed import functions are resolved as they are needed during runtime. To ensure the function pointers remain read-only, the operating system must be made aware if it is safe to re-protect the memory pages that hold them. Modern toolchains typically separate import data from other application regions for this very reason.

Prevalence in PyPI community

1 packages
found in
Top 100
4 packages
found in
Top 1k
30 packages
found in
Top 10k
475 packages
in community

Next steps

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.

Top behaviors

Prevalence in PyPI community

Behavior often found in this community (Common)
34 packages
found in
Top 100
169 packages
found in
Top 1k
1256 packages
found in
Top 10k
55955 packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
68 packages
found in
Top 100
508 packages
found in
Top 1k
3570 packages
found in
Top 10k
165477 packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
32 packages
found in
Top 100
145 packages
found in
Top 1k
854 packages
found in
Top 10k
20201 packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
20 packages
found in
Top 100
87 packages
found in
Top 1k
398 packages
found in
Top 10k
9398 packages
in community

Prevalence in PyPI community

Behavior often found in this community (Common)
15 packages
found in
Top 100
71 packages
found in
Top 1k
322 packages
found in
Top 10k
6731 packages
in community

Top vulnerabilities

No vulnerabilities found.