pynitrokey

v0.15.0 safe
2.4
Low Risk

Python client for Nitrokey devices

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 389 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)

  • gh_release_data = json.loads(requests.get(api_url).text) except Exception as e: raise CliE
  • d: firmware = requests.get(download_url) fd.write(firmware.content)
  • } token_response = requests.post(token_endpoint, data=body, headers=headers) decoded_
  • ail, } resp = requests.post(endpoint, json=body, headers=self._set_http_headers())
  • l}?$select=id" resp = requests.get(endpoint, headers=self._set_http_headers()) decoded_
  • eationOptions" resp = requests.get(endpoint, headers=self._set_http_headers()) decoded_
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • -> bytes: return base64.b64decode(helpers.from_websafe(f).encode()) firmware_file_dat
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • "') try: output = subprocess.check_output(cmd, stderr=subprocess.STDOUT).decode() except subproces
  • str]): self.process = subprocess.Popen( command, shell=False, stdout=subprocess.PIPE, s
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: nitrokey.com

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://www.apache.org/licenses/LICENSE-2.0
  • Non-HTTPS external link: http://opensource.org/licenses/MIT
⚠ 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 "Nitrokey" 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 pynitrokey
Build a simple Python application using the pynitrokey package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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