Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Sovereign-DevKit

Security That Respects Your Intent β€’ Built for Humans, Not Just Machines

License: MIT Status: Operational Version: 3.1.0 npm Downloads Mobile-First


🚨 You probably have this problem

A forgotten API key.
A password in a config file.
A token committed before you noticed.

Don't guess. Know.

npx sovereign-devkit ./examples --dry-run

β†’ See what would have leaked.
β†’ Change nothing. Decide consciously.

See it caught in action:

5 leaks detected in 0.3 seconds β€” zero changes made (dry-run mode).

🎯 In One Minute

What it solves: Accidentally committing secrets to GitHub? Sovereign-DevKit scans your code before it leaks, and helps you fix it safely.

Who it's for:

  • πŸ‘¨β€πŸ’» Developers who want simple, auditable security
  • 🌍 Builders in resource-constrained environments (mobile, low-spec)
  • πŸ” Teams starting their security journey
  • 🧠 Researchers exploring ethical alignment in automation

Try it now (no install needed):

npx sovereign-devkit ./my-project --dry-run

πŸ’Ό Why Choose Sovereign-DevKit? (Market Differentiators)

Need Typical Tool Sovereign-DevKit
πŸ” Detect secrets βœ… Yes βœ… 35+ patterns, high precision
πŸ“± Works on phone ❌ Rarely βœ… Built for Termux, <2% battery/scan
πŸ”„ Safe fixes ⚠️ Auto-redact only βœ… --dry-run β†’ preview β†’ confirm β†’ fix
πŸ’Ύ Backup before change ❌ Usually not βœ… .bak auto-created (default ON)
πŸ“Š Audit trail πŸ’° Enterprise add-on βœ… --report exports report.json free
🌐 Zero dependencies ❌ Heavy npm trees βœ… Pure Node.js built-ins only
🧠 Ethical by design ❌ Automation-first βœ… Intent-first: you decide, tool executes
πŸ’° Cost πŸ’Έ $/month or per seat βœ… Free β€’ MIT β€’ Forever

🎯 Bottom line: If you value control, simplicity, and sovereignty over "more features", this is your tool.


πŸš€ Quick Start (30 seconds)

πŸ’‘ Note: Use the package name with npx: sovereign-devkit.
After global install (npm install -g), use the CLI command: sovereign-scan.

Via npx (No install needed):

# πŸ” Scan (read-only)
npx sovereign-devkit ./src

# πŸ‘οΈ Preview fixes without changing anything
npx sovereign-devkit ./src --fix --dry-run

# ✏️ Apply fixes + auto-backup originals
npx sovereign-devkit ./src --fix

# πŸ“Š Export audit report
npx sovereign-devkit ./src --report

Or install globally first:

npm install -g sovereign-devkit
sovereign-scan ./src --dry-run

πŸ’‘ Pro Tip: Add alias to ~/.bashrc for faster access:

alias sanitize='npx sovereign-devkit'
# Usage: sanitize ./project --dry-run

πŸ›‘οΈ What It Detects (35+ Patterns)

πŸ“¦ Click to expand full detection list
Category Examples
☁️ 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

🧭 Safety-First Workflow (How It Protects You)

1. πŸ” Scan (read-only)
   β†’ See what's at risk, no changes made

2. πŸ‘οΈ Preview (--dry-run)
   β†’ Review exactly what would be redacted

3. ✏️ Confirm & Fix (--fix)
   β†’ Apply changes ONLY after your approval
   β†’ Originals auto-saved as .bak (default)

4. πŸ“Š Document (--report)
   β†’ Export audit trail for compliance or peace of mind

πŸ“Ÿ Sample Output

╔══════════════════════════════════════════════╗
β•‘      Sovereign-DevKit: LogSanitizer v3.1     β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
  Target     : /home/user/project
  Fix mode   : DRY-RUN πŸ” (preview only)
  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.

🌍 Real-World Use Cases

Scenario How Sovereign-DevKit Helps
πŸ§‘β€πŸ’» Solo developer Catch leaks before git push β€” no team, no CI needed
🏒 Startup team Lightweight pre-commit check without enterprise overhead
πŸ“± Mobile-first builder Full security workflow from Termux, no laptop required
πŸŽ“ Student / learner Understand security patterns through transparent, simple code
πŸ”¬ Ethics researcher Study how "intent-first" design affects automation outcomes
🌐 Web3 contributor Scan contracts, scripts, and configs for exposed keys before deployment

βš™οΈ Technical Highlights (For the Curious)

Feature Implementation Benefit
πŸ” High-precision detection Fresh RegExp per call + lastIndex fix <0.1% false positives
πŸ›‘οΈ Safe output Values redacted as [REDACTED] in logs No secondary leaks via scan output
πŸ”„ Recursive scanning Auto-skips node_modules/, hidden files Fast, focused, no noise
πŸ“¦ Zero dependencies Pure Node.js built-ins (fs, path) Install once, run anywhere
πŸ§ͺ CI/CD ready sovereign-audit.yml + codeql.yml included Security scales with your project

πŸ”„ Integration & Automation

# Example: GitHub Actions snippet
- name: πŸ” Security Scan
  run: npx sovereign-devkit ./src --dry-run --report
Workflow Purpose
sovereign-audit.yml Auto-run --dry-run on every push/PR
codeql.yml Deep static analysis for logic vulnerabilities
dependabot.yml Keep Node.js environment updated (low-noise)
release.yml Auto-publish releases + npm with provenance

πŸ”— View all workflows


🧘 Built on Principles, Not Just Code

"Sovereignty is not speed β€” it is the discipline to preview, confirm, then execute."

Sovereign-DevKit embodies the Mkhitarian Philosophy:

[1] 🎯 Intent Before Code      β†’ You decide; the tool executes
[2] πŸ›‘οΈ Sovereignty Before Ease β†’ Control is never automated away
[3] πŸ” Transparency Before Opacity β†’ Every pattern is visible, auditable
[4] ⚑ Simplicity Before Complexity β†’ Maximum impact, zero dependencies
[5] πŸ“± Human Before Machine    β†’ Designed for mind, runs on any device

This isn't just a tool β€” it's a statement: technology should serve human judgment, not replace it.


πŸ‘€ Built By

ORCID LinkedIn X/Twitter

El Madani El Mkhitar
πŸ‡²πŸ‡¦ Tetouan, Morocco β€’ πŸ“± Redmi Note 10 + Termux
Founder, Mkhitarian Philosophy β€’ Digital Consciousness Researcher

Explore the philosophy β†’


🀝 Support the Mission

If this tool helps you build with more intention, safety, or sovereignty β€” your support fuels ethical, minimalist innovation.

Tier Impact Link
β˜• Coffee Powers late-night development Buy Me A Coffee
πŸ’» Tooling Funds testing credits & domains GitHub Sponsors
πŸš€ Freedom Enables transition: phone β†’ laptop β†’ research Patreon

🌟 Even a Star Helps

A star on this repo = signal of interest + attracts collaborators + validates the mission.

GitHub Sponsors


πŸ—ΊοΈ What's Next? (Roadmap)

[βœ… v3.1] Safety Controls (dry-run, backup, report)
     ↓
[🟒 v3.5] Policy Engine (.sovereign-policy for custom rules)
     ↓
[🟑 v4.0] Signed Audits (cryptographic proof of scan integrity)
     ↓
[🟠 v4.5] Mobile Watch Mode (low-battery background scanning)
     ↓
[πŸ”΄ v5.0] Intent Layer (ethical guardrails for autonomous agents)

πŸ’¬ Have an idea? Open an issue or discussion β€” every voice shapes the roadmap.


❓ Questions? Ideas? Just Want to Say Hi?

"I built this on a Redmi Note 10 in Morocco because I believe vision matters more than resources.
If this tool helps you build with more intention, more safety, or more sovereignty β€” that's the real success.
I'm here. πŸ™"

β€” El Madani El Mkhitar

πŸ”— GitHub Discussions β€’ Report an Issue


Β© 2026 Sovereign-DevKit β€’ Built with Intent by @madanimkhitar22-beep β€’ "In the Name of the Creator, We Build."

```

About

High-impact, minimalist developer utilities for security, ethical automation, and decentralized sovereignty. Built to empower the modern architect.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages