A previous release had provenance metadata, but this release does not. View details.
Sentinel AI CLI
Sentinel AI CLI is a professional, open-source cybersecurity tool for Linux. It provides real-time network monitoring, system information, intelligent connection analysis, and risk classification to help you secure your machine—instantly from your terminal.
Features
- Network Scanner: List all active network connections with process details
- System Information: Display OS, kernel, CPU, memory, and hostname
- Connection Analyzer: Detect and classify suspicious connections with numeric risk scoring (0–100) and risk level (LOW, MEDIUM, HIGH)
- Report Command: Show summary of total connections, external connections, risk counts, and overall system risk score
- Explain Command: Explain if an IP/connection is potentially dangerous
- Debug: Run and debug a Python file, catching exceptions and logging errors
- Explain Code: Summarize and list functions/classes in a Python file
- Improve Code: Auto-format a Python file using autopep8 for better readability
- Colored Output: Professional, readable CLI with colorama
- Logging: All actions and errors are logged for auditing
- Production-Ready: Modular, clean, and robust code
Installation
From PyPI (recommended)
pip install sentinel-ai-cli
From source
git clone https://github.com/Bangkah/sentinel.git
cd sentinel
pip install -r requirements.txt
Requirements
- Python 3.7+
- psutil
- colorama
- autopep8
Usage Examples
- Scan active network connections:
sentinel-ai scan - Show system information:
sentinel-ai system - Analyze connections and classify risk:
sentinel-ai analyzeExample output:Proto Local Address Remote Address PID Process Risk Reason TCP 192.168.1.10:54321 8.8.8.8:53 1234 python3 HIGH (87) External IP; Unusual port; Unknown process ... - Show summary report:
sentinel-ai reportExample output:=== Sentinel AI CLI Security Report === Total connections: 12 External connections: 3 High risk: 1 Medium risk: 2 Low risk: 9 Overall system risk: HIGH (72/100) - Explain a specific IP address:
sentinel-ai explain 8.8.8.8
- Debug a Python file:
sentinel-ai debug path/to/your_script.py
- Explain a Python code file:
sentinel-ai explain-code path/to/your_script.py
- Improve (auto-format) a Python code file:
sentinel-ai improve-code path/to/your_script.py
Screenshots
How GitHub Copilot CLI Helped
GitHub Copilot CLI accelerated the development of Sentinel AI by:
- Generating modular, production-ready Python code
- Suggesting robust error handling and logging patterns
- Providing intelligent CLI argument parsing with argparse
- Recommending best practices for security and code structure
- Speeding up the implementation of colored output and risk analysis logic
Thanks to Copilot CLI, Sentinel AI was built faster, with higher code quality and maintainability.
Contributing
Contributions are welcome! Please open issues or pull requests to help improve Sentinel AI.
License
This project is licensed under the MIT License.
Support & Links
Metadata
Release files for sentinel-ai-cli 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sentinel_ai_cli-1.0.5.tar.gz | 7.7 kB | Without provenance | Details for sentinel_ai_cli-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sentinel_ai_cli-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for sentinel_ai_cli-1.0.5-py3-none-any.whl |
Total release size: 15.7 kB
Release files / sentinel_ai_cli-1.0.5.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | sentinel_ai_cli-1.0.5.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf1e37607e034f78edd94ab3f1a7140b89b43e3d58a08371e9d96f8345c6bbd4
|
|
BLAKE2b-256 checksum How to use checksums |
92691626aa681cf150786bcb6ce2b3d2fcdd04c1e87b2b5510f818e0d8c3efcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / sentinel_ai_cli-1.0.5-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | sentinel_ai_cli-1.0.5-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58247a5be0e133403f8d338e88ab66087b5f31c446f0108d776e36a3399e03f6
|
|
BLAKE2b-256 checksum How to use checksums |
f81db1ca430e61e0418b54d8f33e9e610ba9234982ff72bcd74b9f3a860465f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for sentinel-ai-cli 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 1.0.4 2 files With provenance
- Added 1.0.5 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.