pwnguard

v0.2.8 suspicious
4.0
Medium Risk

AI-powered security review for git workflows

📦 Package Quality Overall: Medium (5.4/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

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

Some documentation present

  • Detailed PyPI description (36648 chars)
◈ Medium Contributing Guide 7.0

Some contribution signals present

  • Governance file: security.py
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

  • lse 80) try: with socket.create_connection((host, port), timeout=connect_timeout): return
  • rl: str) -> bytes: return urllib.request.urlopen(url).read() """Small user-accounts API. DO NOT use
  • rgs.get("url", "") return urllib.request.urlopen(url).read() def hash_password(password): retur
  • ython traceback.""" req = urllib.request.Request(url, headers=headers) try: with urllib.r
  • eaders) try: with urllib.request.urlopen(req, timeout=REMOTE_FETCH_TIMEOUT) as resp:
  • comment}).encode() req = urllib.request.Request( url, data=payload, headers=
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • ", "0") return {"result": eval(expr)} @app.route("/greet") def greet(): name = reques
  • sion(blob: bytes): return pickle.loads(blob) def find_account(conn, username: str): flt = f"(
  • ob = request.data state = pickle.loads(blob) return {"ok": True, "user": state.get("user")} @
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • uest.args.get("host", "") os.system(f"ping -c 1 {host}") return "" @app.route("/notes/<nam
  • thumbnail(filename: str): subprocess.check_call(f"/usr/bin/convert {filename} /tmp/thumb.png", shell=True)
  • me = request.form["file"] subprocess.check_call( f"/usr/bin/convert {filename} /tmp/thumb.png",
  • file=sys.stderr) result = subprocess.run( [sys.executable, "-m", "pytest", tests_dir, "-v"],
  • rd error. """ check = subprocess.run( ["git", "rev-parse", "--is-inside-work-tree"],
  • quire_git_repo() result = subprocess.run( ["git", "diff", "--cached", "--diff-filter=ACMR", "
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • //github.com/o/r", "main", "../etc/passwd", ) def test_range_unknown_host_aborts(captured):
  • ther option-looking name "/etc/passwd", # absolute path "../etc/passwd",
  • # absolute path "../etc/passwd", # path traversal "branch/../../../etc", #
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: powertologic.com>

✓ 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 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 pwnguard
Build a simple Python application using the pwnguard package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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