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:
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| Need | Typical Tool | Sovereign-DevKit |
|---|---|---|
| π Detect secrets | β Yes | β 35+ patterns, high precision |
| π± Works on phone | β Rarely | β Built for Termux, <2% battery/scan |
| π Safe fixes | β
--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.
π‘ Note: Use the package name with
npx:sovereign-devkit.
After global install (npm install -g), use the CLI command:sovereign-scan.
# π 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 --reportnpm install -g sovereign-devkit
sovereign-scan ./src --dry-runπ‘ Pro Tip: Add alias to
~/.bashrcfor faster access:alias sanitize='npx sovereign-devkit' # Usage: sanitize ./project --dry-run
π¦ 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 |
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
ββββββββββββββββββββββββββββββββββββββββββββββββ
β 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.
| 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 |
| 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 |
# 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
"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.
El Madani El Mkhitar
π²π¦ Tetouan, Morocco β’ π± Redmi Note 10 + Termux
Founder, Mkhitarian Philosophy β’ Digital Consciousness Researcher
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 |
A star on this repo = signal of interest + attracts collaborators + validates the mission.
[β
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.
"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."