kubexhunt

v2.1 suspicious
4.0
Medium Risk

Kubernetes post-compromise security assessment framework

📦 Package Quality Overall: Medium (5.0/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/mr-xhunt/kubeX/blob/main/README.md
  • Detailed PyPI description (12378 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

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

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 108 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 9.0

Found 6 network call pattern(s)

  • def _build_opener(self) -> urllib.request.OpenerDirector: handlers: list[Any] = [] pro
  • " handlers.append(urllib.request.ProxyHandler({scheme: proxy})) handlers.append(urlli
  • xy})) handlers.append(urllib.request.HTTPSHandler(context=build_ssl_context(self.config.verify_tl
  • .verify_tls))) return urllib.request.build_opener(*handlers) def _make_error(self, kind: str
  • pener() request = urllib.request.Request(url, data=serialized_body, headers=request_headers,
  • try: request = urllib.request.Request( "http://169.254.169.254/latest/api/
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • try: return base64.b64decode(value).decode(errors="replace") except (ValueError,
  • raw2 = base64.b64decode(raw) decompressed = gzip.decompr
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • try: result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=tim
  • result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout)
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • ) elif cloud == "AWS" and os.environ.get("AWS_ROLE_ARN"): role_arn = os.environ.get("AWS_ROLE_ARN"
  • OLE_ARN"): role_arn = os.environ.get("AWS_ROLE_ARN", "") iam_id = f"aws/irsa/{role_arn.split('
  • A") role_arn = legacy.os.environ.get("AWS_ROLE_ARN", "") token_file = legacy.os.environ.get("A
  • ) token_file = legacy.os.environ.get("AWS_WEB_IDENTITY_TOKEN_FILE", "") if role_arn and token_
  • SA Detection") role_arn = os.environ.get("AWS_ROLE_ARN", "") if role_arn: legacy.finding(
  • Role ARN: {role_arn}\nToken: {os.environ.get('AWS_WEB_IDENTITY_TOKEN_FILE', '')}", "Scope IRSA rol
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: kubexhunt.io>

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://169.254.169.254/latest/api/token
  • Non-HTTPS external link: http://169.254.169.254/latest/meta-data/iam/security-credentials
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 kubexhunt
Build a simple Python application using the kubexhunt package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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