secuguard

v0.1.0 safe
3.5
Low Risk

Security assumption auditor for backend codebases - catches what checklists miss

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 4 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/nikita-ravi/Secugaurd#readme
  • Detailed PyPI description (8750 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 146 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 4.5

Found 3 network call pattern(s)

  • http.ClientSession", "urllib.request.urlopen", "urllib.urlopen", "urlopen",
  • on vulnerable patterns: - requests.get(user_provided_url) - urllib.urlopen(url_from_param)
  • urlopen(url_from_param) - httpx.get(webhook_url) """ name: ClassVar[str] = "ssrf" d
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • th user input if "eval(" in line or "exec(" in line: # Check if it'
  • f"Code uses eval() or exec() which can execute arbitrary code. "
  • ulate(expression): return eval(expression) ''' findings = self._analyze_code(code,
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • " subprocess.run(['ls', '-la', directory], shell=False)\n\n"
  • " subprocess.run(f'ls {shlex.quote(directory)}', shell=True)"
  • " subprocess.run(['command', arg1, arg2])\n\n"
  • ss def run_command(cmd): subprocess.run(cmd, shell=True) ''' findings = self._analyze_code(c
  • ] # Patterns suggesting shell=True (dangerous) SHELL_TRUE_PATTERN = r"shell\s*=\s*True"
  • : # Check for shell=True has_shell_true = re.search(self.SHELL_TRUE_
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • " API_KEY = os.environ.get('API_KEY')\n\n" "Secrets manager:\n"
  • = ''' import os SECRET_KEY = os.environ.get("SECRET_KEY") API_KEY = os.getenv("API_KEY") ''' findings =
  • n.get("SECRET_KEY") API_KEY = os.getenv("API_KEY") ''' findings = self._analyze_code(code, ["secrets
✓ 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 4.0

2 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • Author "Nikita Ravi" 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 secuguard
Build a simple Python application using the secuguard package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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