sglang-lens

v0.2.2 safe
2.4
Low Risk

Zero-config runtime observability for SGLang inference: attack-surface, supply-chain, anomaly, and PII detectors emitted as structured events.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

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

Some documentation present

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 112 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 4.5

Found 3 network call pattern(s)

  • text}).encode() req = urllib.request.Request( self.config.slack_webhook,
  • r, TimeoutError): urllib.request.urlopen(req, timeout=5).close() def _format_slack(kind: st
  • rics" try: resp = urllib.request.urlopen(url, timeout=2) except (urllib.error.URLError, T
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • ry: decoded = base64.b64decode(blob, validate=False).decode("utf-8", errors="ignore")
  • decoded = base64.b64decode(blob, validate=False).decode( "utf-8
  • (r"\.__builtins__\b"), re.compile(r"\b(?:os|subprocess|popen|system|eval|exec|__import__)\s*[(.\[]"), re.compile(r"\{\{\s*config\.\w+
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • n.dumps({"chat_template": "{{ os.system('id') }}"}) ) d = SupplyChainDetector(SupplyChainCon
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • s({"chat_template": "{{ open('/etc/passwd').read() }}"}) ) d = SupplyChainDetector(SupplyChai
✓ 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://127.0.0.1:30000
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

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

💬 Discussion Feed

Leave a comment

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