elastalert2

v2.32.0 safe
3.2
Low Risk

Automated rule-based alerting for Elasticsearch

📦 Package Quality Overall: Low (3.2/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 7.0

Some documentation present

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

  • 20 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)

  • try: response = requests.post(self.url, data=alerta_payload, headers=headers, verify=self.
  • ) response = requests.post( url, data=json.dump
  • try: response = requests.post(self.url, data=payload, headers=headers, proxies=proxies, au
  • try: response = requests.post(self.dd_api_url, data=json.dumps(payload, cls=DateTimeEncode
  • try: response = requests.post(self.dingtalk_webhook_url, data=json.dumps(payload,
  • try: response = requests.post(self.discord_webhook_url, data=json.dumps(data), headers=hea
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • ime. ts = eval(rule['timestamp_to_datetime_format_expr'], {'ts': ts})
  • t' return eval(rule['timestamp_format_expr'], {'ts': ts, 'dt': dt})
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • try: subp = subprocess.Popen(command, stdin=subprocess.PIPE, shell=self.shell)
  • ], str): self.shell = True if '%' in self.rule['command']:
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • if not aws_region and not os.environ.get('AWS_DEFAULT_REGION'): return None session =
  • _region: aws_region = os.environ.get('AWS_DEFAULT_REGION') if aws_region: aws_profile = r
  • k): ') password = getpass.getpass('Enter optional basic-auth password (or leave blank): ')
✓ 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 elastalert2
Build a simple Python application using the elastalert2 package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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