prompt-lint-py

v0.5.1 safe
0.9
Low Risk

Fast, local prompt-injection detection with typed findings, policy controls, and 24 built-in rules

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

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

Some documentation present

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

No contributing guide or governance files found

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 78 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 1.5

Found 1 network call pattern(s)

  • , file=name) with urllib.request.urlopen(url) as resp, open(dest, "wb") as out:
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • attacks IMPERATIVE_VERBS = re.compile( r"\b(?:ignore|disregard|override|bypass|reveal|show|print|dump|" r"delete|execute|run|decode|output|forget|wipe|clear|reset|erase|" r"
✓ 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 "promptlint" 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-lint-py
Build a simple Python application using the prompt-lint-py package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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