Minimal React app with intentionally outdated/vulnerable dependencies to exercise Dependabot / GHAS alerts and PRs.
⚠️ Do NOT deploy this app to production. Use only for testing scanners in a private or throwaway repository.
- CRA app using
react-scripts@3.0.1with older React 16.8.x - Vulnerable libs pinned to known-bad versions:
lodash@4.17.15serialize-javascript@1.6.1marked@0.3.6axios@0.18.0
.github/dependabot.ymlconfigured to open PRs againstdependabot-testbranch
npm install
npm startgit init
git add .
git commit -m "Initial commit: intentionally vulnerable app for Dependabot testing"
git branch -M main
git remote add origin https://github.com/<your-username>/dependabot-vuln-test.git
git push -u origin mainCreate the target branch for Dependabot PRs:
git checkout -b dependabot-test
git push -u origin dependabot-testDependabot runs on a schedule (daily/weekly/monthly). This repo uses daily checks.
If you need more frequent checks, consider a GitHub Action workflow that runs npm outdated or npm audit on a cron and opens issues/PRs.
This repository is intentionally risky; treat it as a lab environment.