inspect-k8s-sandbox

v0.14.0 safe
2.6
Low Risk

A Kubernetes Sandbox Environment for Inspect

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 37 test file(s) found

  • Test runner config found: pyproject.toml
  • 37 test file(s) detected (e.g. run.py)
◈ Medium Documentation 7.0

Some documentation present

  • 1 documentation file(s) (e.g. pyproject.toml)
  • Detailed PyPI description (1172 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

  • 623 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 8.0

Found 4 obfuscation pattern(s)

  • = str(max_pod_ops) logs = eval( tasks=[internet_access_task(post_curl_sleep)],
  • = str(max_pod_ops) logs = eval( tasks=[files_open_task()], model="mockllm/m
  • ), ) result = eval(task, model=model)[0] assert result.status == "error"
  • set.location): logs = eval(task, model=model, log_dir=log_dir, sandbox_cleanup=sandbox_
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • while True: result = subprocess.run( ["kubectl", "logs", pod_name, "-c", container_n
  • why helm failed. result = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • = await sandbox.exec(["cat", "/etc/hosts"], timeout=10) fqdn = await sandbox.exec(["hostname", "
  • s(PermissionError): # /etc/hosts is not an executable file. await sandbox.exec(["bas
  • sandbox.exec(["bash", "-c", "/etc/hosts"]) assert not log_err.records async def test_exec_do
  • Environment, ) -> None: # /etc/hosts behaves differently to regular files when written to. a
  • await sandbox.write_file("/etc/hosts", "Hello, World!") cat_result = await sandbox.exec(["c
  • = await sandbox.exec(["cat", "/etc/hosts"]) assert cat_result.stdout == "Hello, World!" async
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author "UK AI Security Institute" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with inspect-k8s-sandbox
Build a simple Python application using the inspect-k8s-sandbox package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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