privmap

v2.0.0 safe
2.5
Low Risk

Find Linux privilege escalation paths by modeling permissions as a graph.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

  • 8 test file(s) detected (e.g. test_command_parsing.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://privmap.readthedocs.io/
  • Detailed PyPI description (3540 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

  • 171 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 8.0

Found 4 shell execution pattern(s)

  • result = subprocess.run( [sudo_bin, "--version"],
  • try: result = subprocess.run( ["getcap", "-r", self.root],
  • .""" try: subprocess.run(["getfacl", "--version"], capture_output=True, check=True)
  • try: result = subprocess.run( ["getfacl", "-R", full_path],
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • tive_targets = { "/etc/shadow", "/etc/passwd", "/etc/sudoers", "/root/.ssh/au
  • { "/etc/shadow", "/etc/passwd", "/etc/sudoers", "/root/.ssh/authorized_keys",
  • gest_sudoers(graph) # ── /etc/passwd ── def _ingest_passwd(self, graph: PrivilegeGraph) -> N
  • )) # ── /etc/shadow ── def _ingest_shadow(self, graph: PrivilegeGraph) -> N
  • nt, is a hardening finding. - /etc/hosts.equiv and ~/.rhosts - historical r-command host trust. Ef
  • ss login from listed hosts. - /etc/hosts writability - affects every name resolution as root. - List
✓ 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

  • 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 privmap
Build a simple Python application using the privmap package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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