git-secret-guard

v0.1.4 safe
2.1
Low Risk

A zero-dependency pre-commit hook that blocks secrets before they enter git history.

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 5 test file(s) found

  • Test runner config found: pyproject.toml
  • 5 test file(s) detected (e.g. test_cli.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/hinanohart/git-secret-guard#readme
  • Detailed PyPI description (8861 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
  • 71 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

No suspicious network call patterns found

✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • """ try: proc = subprocess.run( # noqa: S603 — fixed argv, no shell. ["git", *
  • str], cwd: Path) -> None: subprocess.run(["git", *args], cwd=cwd, check=True, capture_output=True)
  • str], cwd: Path) -> None: subprocess.run( ["git", *args], cwd=cwd, check=True
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • "filename", # Matches ~/.ssh/id_rsa, id_ed25519, id_ecdsa, id_dsa, plus *_rsa # style c
  • , regex=_re(r"(?:^|/)\.aws/credentials$"), reason="AWS shared credentials file. Always con
  • assert rule.regex.search(".aws/credentials") assert rule.regex.search("dist/.aws/credentials")
  • ssert rule.regex.search("dist/.aws/credentials") assert not rule.regex.search("aws/credentials.txt")
✓ 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 "git-secret-guard contributors" 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 git-secret-guard
Build a simple Python application using the git-secret-guard package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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