sustainability-measurement-agent

v0.2.1 safe
2.4
Low Risk

Sustainability Measurement Agent - A tool for collecting and analyzing sustainability metrics in cloud native enviroments.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

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

  • 69 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 9.0

Found 6 network call pattern(s)

  • e # self.connection = requests.Session() # no use since telelocust doesn't currently support his
  • 'utf-8') response = requests.post(f'{self.telelocust_url}/runs/start', json=parameters)
  • tus(self): response = requests.get(f'{self.telelocust_url}/runs/{self.token}', timeout=REQUEST_
  • ) -> bool: response = requests.get(f'{self.telelocust_url}/healthz') if response.status
  • nished.") response = requests.get(f'{self.telelocust_url}/runs/{self.token}/download', timeout
  • self.session = requests.Session() retries = Retry( total=5, backoff_fact
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • UG: log.debug(subprocess.run(["kubectl", "get", "pods", "-n", self.config.get("namespace"
  • r: assignedNodeport = subprocess.check_output( ["kubectl", "get", "-n", self.config.namespace,
  • er nodeIPString = subprocess.check_output( ["kubectl", "config", "view", "--minify", "
  • eploy(self): log.info(subprocess.run("pwd", shell=False, capture_output=True, text=True).stdout)
  • t infrastructure...") subprocess.run(["kubectl", "create", "namespace", self.config.namespace], c
  • e deployed.") _wait = subprocess.run(["kubectl", "-n", self.config.namespace, "wait", "deployment
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: tu-berlin.de>

✓ 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 "ISE TU Berlin" 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 sustainability-measurement-agent
Build a simple Python application using the sustainability-measurement-agent package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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