doc-redaction

v2.8.1 suspicious
4.1
Medium Risk

Redact PDF/image-based documents, Word, or CSV/XLSX files using a Gradio-based GUI interface

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 35 test file(s) found

  • Test runner config found: pyproject.toml
  • 35 test file(s) detected (e.g. test_agent_apply_review_redactions.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (25366 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

  • 130 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 9.0

Found 6 network call pattern(s)

  • , int | None]: req = urllib.request.Request( url, headers={
  • }, ) with urllib.request.urlopen(req, timeout=60) as resp: status = geta
  • }/releases/latest" req = urllib.request.Request( api, headers={ "Acce
  • }, ) with urllib.request.urlopen(req) as resp: raw = resp.read().decode("utf
  • leases/tags/5.5.0" req = urllib.request.Request(api_url, headers={"User-Agent": "python-script"})
  • "python-script"}) with urllib.request.urlopen(req) as resp: data = json.loads(resp.read()
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • load_skipped.txt" note = base64.b64decode(skipped["content_base64"]).decode("utf-8") assert "big.
  • e_multi_turn(): pytest = __import__("pytest") pytest.importorskip("langchain_core") if str(_AGE
  • , monkeypatch): pytest = __import__("pytest") pytest.importorskip("dotenv") pytest.importorskip
  • v(monkeypatch): pytest = __import__("pytest") pytest.importorskip("langchain_core") _AGENTCORE
  • n(monkeypatch): pytest = __import__("pytest") pytest.importorskip("langchain_core") _AGENTCORE
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • str]: try: p = subprocess.run(cmd, capture_output=True, text=True, check=False) excep
  • missing_ok=True) p = subprocess.run( [ "curl.exe",
  • n 10" ) p = subprocess.run( [ "powershell",
  • "tesseract", ] p = subprocess.run(cmd, check=False) if p.returncode != 0: return
  • ir)}"] try: p = subprocess.run(silent_args, check=False) if p.returncode != 0:
  • ) try: subprocess.run([str(exe_path)], check=False) except OSError as e:
⚠ Credential Harvesting score 5.0

Found 2 credential access pattern(s)

  • oto3.client("s3", region_name=os.getenv("AWS_REGION", AWS_REGION)) print("S3 client initialised") # L
  • "")), "aws_region": os.getenv("AWS_REGION", ""), "s3_bucket": bucket_name, "d
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: lambeth.gov.uk>

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

💬 Discussion Feed

Leave a comment

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