lockin-blocker

v2026.8.2 safe
2.9
Low Risk

Block distracting websites on Linux with /etc/hosts and nftables

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 11 test file(s) found

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

Some documentation present

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

  • 56 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 1.5

Found 1 network call pattern(s)

  • extManager[BinaryIO], urllib.request.urlopen(url, timeout=15), ) def verify_pypi_release(
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • try: result = subprocess.run( ["pgrep", "-x", name], capt
  • {current})...") result = subprocess.run(cmd, capture_output=True, text=True) if result.returncod
  • ne: try: result = subprocess.run( ["nft", "list", "table", "inet", "lockin"],
  • ol: try: result = subprocess.run( ["systemctl", "is-active", "lockin-watchdog.tim
  • xt(content) else: subprocess.run( ["sudo", "tee", str(path)], input=c
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • ocking sessions. lockin uses /etc/hosts for domain blocking. No proxy, no certs, no MITM. System-le
  • dict. If hardcore=True, /etc/hosts is made immutable and stop is disabled. """ existin
  • sites so you can focus. Uses /etc/hosts for domain blocking. No proxy, no certs, no extension. """
  • 'domains'])} domains added to /etc/hosts" ) click.echo(" QUIC/HTTP3 blocked (UDP 44
  • nup(): """Remove leftover /etc/hosts entries, firewall rules, and timers.""" state = get_sta
  • h() -> Path: return Path("/etc/hosts") def _systemd_run_path() -> Path: return Path("/run/
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: madhusudan.dev>

✓ 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 lockin-blocker
Build a simple Python application using the lockin-blocker package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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