black

v26.10.1 safe
3.3
Low Risk

The uncompromising code formatter.

📦 Package Quality Overall: Medium (6.0/10)

✦ High Test Suite 9.0

Test suite present — 20 test file(s) found

  • 20 test file(s) detected (e.g. conftest.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://black.readthedocs.io/
  • 7 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (106855 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 588 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • r) -> str: async with aiohttp.ClientSession() as session: async with session.post(
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • = {} rawbitset = eval(mo.group(1)) for i, c in enumerate(rawbitset):
  • else: y = eval(y) labels.append((x, y)) lineno, line =
  • string literals without using eval().""" import re simple_escapes: dict[str, str] = { "a"
  • "), label value = eval(label) if value[0].isalpha(): if
  • pace: dict[str, Any] = {} exec( compile(ast.Module(body=body, type_ignores=[]), str(ACTION_MAIN), "
  • t string is valid Python: compile(src_contents, "<string>", "exec") # else the bug is in hypothesmith # Then format the
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • " ).split(" ") proc = subprocess.run(cmd, stdout=subprocess.PIPE, encoding="utf-8") if proc.r
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • al = 10 GH_API_TOKEN: Final = os.getenv("GITHUB_TOKEN") REPO: Final = os.getenv("GITHUB_REPOSITORY", default="psf
⚠ Typosquatting score 6.0

Possible typosquat of: flask, click

  • "black" is 2 edit(s) from "flask"
  • "black" is 2 edit(s) from "click"
✓ Registered Email Domain

Email domain looks legitimate: langa.pl>

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://mpastell.com/pweave/
  • Non-HTTPS external link: http://www.sphinx-doc.org/en/stable/ext/autodoc.html#directive-autoattribute
⚠ 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 black
Build a simple Python application using the black package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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