ocrmypdf

v17.14.2 safe
2.0
Low Risk

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

📦 Package Quality Overall: Medium (5.4/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://ocrmypdf.readthedocs.io/
  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (9992 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
  • 355 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

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • try: result = subprocess.run( ["gh", "auth", "token"], ca
  • itHub...") push_result = subprocess.run( ["git", "push", "origin", branch], capture_
  • just pushed sha_result = subprocess.run( ["git", "rev-parse", "HEAD"], capture_outpu
  • er release...") result = subprocess.run( ["git", "push", "origin", tag], capture_out
  • ry: commit_date_str = subprocess.run( [ "git", "show"
  • (1) git_changes_result = subprocess.run(["git diff-index --quiet HEAD --"], shell=True) repo_has
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • KEN env var first token = os.environ.get("GITHUB_TOKEN") # Fall back to gh CLI if not token: try:
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: purplerock.ca>

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

💬 Discussion Feed

Leave a comment

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