s2r

v0.4.4 safe
2.6
Low Risk

Convert SLURM submit scripts to Run.ai configurations using AI

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 2 test file(s) found

  • Test runner config found: pyproject.toml
  • 2 test file(s) detected (e.g. test_auth.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (5718 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 5.0

Partial type annotation coverage

  • 31 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 4.5

Found 3 network call pattern(s)

  • not None else None req = urllib.request.Request(url, data=data, headers=_headers(token), method=meth
  • method) try: with urllib.request.urlopen(req) as r: body = r.read() except ur
  • try: response = requests.post( endpoint, data=slurm_script.encode(
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • pad) try: return base64.b64decode(raw).decode() except Exception as e: raise Runai
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • re.""" try: out = subprocess.check_output( ["runai"] + args + ["--json"], stde
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • us value. shell_profile = os.environ.get("AWS_PROFILE", "") runai_profile = os.environ.get("RUNAI_AWS_
  • ir shell. """ shell = os.environ.get("AWS_PROFILE", "") if shell and shell != "default": r
  • l back). """ region = os.environ.get("AWS_REGION", "") or os.environ.get("AWS_DEFAULT_REGION", "")
  • iron.get("AWS_REGION", "") or os.environ.get("AWS_DEFAULT_REGION", "") if region: return region
  • AWS account. """ ak = os.environ.get("AWS_ACCESS_KEY_ID", "") sk = os.environ.get("AWS_SECRET_ACCE
  • _ACCESS_KEY_ID", "") sk = os.environ.get("AWS_SECRET_ACCESS_KEY", "") if ak and sk: return ak,
⚠ Typosquatting score 3.0

Possible typosquat of: six

  • "s2r" is 2 edit(s) from "six"
✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author "slurm2runai contributors" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with s2r
Build a simple Python application using the s2r package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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