# nahrain.app

## In short (as of 19 Nov 2026)

nahrain.app is a website titled “بوابة الطالب - النهرين”, in Arabic.

- Behind Cloudflare.
- It loads 8 scripts, which name 20 API endpoints on this host and refer to challenges.cloudflare-cn.com, static.cloudflareinsights.com, wa.me.
- It loads 4 third-party domains, among them cdnjs.cloudflare.com, challenges.cloudflare.com, fonts.googleapis.com and 1 more.
- Observed once, on 19 Nov 2026.

The public xpaling record of nahrain.app: 1 observation since 19 Nov 2026. Page: https://xpaling.com/host/nahrain.app

## Found and changed on nahrain.app
Timeline (1 observation, newest first)

- **19 Nov 2026** — [report](https://xpaling.com/host/nahrain.app/rep/hj6rta52bw) — “بوابة الطالب - النهرين” · First observation · 4 findings

## Findings of nahrain.app
Findings (as of 19 Nov 2026)

- A value named like a secret is assigned in client-side code. A secret-looking value (AIza…ZOco) is written in the response of https://nahrain.app/ itself (text/html). — first seen 19 Nov 2026
    What to do: If the value is a real secret, move it to the server and replace it; if it is a public identifier, nothing to change.
- Google API key exposed. A Google API key (AIza…ZOco) is written in the response of https://nahrain.app/ itself (text/html). — first seen 19 Nov 2026
    What to do: Restrict the key by HTTP referrer and API scope in Google Cloud Console.
- 2 JavaScript source maps referenced in production — first seen 19 Nov 2026
    - https://www.gstatic.com/firebasejs/9.22.1/firebase-app-compat.js.map
    - https://www.gstatic.com/firebasejs/9.22.1/firebase-messaging-compat.js.map
    What to do: Do not ship .map files or sourceMappingURL comments to production; they expose original source code.
- 186 values are written into the page's scripts, 1 of them named like secrets and shown masked (_mismatchReload = false · ACCTS_KEY = "nss_accts" · _acctAdding = false) — first seen 19 Nov 2026
  What to do: Keep keys and internal settings out of the page; fetch what the page needs at run time from an authenticated endpoint.

### Facts and the date each was first recorded (as of 19 Nov 2026)

- All six security headers are present (Referrer-Policy strict-origin-when-cross-origin · X-Frame-Options DENY · Permissions-Policy camera=(), microphone=(), geolocation=() · X-Content-Type-Options nosniff · Content-Security-Policy default-src 'self'; script-src 'self' 'unsafe-inline'… · Strict-Transport-Security max-age=31536000; includeSubDomains) — first seen 19 Nov 2026
- The homepage contacts 4 third-party domains before any click: [cdnjs.cloudflare.com](https://xpaling.com/thirdparty/cdnjs.cloudflare.com), [challenges.cloudflare.com](https://xpaling.com/thirdparty/challenges.cloudflare.com), [fonts.googleapis.com](https://xpaling.com/thirdparty/fonts.googleapis.com), [www.gstatic.com](https://xpaling.com/thirdparty/www.gstatic.com) (7 requests to third parties · challenges.cloudflare.com 3 · www.gstatic.com 2 · cdnjs.cloudflare.com 1) — first seen 19 Nov 2026
- 8 scripts: 2 external (from [www.gstatic.com](https://xpaling.com/thirdparty/www.gstatic.com)), 5 first-party, 1 from known services (external: www.gstatic.com/firebasejs/9.22.1/fireb… 93be1cbf · www.gstatic.com/firebasejs/9.22.1/fireb… 21f1d62f) — first seen 19 Nov 2026
- 20 API endpoints appear in the page's requests and scripts (/api/auth/captcha · /api/auth/login · /api/auth/refresh) — first seen 19 Nov 2026
- Technology: [Cloudflare](https://xpaling.com/tech/cloudflare) (header server: cloudflare) — first seen 19 Nov 2026
- 1 more site file answered: /manifest.json — first seen 19 Nov 2026
- Served over h2 (h3 advertised), first byte in 75 ms, 2.0 MB in total, zstd compressed, cache HIT, server cloudflare (24 requests) — first seen 19 Nov 2026

## Endpoints, routes and files on nahrain.app

- POST `/api/auth/captcha` — named in its scripts and seen at run time
- `/api/auth/login` — named in its scripts
- `/api/auth/refresh` — named in its scripts
- `/api/idcard/photo` — named in its scripts
- `/api/idcard/save` — named in its scripts
- `/api/live/answer` — named in its scripts
- `/api/live/now` — named in its scripts
- `/api/live/ping` — named in its scripts
- `/api/live/watch` — named in its scripts
- `/api/me/card` — named in its scripts
- `/api/me/photo/del` — named in its scripts
- `/api/me/photo` — named in its scripts
- `/api/student/finance` — named in its scripts
- `/api/student/follow` — named in its scripts
- `/api/student/gate` — named in its scripts
- `/api/url-token` — named in its scripts
- `/api/video/list` — named in its scripts
- `/api/video/open` — named in its scripts
- `/api/video/progress` — named in its scripts
- `/users/` — named in its scripts
- 200 `/manifest.json` — file · 896 bytes · application/json · Has a web app manifest

## Subdomains of nahrain.app

1 hostname is known under nahrain.app (1 type not recorded).

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| nahrain.app (registered domain, this host) | Web | 104.21.13.194, 172.67.157.77 |  | Cloudflare | 19 Nov 2026 | 19 Nov 2026 |
| www.nahrain.app | not recorded | 104.21.13.194, 172.67.157.77 |  | Cloudflare | 19 Nov 2026 | 19 Nov 2026 |

## Values in the scripts of nahrain.app

186 values are written into the scripts of nahrain.app.

### inline (148)

- `_mismatchReload` = `false`
- `ACCTS_KEY` = `nss_accts`
- `_acctAdding` = `false`
- `_acctRefreshed` = `false`
- `_urlTokAt` = `0`
- `_netDown` = `false`
- `_gmax` = `100`
- `key` = `gmax_`
- `girls` = `false`
- `_filesFilter` = `all`
- `_notifGen` = `0`
- `_filesLoaded` = `false`
- `_financeLoaded` = `false`
- `_attListVisible` = `false`
- `currentTab` = `home`
- `KEY` = `nss_inst_hide`
- `WEEK` = `7`
- `top` = `pdfv, vp`
- `ME_GRACE` = `7`
- `spoke` = `false`
- `stale` = `false`
- `_appBlocked` = `false`
- `BLOCK_MSG` = `حسابك مُغلَق عن التطبيق — راجع إدارة المدرسة`
- `_fgAt` = `0`
- `_fgBusy` = `false`
- `_fgNoticeAt` = `0`
- `_fgFails` = `0`
- `_fgRetryT` = `0`
- `_feeHitAt` = `0`
- `_feeWiped` = `false`
- `shared` = `false`
- `_feeHitT` = `0`
- `none` = `0`
- `HW_TC` = `#E6F4F1, #5FD4C4, #E8EEFD, #8FB0FF, #F0EAFD, #C4A8FF, #FCE8F1, #FF9CC6, #FDEDE4, #FFAE85, #E7F5EC, #7FDB9E`
- `first` = `true`
- `gap` = `false`
- `bmap.samawah` = `فرع السماوة`
- `bmap.babylon` = `فرع بابل`
- `bmap.evening` = `الدراسة المسائية`
- `dur` = `700`
- `TAB_ORDER` = `home, homework, follow, lessons, notifications, finance`
- `_lfSeg` = `lessons`
- `last` = `0`
- `acc` = `0`
- `away` = `false`
- `DL_CACHE` = `nahrain-lessons-v1`
- `DL_GRACE` = `7`
- `got` = `0`
- `bytes` = `0`
- `touched` = `false`
- `_lessonsLoaded` = `false`
- `_ytApiReady` = `false`
- `_vpSaved` = `0`
- `_vpRetried` = `false`
- `SUBJECT_ID.c` = `#4338CA`
- `SUBJECT_ID.d` = `#312E81`
- `SUBJECT_ID.bg` = `#E6E8FF`
- `SUBJECT_ID.i` = `fa-headphones`
- `SUBJECT_ID.c` = `#D97706`
- `SUBJECT_ID.d` = `#92400E`
- `SUBJECT_ID.bg` = `#FFF0DC`
- `SUBJECT_ID.i` = `fa-book-open`
- `SUBJECT_ID.c` = `#7C3AED`
- `SUBJECT_ID.d` = `#5B21B6`
- `SUBJECT_ID.bg` = `#F1E6FF`
- `SUBJECT_ID.i` = `fa-pen-fancy`
- `SUBJECT_ID.c` = `#059669`
- `SUBJECT_ID.d` = `#065F46`
- `SUBJECT_ID.bg` = `#DCF5EA`
- `SUBJECT_ID.i` = `fa-flask`
- `SUBJECT_ID.c` = `#DB2777`
- `SUBJECT_ID.d` = `#9D174D`
- `SUBJECT_ID.bg` = `#FFE3EF`
- `SUBJECT_ID.i` = `fa-a`
- `SUBJECT_ID.c` = `#0E7490`
- `SUBJECT_ID.d` = `#155E75`
- `SUBJECT_ID.bg` = `#DEF2F7`
- `SUBJECT_ID.i` = `fa-eye`
- `status` = `0`
- `_fp.i` = `0`
- `_fp.total` = `0`
- `idx` = `0`
- `_tapN` = `0`
- `PDFJS_V` = `5.4.149`
- `PDFJS_URL` = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/`
- `PDFJS_WRK` = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/`
- `_pdfScale` = `1`
- `_pdfFit` = `1`
- `_pdfBusy` = `false`
- `_viewSkipPop` = `false`
- `_pdfPending` = `false`
- `MINZ` = `0.6`
- `MAXZ` = `4`
- `VP_SPEEDS` = `1, 1.25, 1.5, 0.75`
- `_vpSp` = `0`
- `dur` = `0`
- `total` = `0`
- `pres` = `0`
- `abs` = `0`
- `exc` = `0`
- `present` = `0`
- `absent` = `0`
- `late` = `0`
- `workdays` = `sat, sun, mon, tue, wed, thu`
- `iconColors` = `#2F4156, #2d9d78, #7c3aed, #c68a1a, #c0392b, #567C8D, #0d9488, #0891b2`
- `bgColors` = `#C8D9E6, #e8f7f2, #f0ebff, #fdf6e3, #fdf0ef, #dceaf3, #ccfbf1, #e0f2fe`
- `HW_VID_TTL` = `72`
- `when` = `الأحد, الاثنين, الثلاثاء, الأربعاء, الخميس, الجمعة, السبت`
- `zoom` = `1`
- `lastTap` = `0`
- `DAYS` = `الأحد, الاثنين, الثلاثاء, الأربعاء, الخميس, الجمعة, السبت`
- `MONTHS` = `كانون الثاني, شباط, آذار, نيسان, أيار, حزيران, تموز, آب, أيلول, تشرين الأول, تشرين الثاني, كانون الأول`
- `dots` = `#2F4156, #2d9d78, #567C8D, #c68a1a, #c0392b`
- `subjects` = `all`
- `base` = `notifications/`
- `_lv.audio` = `false`
- `FW_R.ex` = `ممتاز`
- `FW_R.good` = `جيد`
- `FW_MON` = `كانون الثاني, شباط, اذار, نيسان, ايار, حزيران, تموز, اب, ايلول, تشرين الاول, تشرين الثاني, كانون الاول`
- `FW_DAYS` = `الاحد, الاثنين, الثلاثاء, الاربعاء, الخميس, الجمعة, السبت`
- `seen` = `0`
- `CH_HOSTS` = `whatsapp.com, chat.whatsapp.com`
- `_chLeftAt` = `0`
- `SX_ASK` = `false`
- `seen` = `false`
- `key` = `clsname_`
- `PUSH_ENABLED` = `true`
- `PUSH_VAPID` = `BJvU…M1VU`
- `_fcmHooked` = `false`
- `_hashHooked` = `false`
- `card.attendance` = `att-card`
- `_meAt` = `0`
- `_meBusy` = `false`
- `_meMoved` = `false`
- `ME_CLS` = `branchId, classId, attendClassId, major`
- `_sessGone` = `false`
- `_sessAskAt` = `0`
- `_tokDead` = `false`
- `msgSending` = `false`
- `_swHadCtl` = `serviceWorker`
- `_updReady` = `false`
- `_updTouched` = `false`
- `_updResumed` = `0`
- `_updLast` = `0`
- `_startY` = `0`
- `_pulling` = `false`
- `_refreshing` = `false`
- `SUPPORT_WA` = `9647832078302`

### nahrain.app/idcard.js (7)

- `INK` = `#1F2937`
- `MUTED` = `#6B7280`
- `LINE` = `#E7E9EE`
- `font.d` = `Noto Kufi Arabic`
- `PIN` = `M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z M12 7a2.5 2.5 0 1 0 0 5a2.5 2.5 0 1 0 0-5`
- `TEL` = `M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z`
- `rows` = `d.code || , true, true]`

### nahrain.app/me.js (22)

- `ME_AVS` = `fa-laptop-code, #2563EB, #4F46E5, fa-shield-halved, #1E3A8A, #7C3AED, fa-screwdriver-wrench, #0F766E, #0891B2, fa-microchip, #0E7490, #22D3EE`
- `ME_THS` = `الكحليّ, #2F4156, الأخضر, #1F5F45, البنفسجيّ, #4B3A8C, الورديّ, #8C3A62, الليليّ, #0E1726`
- `ME_BR.samawah` = `فرع السماوة`
- `ME_BR.babylon` = `فرع بابل`
- `ME_BR.evening` = `الدراسة المسائية`
- `ME_CROP.z` = `1`
- `ME_CROP.cx` = `0`
- `ME_BUSY` = `false`
- `ME_PH_KEY` = `nss_ph`
- `IDC_SIDE` = `front`
- `IDC_BUSY` = `false`
- `IDC_CROP.z` = `1`
- `IDC_CROP.cx` = `0`
- `IDC_RATIO` = `1`
- `stageLbl` = `المرحلة`
- `_idcDrawN` = `0`
- `IDC_CHK.dark` = `55`
- `IDC_CHK.bright` = `238`
- `IDC_CHK.blur` = `90`
- `IDC_CHK.qthresh` = `1`
- `IDC_CHK.minFace` = `0.4`
- `sum` = `0`

### nahrain.app/honor.js (4)

- `LSK` = `nss_honor_`
- `all` = `H.top`
- `closing` = `false`
- `tries` = `0`

### nahrain.app/steps.js (4)

- `LATER` = `nss_steps_later`
- `REP` = `nss_dev_rep`
- `sup` = `false`
- `painting` = `false`

### nahrain.app/whatsnew.js (1)

- `SEEN` = `nss_wn_seen_`

## Third parties and requests of nahrain.app

4 third-party domains receive requests from the page. The page made 24 requests; 7 went to them and 17 stayed on first-party hosts. 8 domains are named in the page or its scripts without being requested.

Receives requests (4 domains · 7 requests):

- cdnjs.cloudflare.com — cdnjs · libraries from a public CDN — 1 stylesheet request
- challenges.cloudflare.com — Cloudflare · scripts the CDN adds — 3 requests: 1 xhr, 1 script, 1 document
- fonts.googleapis.com — Google Fonts · web fonts and icons — 1 stylesheet request
- www.gstatic.com — 2 script requests

First-party hosts seen (17 requests): nahrain.app

Named in the page, not requested (8 domains): challenges-staging.cloudflare.com, challenges.cloudflare-cn.com, challenges.fed.cloudflare.com, fcmregistrations.googleapis.com, firebaseinstallations.googleapis.com, static.cloudflareinsights.com, wa.me, www.youtube.com

### Services used (as of 19 Nov 2026)

- Scripts the CDN adds: Cloudflare (bot check, Turnstile)
- Libraries from a public CDN: Font Awesome 6.4.0 (cdnjs.cloudflare.com)
- Web fonts and icons: Google Fonts

## Scripts and behaviour of nahrain.app

Scripts: api.js, firebase-app-compat.js, firebase-messaging-compat.js, honor.js, idcard.js, me.js, steps.js, whatsnew.js

Technology:

- Cloudflare
- Cloudflare Turnstile
- Google Fonts
- WhatsApp contact link

## Network and DNS of nahrain.app

- In front: Cloudflare
- Header server: `cloudflare`
- Header alt-svc: `h3=":443"; ma=86400`
- Header content-type: `text/html`
- Header cache-control: `public, max-age=0, must-revalidate`
- Header cf-cache-status: `HIT`
- Header Referrer-Policy: `strict-origin-when-cross-origin`
- Header X-Frame-Options: `DENY`
- Header content-encoding: `zstd`
- Header Permissions-Policy: `camera=(), microphone=(), geolocation=()`
- Header X-Content-Type-Options: `nosniff`
- Header Content-Security-Policy: `default-src 'self'; script-src 'self' 'unsafe-inline' https://challenges.cloudflare.com https://www.gstatic.com https://cdnjs.cloudflare.com https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' data: blob: https://chart.googleapis.com https://flagcdn.com https://firebasestorage.googleapis.com; connect-src 'self' blob: https://challenges.cloudflare.com https://*.firebaseio.com wss://*.firebaseio.com https://*.googleapis.com https://*.firebasestorage.app https://api.telegram.org https://api.callmebot.com https://identitytoolkit.googleapis.com https://cdnjs.cloudflare.com https://fonts.googleapis.com https://fonts.gstatic.com; media-src 'self' blob:; worker-src 'self' blob: https://cdnjs.cloudflare.com; frame-src https://challenges.cloudflare.com; object-src 'none';`
- Header Strict-Transport-Security: `max-age=31536000; includeSubDomains`

## Related hosts of nahrain.app

- More than 20 hosts look like it above the fold: [djinn.divergen.net](https://xpaling.com/host/djinn.divergen.net), [sleep.gamekreatif.web.id](https://xpaling.com/host/sleep.gamekreatif.web.id), [signin.tryatomiq.com](https://xpaling.com/host/signin.tryatomiq.com), [www.actuallyengland.com](https://xpaling.com/host/www.actuallyengland.com), [www.haihospitality.feedbackmarqii.com](https://xpaling.com/host/www.haihospitality.feedbackmarqii.com), [app.maremoto.health](https://xpaling.com/host/app.maremoto.health) and 14 more (djinn.divergen.net 92% · sleep.gamekreatif.web.id 92% · signin.tryatomiq.com 92%) — first seen 19 Nov 2026

## Scan history of nahrain.app

### Record

- Cite: xpaling, nahrain.app, 19 Nov 2026, https://xpaling.com/host/nahrain.app
- This record as Markdown: https://xpaling.com/host/nahrain.app.md · JSON: https://xpaling.com/host/nahrain.app.json
- Latest report (19 Nov 2026): https://xpaling.com/host/nahrain.app/rep/hj6rta52bw · https://xpaling.com/host/nahrain.app/rep/hj6rta52bw.md · https://xpaling.com/host/nahrain.app/rep/hj6rta52bw.json
- Submitted URL: https://nahrain.app/
- Archive: desktop screenshot https://xpaling.com/i/nahrain.app/2026-11-19-a8827f70c5bbefd9f5ffab6d60fe1227817a6078a4ea014f5cd6fd834c72a82c.webp · phone screenshot https://xpaling.com/i/nahrain.app/2026-11-19-d6142514172da57e360244f79a134ef026961415fe5db1d6046f69d90937dbfc.webp · OG https://xpaling.com/og/hj6rta52bw.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
