sovereign-devkit
v3.1.0
Published
High-impact, minimalist developer utilities for security, ethical automation, and decentralized sovereignty. Built to empower the modern architect.
Maintainers
Readme
🏛️ Sovereign-DevKit
The Architecture of Digital Will & Ethical Sovereignty
❖ THE MANIFESTO ❖
"High-level global infrastructure is not a matter of hardware, but a manifestation of Sovereign Will.
Developed entirely on a Redmi Note 10 from the solitude of Tetouan,
this kit proves that the mind is the ultimate command center."
— El Madani El Mkhitar • Founder of Mkhitarian Philosophy
⚡ Quick Start (30 seconds from mobile)
# 🔍 Quick scan (read-only)
node LogSanitizer.js ./src
# 🔐 Preview changes before applying
node LogSanitizer.js ./src --fix --dry-run
# ✏️ Apply fixes with auto-backup
node LogSanitizer.js ./src --fix
# 📊 Export audit report
node LogSanitizer.js ./src --report💡 Pro Tip: Add this alias to
~/.bashrcfor faster access:alias sanitize='node ~/Sovereign-DevKit/LogSanitizer.js' # Usage: sanitize ./project --dry-run
🛡️ LogSanitizer.js — v3.1.0
| Feature | Status | Description |
|---------|--------|-------------|
| 🔍 Smart Detection | ✅ 35 patterns | Cloud, AI, Payments, Web3, Databases |
| 🎯 High Precision | ✅ <0.1% false positives | Fixed lastIndex regex bug |
| 🛡️ Safe Output | ✅ [REDACTED] | Values hidden even in scan logs |
| 🔄 Recursive Scan | ✅ Unlimited depth | Auto-skips node_modules & hidden files |
| 📱 Zero Dependencies | ✅ Pure Node.js | Runs on any device with Node 20+ |
🔍 Detection Coverage
| Category | Detected Patterns |
|----------|------------------|
| ☁️ Cloud | Google API, AWS Access/Secret, Azure Storage |
| 🤖 AI Services | OpenAI sk-, Anthropic sk-ant-, HuggingFace hf_ |
| 💳 Payments | Stripe sk_live_, PayPal, Square, Braintree |
| 🔐 Version Control | GitHub ghp_/gho_/ghs_, GitLab glpat- |
| 💬 Communication | Slack xoxb-, Twilio AC/SK, SendGrid SG., Mailchimp |
| 🗄️ Databases | MongoDB, PostgreSQL, MySQL, Redis (with credentials) |
| 🔗 Web3 & Crypto | Ethereum 0x..., private keys, seed phrases |
| 🔑 Generic | api_key, secret, password, Bearer tokens, Basic Auth |
🎛️ v3.1.0 Safety Controls
🧭 Options Reference
| Goal | Flag | Behavior |
|------|------|----------|
| 👁️ Preview only | --dry-run | Shows changes without modifying files |
| 💾 Auto-backup | --backup (default) | Creates .bak before any change |
| ⚡ Skip backup | --no-backup | For advanced users who manage backups externally |
| 📊 Export report | --report | Generates report.json for audit trails |
| 🎯 Filter files | --ext .js,.env | Scan only specified extensions |
| ✏️ Apply fixes | --fix | Redact detected leaks in-place |
🔄 Recommended Safe Workflow
1. 🔍 Scan (read-only)
→ node LogSanitizer.js ./src
2. 👁️ Preview changes
→ node LogSanitizer.js ./src --fix --dry-run
3. ✏️ Apply with backup (default)
→ node LogSanitizer.js ./src --fix
4. 📊 Export audit trail
→ node LogSanitizer.js ./src --report📟 Sample Output (with Safety Controls)
╔══════════════════════════════════════════════╗
║ Sovereign-DevKit: LogSanitizer v3.1 ║
╚══════════════════════════════════════════════╝
Target : /home/user/project
Fix mode : DRY-RUN 🔍 (preview only)
Backup : N/A (dry-run active)
Extensions : .js, .env
Patterns : 35 detectors active
──────────────────────────────────────────────
[⚠️ LEAK] config.js — 2 issue(s)
→ Line 4 | OpenAI API Key
→ Line 7 | AWS Access Key ID
🔍 [DRY-RUN] Would redact 2 item(s)
[✅ SAFE] index.js
──────────────────────────────────────────────
[🔍 DRY-RUN] 2 leak(s) would be redacted.
Run without --dry-run to apply changes.
💡 Tip: Use --backup to save originals first.🔄 CI/CD Integration
| Workflow | Trigger | Purpose |
|----------|---------|---------|
| ci.yml | Every push & PR | Auto-run --dry-run on changes |
| codeql.yml | Push to main + weekly | Deep security analysis |
| release.yml | On tag v*.*.* | Auto-publish GitHub Release |
| dependabot.yml | Weekly (Monday) | Keep dependencies updated |
🚀 Publishing a New Release (from mobile)
# 1. Verify stability
node LogSanitizer.js ./ --ext .js,.env --report
# 2. Tag the release
git tag -a v3.1.1 -m "Sovereign-DevKit v3.1.1: [brief description]"
# 3. Push and publish
git push origin main --tags
# Then create "Release" via GitHub web interface🧘 Philosophical Anchor
"Sovereignty is not speed — it is the discipline to preview, confirm, then execute."
This project is a practical embodiment of the Mkhitarian Philosophy:
Bridging Digital Consciousness and Decentralized Infrastructure, ensuring technology serves human essence, not the reverse.
🧬 Core Principles
[1] 🎯 Intent Before Code → Every function carries clear purpose
[2] 🛡️ Sovereignty Before Ease → Tools that empower control, not restrict
[3] 🔍 Transparency Before Opacity → Every line open and auditable
[4] ⚡ Simplicity Before Complexity → Maximum impact, zero dependencies
[5] 📱 Human Before Machine → Designed for mind, runs on any device⚡ Infrastructure Status
| Layer | Details | |-------|---------| | 🌍 Location | Tetouan, Morocco 🇲🇦 (UTC+1) | | 📱 Hardware | Redmi Note 10 • Mobile-First • Termux | | ⚙️ Engine | SovereignFlow v1.0 • Pure Node.js | | 🔋 Efficiency | <2% battery/scan • No persistent connection required | | 👨💻 Architect | El Madani El Mkhitar |
👤 Verified Identity & Connect
🌟 Founder, Mkhitarian Philosophy | 🧠 Digital Consciousness Researcher | 🚀 Pi Network Architect
Explore Mkhitarian Philosophy →
🤝 Sponsor the Sovereign Mission
If these tools secure your systems or inspire your journey,
your support fuels ethical, decentralized, minimalist innovation.
🎯 Choose Your Impact Level
| Tier | Impact | Link | |------|--------|------| | ☕ Coffee | Powers late-night development sessions | Buy Me A Coffee | | 💻 Tooling | Funds cloud testing credits & domains | GitHub Sponsors | | 🚀 Freedom | Enables transition: phone → laptop → full-time research | Patreon |
🌟 Even a Star Makes a Difference
A star on a repo = signal of interest + attracts collaborators + validates the mission.
🚀 BECOME A STRATEGIC SPONSOR →
🗺️ Roadmap Ahead
[✅ v3.1] Safety Controls → [🟢 v3.5] Policy Engine → [🟡 v4.0] Signed Audits
↓
[🟠 v4.5] Mobile Watch Mode → [🔴 v5.0] Intent Layer"Architecture is a product of thought — not infrastructure.
Constraints refine systems instead of limiting them."
© 2026 Sovereign-DevKit • Built by @madanimkhitar22-beep • "In the Name of the Creator, We Build."
