An open API service indexing awesome lists of open source software.

https://github.com/devlopersabbir/dose-scan

This is for scanning repository for detecting and informing to our developer to fix and safely send code to the remote repository.
https://github.com/devlopersabbir/dose-scan

Last synced: 13 days ago
JSON representation

This is for scanning repository for detecting and informing to our developer to fix and safely send code to the remote repository.

Awesome Lists containing this project

README

          

# πŸ›‘οΈ DOSE (Dangerous Operations Security Enforcer)

## 🎯 Project Goal

DOSE is a **lightweight, bash-based security scanning tool** designed to run automatically during development (pre-commit) and optionally as a full-codebase audit tool.

Its main goal is to **detect dangerous, insecure, or suspicious code patterns early** before they reach production.

---

## βš™οΈ Core Objectives

### 1. Pre-Commit Security Enforcement

- Scan only **staged Git files**
- Block commits if critical security issues are found
- Warn developers about risky patterns without blocking

---

### 2. Full Codebase Security Audit

- Scan the entire working directory recursively
- Exclude irrelevant directories (node_modules, dist, etc.)
- Provide a complete security overview of the project

---

### 3. Pattern-Based Detection System

- Detect:
- πŸ”΄ Dangerous code execution (eval, system calls)
- πŸ”΄ Hardcoded secrets (API keys, tokens, passwords)
- πŸ”΄ Data exfiltration patterns (curl/wget to external endpoints)
- 🟑 Unsafe practices (debug logs, insecure HTTP, TODO secrets)

- Fully configurable regex-based rules

---

### 4. High-Performance Parallel Scanning

- Scan multiple files concurrently
- CPU-aware worker limits
- Optimized for large codebases

---

### 5. Developer-Friendly Output

- Color-coded CLI output (BLOCK / WARN / SAFE)
- File-level issue reporting
- Clear line-level context for debugging

---

### 6. Modular & Extensible Architecture

- Separation of:
- scanning engine
- pattern definitions
- git integration
- dependency checks

- Easy to extend with new rules or modules

---

## πŸš€ Key Design Principles

- **DRY (Don’t Repeat Yourself)** β†’ reusable scan engine
- **Fail Fast** β†’ block unsafe commits immediately
- **Zero Noise Policy** β†’ only meaningful warnings
- **Performance First** β†’ parallel execution by default

## πŸ“š Documentation

For detailed installation guides, usage examples, and pattern references, visit our [Documentation Site](https://devlopersabbir.github.io/dose-scan).

---

## πŸš€ Quick Install

To install or update DOSE scanner globally on your machine, run:

```bash
curl -sSL https://scan.softvenceomegaforce.cloud/install.sh | bash
```

On Windows PowerShell, run:

```powershell
irm https://scan.softvenceomegaforce.cloud | iex
```

This will:

1. Download the latest stable scanner release from the DOSE update server
2. Make the binary executable
3. Create `/usr/local/bin/dose-scan` on macOS/Linux or a Windows command shim

---

## πŸ—‘οΈ Uninstallation

To completely remove DOSE scanner from your system, run:

```bash
curl -sSL https://scan.softvenceomegaforce.cloud/uninstall.sh | bash
```

On Windows PowerShell, run:

```powershell
irm https://scan.softvenceomegaforce.cloud/uninstall.ps1 | iex
```

This will:
1. Remove the global symlink from `/usr/local/bin/dose-scan`
2. Delete the installation directory at `~/.dose-scan`

---

## 🧩 Future Vision

- GitHub Actions integration (CI/CD security gate)
- SARIF output (GitHub Security tab support)
- Auto-fix suggestions for safe transformations
- Plugin system for custom rules
- Enterprise security policy engine