claude-writ

v1.12.0 safe
2.5
Low Risk

Guardrails for Claude Code: the rules that fit the task delivered per prompt, and no risky writes before you approve a plan and tests. Hybrid retrieval (BM25 + vector + graph traversal + weighted ranking, with an abstention gate) over a Neo4j knowledge graph, wired in through hook scripts and a session state machine.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 60 test file(s) found

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

Some documentation present

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

  • 366 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 3.0

Found 2 network call pattern(s)

  • ib.request; ' "urllib.request.urlopen('https://api.example.com', b'x')\"") assert
  • ib.request; ' "urllib.request.urlopen('https://api.example.com', b'x')\"") sid = _
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ource contains no contiguous `eval(` / `os.system(` for the pre-write scanner # to flag; the ru
  • act.""" ns: dict = {} exec(compile(_mirror_block(path), "<mirror:%s>" % path, "exec"), ns)
  • : strip_unbalanced_close} exec(compile(block, "<expand:%s>" % path, "exec"), ns) # noqa: S102
  • > dict: ns: dict = {} exec(compile(_mirror_block(path), "<mirror:%s>" % path, "exec"), ns)
  • ip_unbalanced_close} exec(compile(block, "<expand:%s>" % path, "exec"), ns) # noqa: S102 return ns def _real_expand_sites
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ains no contiguous `eval(` / `os.system(` for the pre-write scanner # to flag; the runtime value is
  • )" ) result = subprocess.run( [sys.executable, "-c", script], capture_output=
  • action)})\"" ) proc = subprocess.run( ["bash", "-c", script], capture_output=True, text=T
  • et}" ) proc = subprocess.run( ["bash", "-c", script], capture_output=True, te
  • base.update(env) return subprocess.run([sys.executable, "-c", code], cwd=str(REPO), env=base,
  • .update(extra_env) return subprocess.run( ["bash", str(HOOK_PATH)], input=json.dumps(payload)
✓ 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

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Lucio Saldivar" 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 claude-writ
Build a simple Python application using the claude-writ package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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