Nepal TRĀYA is deployed continuously from the main branch to GitHub Pages
(https://prazg.github.io/Nepal_TRAYA/). Security fixes are applied directly to
main.
| Branch / Version | Supported |
|---|---|
main (live GitHub Pages deployment) |
Yes |
| Older commits / archived forks | No |
If you discover a security vulnerability in Nepal TRĀYA — including cross-site scripting (XSS) in live API renderers, Content-Security-Policy (CSP) bypasses, unsafe URL handling, dependency/supply-chain flaws, or GitHub Actions workflow misconfigurations — please report it privately rather than opening a public GitHub issue.
- GitHub Security Advisories (Recommended): Submit a private vulnerability report directly through the repository's GitHub Security Advisories portal.
- Direct Email:
Email Prajwal Ghimire at
prajwal.ghimire@crick.ac.ukwith the subject line[SECURITY] Nepal_TRAYA: <brief summary>.
- A clear description of the vulnerability and affected file(s), endpoint(s), or workflow(s).
- Steps to reproduce or a minimal proof-of-concept (without targeting third-party upstream APIs such as USGS, Open-Meteo, Element84 STAC, or GDACS).
- Any suggested remediation or patch, if available.
- Acknowledgement: Within 72 hours (3 business days).
- Initial Triage & Severity Assessment: Within 7 calendar days.
- Remediation & Verification: Validated fixes are verified through the
automated pre-deploy gate (
python src/verify_site.py) and pure-stdlib unit tests (python src/test_pipeline.py --unit-only) prior to deployment onmain. - Coordinated Disclosure: Once a fix is deployed, reporters will be credited in the advisory/release notes upon request.
- Static-only frontend: Hosted on GitHub Pages with no server-side secrets,
no user accounts, and zero third-party JavaScript or font CDNs (Leaflet 1.9.4
is vendored under
vendor/leaflet/). - Browser hardening: Strict
<meta http-equiv="Content-Security-Policy">(no'unsafe-inline'scripts, no'unsafe-eval'),<meta name="referrer" content="strict-origin-when-cross-origin">(required for OpenStreetMap tile-policy compliance while omitting paths/queries across origins), zero inline<script>,<style>, oron*=attributes, and explicit HTML escaping + URL-scheme validation for external API payloads. - Automated CI verification gate: Every deployment runs
python src/verify_site.pyto enforce CSP, HTML/template synchronisation, Node 24-native workflows, data hygiene, and ES module static XSS checks. - Least-privilege CI/CD: GitHub Actions workflows scope
contents: writestrictly to the scheduled data-refresh job andpages: write/id-token: writestrictly to the Pages deployment job.
- For scientific bugs, data anomalies, or stale upstream feeds, please open a standard GitHub Issue.
- Nepal TRĀYA is NOT an operational early warning system. For real-time
emergencies in Nepal, contact official statutory services directly:
Police
100, Ambulance102, Armed Police Force1114, NDRRMA / NEOC1149(bipadportal.gov.np), DHM Flood Hotline1155(hydrology.gov.np), and DMG / NEMRC (seismonepal.gov.np).