self-heal-llm

v0.5.0 safe
2.7
Low Risk

Automatic repair for failing Python code, powered by any LLM.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 12 test file(s) found

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

Some documentation present

  • Detailed PyPI description (17529 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 151 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 5 obfuscation pattern(s)

  • Blocked top-level callables: eval(), exec(), __import__(), ... if isinstance(node, ast.Cal
  • "def f(x):\n return eval(x)\n", SafetyConfig(level="moderate"), )
  • el callables: eval(), exec(), __import__(), ... if isinstance(node, ast.Call): name = _cal
  • sh() try: data = pickle.loads(sys.stdin.buffer.read()) except Exception as exc:
  • try: result = pickle.loads(proc.stdout) except Exception as err: ra
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • "import os\ndef f():\n os.system('rm -rf /')\n", SafetyConfig(level="moderate"),
  • t0 = time.time() proc = subprocess.run(cmd, capture_output=True, text=True, env=env) elapsed =
  • ist_ok=True) try: subprocess.run( ["git", "clone", "--depth", "1", QUIXBUGS_REPO,
  • """ try: proc = subprocess.run( ["git", "status", "--porcelain", "--", str(path
  • try: proc = subprocess.run( [self.python, "-I", "-c", _WORKER_SOURCE],
  • repo.mkdir() try: subprocess.run(["git", "init", "-q"], cwd=repo, check=True, timeout=10)
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

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

💬 Discussion Feed

Leave a comment

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