flopscope

v0.12.4 safe
3.8
Low Risk

NumPy-compatible math primitives with FLOP counting for the Mechanistic Estimation Challenge

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

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

  • 170 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • TE: We do NOT disable exec(), eval(), or compile() because Python's own # stdlib uses them perv
  • internally) try: result = eval("__import__('ctypes')") check("eval+import ctypes blocke
  • files even via eval try: eval("open('/etc/shadow').read()") check("eval+open /etc/shad
  • ES): try: __import__(mod_name) except ImportError: print(
  • e"): try: __import__(pkg) except ImportError: print(f" WARN: cou
  • ally) try: result = eval("__import__('ctypes')") check("eval+import ctypes blocked", False) except Imp
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ail (no shell in image) ret = os.system("echo pwned") check("os.system fails (no shell)", ret != 0)
  • OT) try: result = subprocess.run( ["grep", "-rn", "-E", pattern, target],
  • n(PERF_EVENTS) proc = subprocess.run( [ "perf", "stat
  • tmp.close() proc = subprocess.run( [sys.executable, tmp.name], capture
  • tmp.close() proc = subprocess.run( [ "perf", "stat
  • try: out = subprocess.check_output( ["ldd", so], stderr=subprocess.DEVNULL, tex
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • ocked", True) # Test 3: open /etc/passwd blocked (open restriction layer) try: open("/etc/passwd
  • riction layer) try: open("/etc/passwd") check("open /etc/passwd blocked", False) except Permi
  • /etc/passwd") check("open /etc/passwd blocked", False) except PermissionError: check("open /e
  • missionError: check("open /etc/passwd blocked", True) # Test 4: write to filesystem blocked (ope
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8000
✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with flopscope
Build a simple Python application using the flopscope package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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