prompt-armor

v0.9.5 safe
1.7
Low Risk

Open-core LLM prompt security analysis — detect prompt injections, jailbreaks, and other attacks

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

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

Some documentation present

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

  • 255 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 6.0

Found 4 network call pattern(s)

  • try: req = urllib.request.Request(f"{self._base_url}/api/tags") with urlli
  • }/api/tags") with urllib.request.urlopen(req, timeout=2) as resp: data = json
  • ).encode() req = urllib.request.Request( f"{self._base_url}/api/generate",
  • try: with urllib.request.urlopen(req, timeout=self._timeout) as resp:
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • try: decoded = base64.b64decode(candidate).decode("utf-8", errors="ignore") if a
  • [0].auto_model.cpu() bert.eval() print(f" Model: {type(bert).__name__}") print(f"
  • n5. Evaluation...") model.eval() test_attacks = random.sample(attacks, min(200, len(at
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

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

💬 Discussion Feed

Leave a comment

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