speculos

v0.27.8 safe
2.3
Low Risk

Ledger Stax, Flex, Apex+ and Nano S+/X application emulator

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

  • Test runner config found: conftest.py
  • 14 test file(s) detected (e.g. test_api.py)
◈ Medium Documentation 7.0

Some documentation present

  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (5443 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

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

  • try: s = socket.create_connection(("127.0.0.1", self.port)) connected = True
  • try: s = socket.create_connection(("127.0.0.1", port), timeout=0.5) connected
  • response (hex).""" resp = requests.post(f"{BASE}/apdu", json={"data": hex_data}, timeout=TIMEOUT)
  • device screen.""" resp = requests.get(f"{BASE}/events", params={"currentscreenonly": "true"}, time
  • t', 'right' or 'both'.""" requests.post( f"{BASE}/button/{button}", json={"action":
  • (Stax / Flex / Apex+).""" requests.post( f"{BASE}/finger", json={"action": "press-an
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • md)}") self.process = subprocess.Popen(cmd) # noqa: S603 self._wait_until_ready() def
  • t) self.subprocess = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) # noqa:
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • URL}/automation", data=b"file:/etc/passwd", timeout=10) as response: if response.status_c
✓ 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:5000
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Ledger" 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 speculos
Build a simple Python application using the speculos package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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