This repository is a synthetic demo target for Endor Labs EXPOSURE.
- The current state is deliberately exploitable. EXPOSURE will report an exploitable verdict against it.
- Tracked CVEs:
CVE-2018-21268— traceroute command injection via thehostargument. Exploitable in this baseline (no input validation). No upstream fix.CVE-2018-3757— pdf-image command injection via the file-path argument. Not exploitable in this baseline (the/renderroute regex-validates the path before constructingPDFImage). No upstream fix.
- A demo PR opened by EXPOSURE swaps
src/main.jsfor a hardened variant that adds a strict hostname regex beforetraceroute.trace, closing the compensating-control lane — without upgrading the vulnerable dependency. - The customer effort to apply the fix is one click (review + merge).
This repo is not a production application. It exists only to anchor the EXPOSURE "click → real PR opens" demo against a real GitHub repository.