python-jamf

v0.10.1 safe
3.4
Low Risk

Python wrapper for Jamf Pro API

📦 Package Quality Overall: Low (4.0/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

  • 6 test file(s) detected (e.g. __init__.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (8637 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
○ Low Type Annotations 1.0

No type annotations detected

  • No type annotations, py.typed marker, or stub files detected
○ 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)

  • stname self.session = requests.Session() def get_token(self, old_token=None): with req
  • old_token=None): with requests.Session() as session: if old_token: sess
  • if token: with requests.Session() as session: url = f"{self.hostname}/api/v1
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • lid_records(): return eval(name) if not case_sensitive: for temp in valid_r
  • wer(): return eval(temp) raise JamfUnknownClass(f"{name} is not a valid rec
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • h!r} -target {target!r}") subprocess.check_call(["/usr/bin/sudo", "-n"] + cmd) # def jss_package_details(a
  • r(x) for x in args] out = subprocess.check_output(cmd, stderr=subprocess.PIPE) try: result = plist
  • ' '{path}'") tar_output = subprocess.check_output(["/usr/bin/tar", "-xOf", path, payload]) return tar_outp
  • d}' -C '{save_dir}'") _ = subprocess.check_output(["/usr/bin/xar", "-xf", path, payload, "-C", save_dir])
  • C", save_dir]) pkg_info = subprocess.check_output(["/bin/cat", save_dir / payload]) return pkg_info def
  • r(x) for x in args] out = subprocess.check_output(cmd, stderr=subprocess.PIPE) return out.decode("utf-8").
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • self.password = keyring.get_password(self.hostname, self.username) elif "JSS_URL" in
  • """ self.token = keyring.get_password(self.hostname, TOKEN_KEY) expires = keyring.get_pass
  • TOKEN_KEY) expires = keyring.get_password(self.hostname, EXPIRE_KEY) self.expired = False
  • en() self.assertEqual(keyring.get_password(self.hostname, TOKEN_KEY), TEMP_TOKEN) self.assertEq
  • KEN) self.assertEqual(keyring.get_password(self.hostname, EXPIRE_KEY), TEMP_EXPIRE) self.config
  • n() self.assertIsNone(keyring.get_password(self.hostname, TOKEN_KEY)) self.assertIsNone(keyring
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: lists.utah.edu

✓ 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 "The University of Utah" 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 python-jamf
Build a simple Python application using the python-jamf package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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