coding-guardrails

v0.23.0 safe
3.6
Low Risk

A safety + reliability proxy for coding agents on local LLMs. Forge rescue/retry/validation + 13 composable guardrail rules. Measured on the Forge 30-scenario eval: 100% completion, up to 95% accuracy.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 16 test file(s) found

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

Some documentation present

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

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

  • oad: dict) -> dict: req = urllib.request.Request( f"{BASE}{path}", data=json.dumps(payload).e
  • "application/json"}) with urllib.request.urlopen(req, timeout=600) as r: return json.loads(r.
  • one: # 1. health with urllib.request.urlopen(f"{BASE}/health", timeout=10) as r: health =
  • 0]) # 2. models with urllib.request.urlopen(f"{BASE}/v1/models", timeout=10) as r: model
  • eck /v1/models resp = urllib.request.urlopen(f"{base}/models", timeout=10) data = json.lo
  • try: resp = urllib.request.urlopen(f"{base.replace('/v1', '')}/health", timeout=5)
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • H:%M:%S')} ===\n") proc = subprocess.Popen( argv, stdout=log, stderr=subprocess.STDOUT,
  • try: proc = subprocess.run( cmd, capture_output=True, text=True,
  • -> %s", PINNED_SHORT) subprocess.run( ["git", "-C", str(src), "fetch", "--depth", "1"
  • check=True, ) subprocess.run( ["git", "-C", str(src), "checkout", "FETCH_HEAD
  • > %s", PINNED_SHORT, src) subprocess.run(["git", "init", str(src)], check=True) subprocess.run(
  • ", str(src)], check=True) subprocess.run( ["git", "-C", str(src), "remote", "add", "origin",
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • dential theft r"cat\s+/etc/shadow", r"cat\s+/root/.ssh", r"cp\s+/etc/shadow",
  • s+/root/.ssh", r"cp\s+/etc/shadow", # Bypass prevention patterns r"rm\s*\\\s*
  • r", "content": "Read the file /etc/passwd"}, ], "tools": [{ "
  • args={"path": "../../../etc/passwd"}, ), ]) body = { "model": "test-m
  • le": "user", "content": "Read /etc/passwd"}], "tools": [ { "type"
  • escalation "chmod 777 /etc/passwd", "chmod 666 /var/log", # Git destructive
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://evil.x
⚠ 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 "Stawils" 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 coding-guardrails
Build a simple Python application using the coding-guardrails package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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