job-defense-shield

v1.3.4 safe
2.9
Low Risk

Identify and reduce instances of underutilization by the users of high-performance computing systems

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 18 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://princetonuniversity.github.io/job_defense_shield
  • Detailed PyPI description (6559 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
  • 68 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 6.0

Found 4 network call pattern(s)

  • response = requests.get(f'{c.PROM_SERVER}/api/v1/query', params)
  • lt_context() with smtplib.SMTP(smtp_server, smtp_port) as server: server.st
  • {e}") else: with smtplib.SMTP('localhost') as server: server.sendmail(sender,
  • tml, subtype="html") with smtplib.SMTP('localhost') as server: server.send_message(msg) ""
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • rn json.loads(gzip.decompress(base64.b64decode(ss64[4:]))) def cpu_efficiency(ss: dict,
  • eval(Jobstats(jobid=row["jobid"],
  • admincomment = eval(stats.report_job_json(encode=False))
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • l}" try: output = subprocess.run(cmd, stdout=subprocess.PIPE,
  • try: result = subprocess.run(cmd, stdout=subprocess.P
  • {jobid}" _ = subprocess.run(cmd, stdout=subprocess.PI
  • shell=True, timeout=5,
  • shell=True) result.check_returncode() except subpr
  • shell=True, timeout=10,
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: princeton.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 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 job-defense-shield
Build a simple Python application using the job-defense-shield package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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