keyward

v1.1.1 safe
2.8
Low Risk

Local secret broker that keeps API keys out of files AI agents can read.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

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

Some documentation present

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

  • 94 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 3.0

Found 2 network call pattern(s)

  • "Bearer {api_key}" req = urllib.request.Request(f"{base_url}{args.path}", headers=headers) try:
  • eaders) try: with urllib.request.urlopen(req) as resp: status = resp.status
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • when not loaded is fine. subprocess.run( ["launchctl", "bootout", f"gui/{_uid()}/{LABEL}"],
  • : Path) -> None: result = subprocess.run( ["launchctl", "bootstrap", f"gui/{_uid()}", str(pli
  • nfig and secret cache.""" subprocess.run( ["launchctl", "kickstart", "-k", f"gui/{_uid()}/{LA
  • ntent(python_executable)) subprocess.run(["systemctl", "--user", "daemon-reload"], check=True) su
  • mon-reload"], check=True) subprocess.run(["systemctl", "--user", "enable", "--now", UNIT_NAME], check
  • l: path = unit_path() subprocess.run( ["systemctl", "--user", "disable", "--now", UNIT_NA
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • name) try: return keyring.get_password(KEYCHAIN_SERVICE, name) except keyring.errors.KeyringLoc
  • in result.stdout assert keyring.get_password("keyward", "openai") == "sk-secret" entries = store.lis
  • ult.exit_code == 0 assert keyring.get_password("keyward", "openai") is None assert store.list_keys() ==
  • == original_token assert keyring.get_password("keyward", "openai") == "sk-b" def test_rotate_unknown_key
✓ 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 2.0

1 maintainer concern(s) found

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

💬 Discussion Feed

Leave a comment

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