safelint

v2.18.1 safe
3.5
Low Risk

Engineering safety lint rules and pre-commit integration for modern Python (with Django/Flask/FastAPI/Pydantic presets), JavaScript, TypeScript, Java (with Spring Boot framework preset), Rust, Go, PHP (with Laravel preset), C, and C++ codebases

📦 Package Quality Overall: Low (4.2/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (44745 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

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

Partial type annotation coverage

  • 1007 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ion. Without these entries, ``eval(userInput as string)`` # would silently slip past SAFE801 be
  • the same line; an untainted ``eval(config_string)`` still destroys analysability, which is what
  • inspected (a method ``$obj->eval()`` does not fire). Variable #: ``include`` / ``require``
  • | None: """Match a bare ``eval(...)`` or ``builtins.eval(...)`` call; skip ``obj.eval()``.
  • e ``eval(...)`` or ``builtins.eval(...)`` call; skip ``obj.eval()``. Restricting to bare-i
  • .eval(...)`` call; skip ``obj.eval()``. Restricting to bare-identifier and ``builtins.``-q
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • on error.""" diff_proc = subprocess.run( # noqa: S603 [git_bin, "diff", "--name-only", "HEA
  • alse, ) cached_proc = subprocess.run( # noqa: S603 [git_bin, "diff", "--name-only", "--c
  • e, ) untracked_proc = subprocess.run( # noqa: S603 [git_bin, "ls-files", "--others", "--
  • is not a repo.""" proc = subprocess.run( # noqa: S603 [git_bin, "rev-parse", "--show-toplev
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • al setup (``AGENTS.md → /etc/passwd``) redirect our section write into an arbitrary file.
  • ing out of tree (``evil.py -> /etc/passwd``) is rejected. A non-symlink is never an escape. A sym
  • epo could commit ``evil.py -> /etc/passwd`` (or ``key.py -> ~/.ssh/id_rsa``); ``is_file()``
  • d`` (or ``key.py -> ~/.ssh/id_rsa``); ``is_file()`` follows the link, so an out-of-
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ 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 safelint
Build a simple Python application using the safelint package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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