promptguard-sdk

v2.7.0 safe
2.6
Low Risk

Drop-in security for AI applications - AI Firewall SDK

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://docs.promptguard.co
  • Detailed PyPI description (31597 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

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

  • g value. self._http = httpx.Client(timeout=timeout if timeout is not None else self.config.time
  • g value. self._http = httpx.AsyncClient( timeout=timeout if timeout is not None else sel
  • self._sync_client = httpx.Client(timeout=self._timeout) return self._sync_client
  • sed: client = httpx.AsyncClient(timeout=self._timeout) try:
  • is None: client = httpx.AsyncClient(transport=httpx.MockTransport(fake.handler)) cli
  • httpx.AsyncClient: return httpx.AsyncClient( transport=httpx.ASGITransport(app=app, root_path=ro
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • #/components/schemas/Y\nBAD = __import__('os')"}, ] } assert gen.map_type(prop
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • "os.system('touch /tmp/pwned')" )
  • art: Path) -> Path: out = subprocess.run( ["git", "-C", str(start), "rev-parse", "--show-topl
  • Path) -> list[str]: out = subprocess.run( ["git", "-C", str(root), "ls-files", "-z"], capture
  • TATIVE_SPEC) result = subprocess.run( # noqa: S603 - fixed argv, no shell [_ruff(),
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: promptguard.co>

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

💬 Discussion Feed

Leave a comment

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