sandlock

v0.9.2 safe
3.4
Low Risk

Lightweight process sandbox using Landlock, seccomp, and seccomp user notification

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 28 test file(s) found

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

Some documentation present

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

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

  • check=True)\n" f"socket.create_connection(('{host}', {port})).close()\n"] ) assert result.
  • e.sleep(0.2)\n" f"socket.create_connection(('{host}', {second}), timeout=10)\n" "t.join()\n
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • _csv') namespace = {} exec(compile(ast.Module(body=[fn], type_ignores=[]), str(source), 'exec'
  • env=dict(__import__('os').environ, **stage.sandbox.env)) assert result.returncode
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • port subprocess result = subprocess.run( command, shell=True, capture_output
  • ", str(counter))) build = subprocess.run( [cc, "-static", "-nostdlib", "-no-pie", "-O0", "-o"
  • (**kwargs).stage() return subprocess.run(stage.args, input=data, capture_output=True, timeout=5) de
  • romptGuard().stage() with subprocess.Popen(stage.args, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
  • import _scanner result = subprocess.run( [sys.executable, '-I', str(Path(_scanner.__file__).
  • =threshold)) result = subprocess.run(guard.stage().args, input=b'xyz', capture_output=True, timeo
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • "code": "import os; print(os.environ.get('SECRET_API_KEY', 'HIDDEN'))", })) assert "HIDDEN"
  • and pinned via a synthetic ``/etc/hosts``. Empty = deny all outbound. HTTP rules with concrete
  • lambda self, max_len=4096: "/etc/shadow") handler = PathDenyHandler(deny=["/etc/*"]) assert
  • lambda self, max_len=4096: "/etc/shadow") handler = PathDenyHandler(deny=["/etc/*"], errno=_e.E
  • lambda self, max_len=4096: "/etc/passwd") handler = PathAllowHandler(allow=["/tmp/*"]) asse
  • lambda self, max_len=4096: "/etc/passwd") handler = PathAllowHandler(allow=["/tmp/*"], errno=_e
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: multikernel.io>

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

💬 Discussion Feed

Leave a comment

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