ptai

v1.6.2 safe
2.8
Low Risk

AI pentesting that proves its findings: machine oracles re-run each exploit, and every verified bug ships a proof capsule you can replay yourself

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

  • Test runner config found: pyproject.toml
  • 1 test file(s) detected (e.g. test_mcp_setup.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://pentestai.xyz
  • Detailed PyPI description (13489 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

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

  • is None: client = httpx.AsyncClient(timeout=self.timeout) try: resp = await
  • rn None try: with httpx.Client(timeout=FETCH_TIMEOUT_SECONDS) as c: r = c.get(P
  • s.""" try: resp = httpx.post( f"{api_base()}{VALIDATION_PATH}", j
  • None try: resp = httpx.post( f"{api_base()}{INGEST_PATH}", json=
  • ent is None: client = httpx.AsyncClient(timeout=15.0) try: resp = await client.post(url
  • try: resp = httpx.get( url, headers={"X-Vault-Toke
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • try: proc = subprocess.run( ["op", "read", "--no-newline", ref],
  • dProcess[str]: return subprocess.run(args, capture_output=True, text=True, timeout=30, check=Fals
  • import subprocess subprocess.run([candidate, "--quiet"], check=False) print()
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • SITORY") token = token or os.environ.get("GITHUB_TOKEN") if pr_number is None: ref = os.environ.get("G
  • ta-urlencode 'file=../../../../etc/passwd' (path traversal — file contents returned)", "authentic
  • TI, # stored XSS, XXE /etc/passwd disclosure, XXE entity-expansion DoS) # because `de
✓ 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 "0xSteph" 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 ptai
Build a simple Python application using the ptai package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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