whatisgithub

What is eventhorizon-cli-mode?

qed42/eventhorizon-cli-mode — explained in plain English

Analysis updated 2026-05-18

16PythonAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A command-line tool that scans Drupal codebases for security holes, performance problems, and code quality issues, entirely on your own machine.

Mindmap

mindmap
  root((EventHorizon CLI))
    What it does
      Security scanning
      Performance scanning
      Code complexity metrics
      CSV and Excel reports
    Tech stack
      Python
      Drupal PHP
      Twig
    Use cases
      Audit client Drupal code
      Catch caching issues
      Flag tangled functions
      Run in locked-down CI
    Audience
      Drupal developers
      Security-conscious teams
    Getting started
      Run setup script
      Use eh command
    Key trait
      Fully local
      No cloud upload

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scan a Drupal codebase for security vulnerabilities like SQL injection or bypassed access control.

USE CASE 2

Find performance anti-patterns such as database queries running inside loops.

USE CASE 3

Measure function-level code complexity to spot code that is hard to maintain.

USE CASE 4

Export findings as CSV or Excel reports with severity ratings for the team to prioritize.

What is it built with?

PythonDrupalPHPTwig

How does it compare?

qed42/eventhorizon-cli-mode920linjerry-stack/capital-studioadya84/ha-world-cup-2026
Stars161616
LanguagePythonPythonPython
Setup difficultyeasyeasyeasy
Complexity2/53/52/5
Audiencedeveloperresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Python 3.9 or newer, the bundled setup.sh must be run with `source` to activate the environment.

MIT license: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

So what is it?

EventHorizon CLI is a command-line tool that scans Drupal websites for security holes, performance problems, and code quality issues. Drupal is a content management system that many organizations use to run their websites. Developers who build or maintain Drupal sites can point this tool at their codebase and get a structured report showing what problems exist. The tool checks for three categories of issues. On the security side, it looks for things like database queries that could be manipulated by outside users, places where the site might execute arbitrary code, and access control gaps where pages are left open without proper authentication checks. On the performance side, it flags patterns that slow sites down, such as database lookups inside loops, caching turned off where it should be on, and debug code accidentally left in after development. The third category measures code complexity, flagging functions that have grown too tangled to maintain or review safely. When the scan finishes, EventHorizon outputs its findings as CSV or Excel spreadsheet files, along with a colored summary in the terminal. Each problem gets a severity rating of High, Medium, or Low so developers can prioritize what to fix first. One design choice the README emphasizes is that everything runs on your own machine. No code is sent to any server or cloud service, which matters when working on client projects or in environments where external network access is restricted or not permitted. Setup requires Python 3.9 or newer. The repository includes a setup script that creates an isolated Python environment and installs all dependencies. After that, the tool is available from the terminal as either the short command eh or the longer eventhorizon. The README notes this is the open-source CLI edition, with a team-oriented version described as in progress.

Copy-paste prompts

Prompt 1
Explain what EventHorizon CLI's security rules check for in a Drupal codebase.
Prompt 2
Help me set up EventHorizon CLI using its setup.sh script and run my first scan.
Prompt 3
Walk me through the difference between EventHorizon's security, performance, and code metrics reports.
Prompt 4
Show me how to interpret a High severity finding from EventHorizon's CSV export.

Frequently asked questions

What is eventhorizon-cli-mode?

A command-line tool that scans Drupal codebases for security holes, performance problems, and code quality issues, entirely on your own machine.

What language is eventhorizon-cli-mode written in?

Mainly Python. The stack also includes Python, Drupal, PHP.

What license does eventhorizon-cli-mode use?

MIT license: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

How hard is eventhorizon-cli-mode to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is eventhorizon-cli-mode for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.