policy-as-code-engine

v0.2.1 safe
2.3
Low Risk

Declarative policy evaluator with Decision Card field conversion and optional best-effort audit events.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

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

Some documentation present

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

  • Classifier: Typing :: Typed
  • Type checker (mypy / pyright / pytype) referenced in project
  • 193 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)

  • . app.state.http_client = httpx.AsyncClient( headers={"User-Agent": f"policy-as-code-engine/{__v
  • app.state.http_client = httpx.AsyncClient(transport=httpx.MockTransport(handler)) return c, ca
  • app.state.http_client = httpx.AsyncClient(transport=httpx.MockTransport(handler)) r = c.po
  • t(handler) async with httpx.AsyncClient(transport=transport) as client: await audit_stre
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • lid key") key_bytes = base64.b64decode(public_key, validate=True) if len(key_bytes) != 32:
  • metadata) signature = base64.b64decode(attestation.signature, validate=True) if len(signatu
  • id token encoding") raw = base64.b64decode(part + "=" * (-len(part) % 4), altchars=b"-_", validate=True
  • try: public_key = base64.b64decode(encoded_key, validate=True) except binascii.Error as err
  • ctor") try: key = base64.b64decode(payload.public_key_b64, validate=True) except binascii.E
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: kineticgain.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 policy-as-code-engine
Build a simple Python application using the policy-as-code-engine package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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