codesuture

v1.1.0 safe
3.6
Low Risk

Runtime Python bytecode patcher with guard knowledge base, persistence, and self-healing re-execution

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

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

Some documentation present

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

  • 89 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)

  • f.headers) req = urllib.request.Request(self.url, data=data, headers=headers, method='POST')
  • hod='POST') with urllib.request.urlopen(req, timeout=10) as resp: return re
  • = 200 with patch('urllib.request.urlopen', return_value=mock_resp): ch = Webhook
  • = 403 with patch('urllib.request.urlopen', return_value=mock_resp): ch = Webhook
  • ) with patch('urllib.request.urlopen', side_effect=fake_urlopen): ch.send(se
  • turns 200.""" resp = urllib.request.urlopen(f'{http_server}/healthy') assert resp.statu
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • f.read() code = compile(source, args.script, 'exec') tracer = install(dry_run=args.dry_run, log
  • ': new_module_code = compile(spec.default_value, "<autonomous>", "exec") found = False for const in new_module_c
  • ad() new_module_code = compile(new_source, "<sandbox>", 'exec') new_func_code = None for const in new_module_co
  • ld(default_factory=lambda: f"{__import__('sys').version_info.major}.{__import__('sys').version_info.minor}.
  • _('sys').version_info.major}.{__import__('sys').version_info.minor}.{__import__('sys').version_info.micro}"
  • _('sys').version_info.minor}.{__import__('sys').version_info.micro}") codesuture_version: str = ""
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • try: result = subprocess.run( [sys.executable, runner_path], ca
  • try: result = subprocess.run( cmd, capture_output=True,
  • clear_cache() result = subprocess.run( [sys.executable, '-m', 'codesuture.cli', 'run', 't
  • clear_cache() first = subprocess.run( [sys.executable, '-m', 'codesuture.cli', 'run', 't
  • irst.stderr}" second = subprocess.run( [sys.executable, '-m', 'codesuture.cli', 'run', 't
✓ Credential Harvesting

No credential harvesting patterns detected

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

💬 Discussion Feed

Leave a comment

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