Command Detector

•

Classifies shell and CLI commands to determine their potential destructiveness.

Assess the risk level of various shell and command-line interface (CLI) commands across platforms like Linux, Docker, Kubernetes, Terraform, Git, SQL, and cloud environments. This tool utilizes a sophisticated N-gram plus TF-IDF machine learning model to categorize commands as SAFE, LOW, MEDIUM, or HIGH in terms of destructiveness. It's built with Python, FastAPI, and scikit-learn, offering a non-LLM based solution for robust command analysis.

Key Features

01Classifies command destructiveness into SAFE, LOW, MEDIUM, or HIGH.
02Analyzes commands across Linux, Docker, Kubernetes, Terraform, Git, SQL, and cloud platforms.
03Utilizes N-gram + TF-IDF for machine learning-based classification.
04Built on FastAPI for an asynchronous server architecture.
05No reliance on Large Language Models (LLMs).
060 GitHub stars

Use Cases

01Proactive identification of potentially harmful commands in scripts or manual operations.
02Enhancing security protocols by flagging destructive commands before execution.
03Educating users on the risk levels associated with various CLI actions.