docs(protect): end-to-end demo + seed demo rules (public CVE)#61
Merged
Conversation
examples/protect/ — a runnable Verified Vulnerability Shielding demo against a REAL vulnerable dependency (lodash@4.17.11, CVE-2019-10744): exploit works unprotected → dry-run detects → block rejects the request before the sink → benign still served → response AWS-key redaction → egress SSRF block → proof line. No app redeploy, no token. rules.demo.json holds EXAMPLE rules for public CVEs only (clearly labeled) — NOT the production corpus, which is fetched per-site from the API at runtime. No secrets in-repo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Cohesive end-to-end demo illustrating live shielding of lodash prototype pollution (CVE-2019-10744). 🎯 Quality: 100% Elite · 📦 Size: Medium 📈 This month: Your 25th PR — above team average · Averaging Excellent |
Contributor
Author
|
/review |
ejntaylor
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
examples/protect/— a runnable Verified Vulnerability Shielding demo against a real, unmodified vulnerable dependency (lodash@4.17.11, CVE-2019-10744), on top of@patchstack/connect/protect.Six steps, all ✓:
Object.prototypevialodash.defaultsDeep169.254.169.254is blocked; external allowed…then prints the proof line — "blocked here, right now, by rule
demo-CVE-2019-10744, until you upgrade to 4.17.12. No app redeploy required."IP / secrets
rules.demo.jsonis example rules for public CVEs only, clearly labeled — not the Patchstack production corpus (that's fetched per-site from the API at runtime). No token/secret in-repo; the demo uses a local bundle. Not shipped in the npm package (filesunchanged;node_modules/lockfile gitignored).🤖 Generated with Claude Code