Skip to content

cyberempirex/CEX-InstallGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” CEX-InstallGuard

Analyze install scripts before you execute them.

CEX-InstallGuard is a Termux-first security analysis tool that helps you inspect shell and install scripts safely β€” without running them.

Built for people who value safety, transparency, and control.


πŸš€ Why CEX-InstallGuard Exists

Many Termux users blindly run commands like:

curl something | bash

This tool exists to answer one critical question before damage happens:

β€œIs this script safe to run?”


πŸ›‘οΈ Features

βœ” Analyze shell scripts without executing them
βœ” Detect high-risk commands (rm -rf, chmod 777, permission abuse)
βœ” Classify risks into High / Medium / Low
βœ” Show exact line numbers of dangerous commands
βœ” Offline-first (no internet required)
βœ” Designed for low-end Android phones
βœ” Simple menu-based interface
βœ” Ethical & defensive by design


πŸ“Έ Screenshots

βœ… Clean Script Analysis

Clean Script Analysis

❌ Dangerous Script Detection

Dangerous Script Detection


πŸ“¦ Tool Information

Field Value
Tool Name CEX-InstallGuard
Version v2.0.1
Platform Termux (Android)
Language Python 3
License MIT
Author CyberEmpireX

βš™οΈ Installation (Termux)

1️⃣ Install dependencies

pkg update && pkg upgrade
pkg install python git

2️⃣ Clone the repository

git clone https://github.com/cyberempirex/CEX-InstallGuard.git
cd CEX-InstallGuard

3️⃣ Make executable

chmod +x installguard.py

4️⃣ Run the tool

python installguard.py

πŸ§ͺ Usage Examples

πŸ” Analyze a script file

Option: 1
Enter script path: install.sh

πŸ”Ž Analyze using full path

/data/data/com.termux/files/home/tool/install.sh

⚠️ Dangerous Script Example

chmod 777 ~/.ssh
rm -rf /

🚨 The tool will flag this immediately as HIGH RISK


🧠 How It Works (Simple Explanation)

  1. Reads the script as plain text
  2. Calculates file hash
  3. Counts lines & size
  4. Scans for known dangerous patterns
  5. Scores overall risk level
  6. Shows a clear verdict

🚫 The script is never executed


πŸ“œ About CyberEmpireX

CyberEmpireX focuses on:

  • Ethical hacking education
  • Defensive cybersecurity tools
  • Practical learning for low-resource users

🌐 Website: https://cyberempirex.com
πŸ’¬ Telegram: https://t.me/CyberEmpireXChat
πŸ™ GitHub: https://github.com/cyberempirex


⚠️ Legal & Ethics Notice

This tool is intended for:

βœ” Educational use
βœ” Defensive analysis
βœ” Scripts you own or trust

❌ Not for illegal activity
❌ Not for attacking systems

You are responsible for how you use this tool.


πŸ“ˆ Future Roadmap

  • CLI mode (cex-installguard file.sh)
  • Export scan reports (JSON / TXT)
  • URL-based script fetching
  • Integration with CEX Builder
  • Visual risk score indicator

πŸ“„ License

MIT License
Free to use, modify, and distribute with credit.


Think before you run.
Security starts with awareness. πŸ”

About

πŸ” Termux-first security tool to analyze install & shell scripts before execution. Detect high-risk commands, inspect scripts safely, and stay in control.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors