clang-format

v23.1.5 safe
1.9
Low Risk

Clang-Format is an LLVM-based code formatting tool

📦 Package Quality Overall: Low (4.0/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

  • Test runner config found: pyproject.toml
  • 1 test file(s) detected (e.g. test_clang_format.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://clang.llvm.org/docs/ClangFormat.html
  • Detailed PyPI description (3888 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
○ Low Type Annotations 1.0

No type annotations detected

  • No type annotations, py.typed marker, or stub files detected
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • t_executable(name) return subprocess.call([executable] + sys.argv[1:]) def clang_format(): raise
  • nkeypatch.chdir(tmp_path) subprocess.run("git init", shell=True) return tmp_path @pytest.mark.p
  • ame, "w") as out: subprocess.run([command, test_input], stdout=out, check=True) # Ch
  • po / "test", "w").close() subprocess.run("git add test", shell=True) subprocess.run("git commit -
  • it add test", shell=True) subprocess.run("git commit -m initial", shell=True) # Check that the c
  • ool runs on the test repo subprocess.run("git clang-format", shell=True) def test_get_executable():
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: iwr.uni-heidelberg.de>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://clang.llvm.org/
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with clang-format
Build a simple Python application using the clang-format package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!