bodyguard-of-bits

v0.30.0 safe
3.2
Low Risk

BOB — Bodyguard Of Bits: Linux hardening auditor with CIS benchmark mapping

📦 Package Quality Overall: Low (4.6/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/Masbateno/bodyguard-of-bits/blob/main/DOC
  • Detailed PyPI description (23357 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

  • own certificate request = urllib.request.Request(url, data=b"" if method == "POST" else None, method=
  • method) try: with urllib.request.urlopen(request, timeout=_PROBE_TIMEOUT,
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • portError: code = compile(source, plugin_path, "exec") except SyntaxError as exc: result_que
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • t module level or calls ``os.system(...)`` directly. - **Confused-deputy reads** — a plugin th
  • rsed try: proc = subprocess.run( ["sysctl", "-w", f"{key}={value}"],
  • --------------------- # # All subprocess.run() calls in BOB MUST pass a `timeout=` argument to bound # th
  • """ try: proc = subprocess.run( list(args), capture_output=True, text=True, tim
  • """ try: result = subprocess.run( [ "journalctl",
  • try: out = subprocess.check_output( ["ps", "-eo", "comm"], stde
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • ads** — a plugin that opens ``/etc/shadow`` because the user forgot BOB runs as root. What it do
  • ell-known-secret paths (``/etc/shadow``, ``~/.ssh/id_*``, ``/dev/mem``…). ``pathlib.Path`` wr
  • NGS: tuple[str, ...] = ( "/etc/shadow", "/etc/gshadow", "/etc/sudoers.d/", "/dev/mem"
  • ns shouldn't need to read /etc/shadow. """ def safe_open(file, mode="r", *args, **kwargs)
  • g. ``~/.ssh/authorized_keys → /etc/shadow``) and tricks BOB running under sudo into materialising
  • d for sensitive system files (/etc/passwd, /etc/shadow, /etc/sudoers). Without these rules, privileg
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: mailo.com>

✓ 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 4.0

2 maintainer concern(s) found

  • 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 bodyguard-of-bits
Build a simple Python application using the bodyguard-of-bits package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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