crapquants

v1.0.0 safe
2.8
Low Risk

Python-native CRAP metric tool with book-integrated diagnostics and architectural fitness functions

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 16 test file(s) found

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

Some documentation present

  • Detailed PyPI description (11279 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
  • 153 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • } try: with httpx.Client(timeout=30.0) as client: resp = client.post(conf
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • levels (1-4). Detects: - eval() / exec() with non-literal arguments - pickle.loads() /
  • igh", "CWE-95", "eval() executes arbitrary code. Use ast.literal_eval() for safe p
  • -> None: """Check for eval(), exec() calls.""" if isinstance(node.func, ast.Nam
  • Recommendation("Replace eval() with ast.literal_eval()", "Safe for literal expressions",
  • (self): source = "x = eval(user_input)\n" findings = scan_source(source)
  • ral_ignored(self): """eval('literal_string') is lower risk — skipped.""" source
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • -78", "os.system() is vulnerable to shell injection. Use subprocess with shel
  • kle.loads(), marshal.loads(), os.system() etc.""" if not isinstance(node.func, ast.Attribute
  • ] try: result = subprocess.run( cmd, capture_output=True,
  • """ try: result = subprocess.run( ["git", "-C", str(repo_path), "rev-parse", "HEA
  • """ try: result = subprocess.run( ["mutmut", "results"], capture_outp
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: dockyardtechlabs.com>

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 crapquants
Build a simple Python application using the crapquants package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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