If you discover a potential security issue in this project, notify AWS/Amazon Security through the vulnerability reporting page. Please do not create a public GitHub issue.
AI-DLC Pulse is sample code for local, single-user use. It has no authentication, so it is designed to be reachable only from your own machine.
- Loopback only. The server binds to
127.0.0.1by default.--hostaccepts only loopback addresses and refuses anything else. - Host header check. Requests whose
Hostheader isn't a loopback name are rejected, which guards against DNS rebinding. - Read-only. The server never writes to the AI-DLC project it reads.
- Contained file access. The artifact endpoint serves only text files (
.md,.json,.yaml,.yml,.txt,.html,.mmd) up to 512 KB inside the selected run's folder. It rejects..segments, absolute paths, and paths that resolve outside that folder, including through symlinks. - Response headers. Every response sends a Content-Security-Policy (
default-src 'none'; script-src 'self', no framing, no form posts),X-Content-Type-Options: nosniffandReferrer-Policy: no-referrer. Inline styles are allowed (style-src 'unsafe-inline'); inline scripts are not. - No markup injection. File content is rendered as text. The markdown viewer builds DOM elements directly and never inserts HTML.
- Don't expose the dashboard on a network interface, through a reverse proxy, or with port forwarding. Anyone who can reach it can read the AI-DLC records of the project it points at.
- Point
--projectonly at projects you are allowed to read. - Work with your security and legal teams to meet your organization's requirements before using this sample with sensitive projects.