k8s-agent-sandbox

v1.0.11 safe
3.7
Low Risk

A client library to interact with the Agentic Sandbox on Kubernetes.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

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

Some documentation present

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

  • 263 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 7.5

Found 5 network call pattern(s)

  • try: with socket.create_connection(("127.0.0.1", port), timeout=0.1): return Tr
  • setup self.session = requests.Session() self._no_retry_session = requests.Session()
  • self._no_retry_session = requests.Session() retries = Retry( total=5,
  • ) connector.session = requests.Session() ok = MagicMock(spec=requests.Response) ok.
  • t) self._client = httpx.AsyncClient( transport=transport, timeout=httpx.Timeout(
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • """ try: return subprocess.Popen(argv, stdout=subprocess.DEVNULL, stderr=stderr_log) exce
  • try: result = subprocess.run( ["kubectl", "get", ROUTER_SERVICE_NAME,
  • "key-{index}.pem" subprocess.run([ "openssl", "req", "-x509", "-newkey", "rsa
  • "] = tmpdir result = subprocess.run( [sys.executable, "-c", script], cap
  • ot.level\n" ) subprocess.run([sys.executable, "-c", code], check=True) def test_no_r
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • trc = tmp_path / ".netrc" netrc.write_text("default login netrc-user password netrc-password\n") monkeypatch.setenv("NETRC", str(netrc)) session
  • ufficient: basename("foo\x00../etc/passwd") # returns the string unchanged, and the NUL trunc
  • finement by sending filename='/etc/passwd' or '../etc/...'. # Sanitize here to guarantee the
  • his check ``foo\\x00../etc/passwd`` would survive the ``..`` split (no part equals ``
  • lesystem._safe_upload_path("../etc/passwd") def test_embedded_parent_traversal_is_rejected(self)
  • m._safe_upload_path("dir/../../etc/passwd") def test_non_escaping_parent_segment_is_rejected(sel
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://sandbox-router-svc.agent-sandbox-system.svc.cluster.local:8080
⚠ 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 k8s-agent-sandbox
Build a simple Python application using the k8s-agent-sandbox package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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