shadow-stack v5
Inject production infrastructure into any Python or Node project in minutes. Framework-aware · AI-adaptive · Multi-provider with fallback · Git-branch rollback · BSL Licensed
pip install shadow-stack
shadow-stack scan ./myproject # health score + what's missing (FREE)
shadow-stack diff ./myproject # preview changes before inject (FREE)
shadow-stack cost ./myproject # estimate AI cost first (FREE)
shadow-stack audit ./myproject # security issues (FREE)
shadow-stack inject ./myproject # AI-adapted production modules (PAID)
shadow-stack rollback ./myproject # list/clean inject branches (FREE)
What's new in v5
| Feature | v4 | v5 |
|---|---|---|
| Framework-aware scanner (no false positives on JS/TS projects) | ❌ | ✅ |
| AI provider fallback chain (auto-retry on rate-limit / 5xx) | ❌ | ✅ |
| Git-branch rollback (every inject = its own branch) | ❌ | ✅ |
| Node/Express module pack (auth + security + monitoring + tests + docker) | ❌ | ✅ |
| GitHub Action for CI integration | ❌ | ✅ |
| Freemium model (free scans, paid inject) | ❌ | ✅ |
| pyproject.toml packaging | ❌ | ✅ |
Free tier (always free)
scan · audit · diff · cost · frameworks · providers · explain · license
Run scans on any project, any time, no key required. This is the acquisition loop —
get a real production-readiness score before deciding if inject is worth paying for.
Paid tier (license key required)
inject · recipe apply · upgrade · sync · fix-wiring · install
export SHADOW_STACK_LICENSE_KEY=solo_xxxxxxx
shadow-stack inject ./myproject --only auth payments monitoring
Tiers: solo_* ($29/mo) · team_* ($99/mo) · ent_* ($499/mo) · lifetime_* ($149)
Framework support
| Framework | Detect | Inject | Modules |
|---|---|---|---|
| FastAPI | ✅ | ✅ | All 16 Python modules |
| Django | ✅ | ◑ | auth, monitoring, security, tests, docker, deployment |
| Flask | ✅ | ◑ | auth, monitoring, security, tests, docker |
| Express | ✅ | ✅ | v5 NEW — node_auth/security/monitoring/tests/docker |
| NestJS | ✅ | ✅ | v5 NEW — same Node module pack |
| Next.js | ✅ | ◑ | v5 NEW — node_auth, node_monitoring, node_tests |
| Fastify | ✅ | ○ | Detection only |
| React/Vite | ✅ | ◑ | node_tests |
| Go (Gin) | ○ | ○ | Planned v6 |
The scanner is framework-aware: a Next.js project no longer gets false-positive "missing password hashing" warnings just because the FastAPI checker doesn't know JS.
Git-branch rollback
Every inject in a git repo creates a dedicated branch:
shadow-stack/inject-auth-monitoring-20260510-153022
Review the diff, then merge or rollback:
git checkout main && git merge --no-ff <branch> # accept
git checkout main && git branch -D <branch> # discard
shadow-stack rollback ./myproject --cleanup 14 cleans up branches older than 14 days.
AI provider fallback (v5 reliability fix)
Default chain: anthropic → openai → gemini → groq → deepseek → ollama
If your primary rate-limits halfway through a 12-module inject, v5 auto-retries on the next available provider. v4 used to fail the whole run.
Set SHADOW_STACK_AI_PROVIDER=openai to pin a specific primary; the chain still
applies on failure.
GitHub Action
# .github/workflows/health-score.yml
on: [pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shadowhunter89/shadow-stack/.github/actions/scan@v5
with:
fail-below: 60 # fail the PR if score drops below 60
comment-on-pr: true # post score as a PR comment
What the comment looks like
On every pull request, the action posts a comment like this:
🟡 shadow-stack score: 62/100
Framework fastapiMissing modules 6 Critical security issues 2 Run
shadow-stack injectlocally to fix the gaps. Get a license to enable inject.
Score emoji is colour-coded:
- 🟢 80+ — production-ready
- 🟡 60-79 — has gaps, but shippable
- 🔴 < 60 — needs work before launch
What you'll see in the GitHub Actions tab
The action also writes a Job Summary visible in the run page:
## shadow-stack scan
| Metric | Value |
|--------|------:|
| Health Score | 62/100 |
| Framework | fastapi |
| Missing modules | 6 |
| Critical issues | 2 |
Outputs you can use in downstream steps
- uses: shadowhunter89/shadow-stack/.github/actions/scan@v5
id: scan
- run: echo "Health = ${{ steps.scan.outputs.health-score }}"
- run: echo "Framework = ${{ steps.scan.outputs.framework }}"
License
Business Source License 1.1. You may use it on your projects (private or commercial). You may not sell it as a standalone product or build a hosted SaaS of it. Converts to Apache 2.0 four years after release.
Commercial licensing: shadowhunter89@proton.me · © 2026 ShadowHunter89.
Metadata
Release files for shadow-stack 5.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shadow_stack-5.0.2.tar.gz | 79.1 kB | Without provenance | Details for shadow_stack-5.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shadow_stack-5.0.2-py3-none-any.whl | Python 3 | none | any | Details for shadow_stack-5.0.2-py3-none-any.whl |
Total release size: 157.6 kB
Release files / shadow_stack-5.0.2.tar.gz
| Download URL | shadow_stack-5.0.2.tar.gz |
|---|---|
| Size | 79.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4545683a76ef1cd8987c0863b770535ffa65cc3ab9b7e7acf4dc530e4c0b08b8
|
|
BLAKE2b-256 checksum How to use checksums |
5a6b8fad5c0a802192b0251fe9d5eed1fb833950d04c1d8d18790e9000268796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / shadow_stack-5.0.2-py3-none-any.whl
| Download URL | shadow_stack-5.0.2-py3-none-any.whl |
|---|---|
| Size | 78.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2582d97fab40c4851c4bc2f195cc5675a5b57f72f011a263a594394245c12e9f
|
|
BLAKE2b-256 checksum How to use checksums |
9479b6a53ecbb2190600c7409fc321a27f3126236fd28f93728b4ff4185347fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for shadow-stack 5.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.