# Lyrie lab target — CVE-2024-57726 (SimpleHelp privilege escalation)
# License-gated: real SimpleHelp Server requires vendor license.
# This mock faithfully replicates the vulnerable API surface as documented in:
#   - Horizon3.ai disclosure
#   - SimpleHelp KB security bulletin (Jan 2025)
#   - NVD CVE-2024-57726
FROM python:3.12-alpine
WORKDIR /app
COPY mock-simplehelp.py .
EXPOSE 8080
HEALTHCHECK --interval=2s --timeout=2s --retries=10 \
  CMD wget -qO- http://127.0.0.1:8080/health || exit 1
CMD ["python3", "mock-simplehelp.py"]
