# oj.ustc.edu.cn

## In short (as of 27 Nov 2026)

oj.ustc.edu.cn is a website titled “Home - USTC-OJ”, linking to terms and a privacy policy.

- The page names Complaint as its operator.
- Hosted on AS4538 China Education and Research Network Center, certificate from ZeroSSL GmbH.
- Mail for ustc.edu.cn is received by its own mail servers.
- It loads 3 scripts, which name 2 API endpoints on this host and refer to hydro.js.org.
- Observed once, on 27 Nov 2026.

The public xpaling record of oj.ustc.edu.cn: 1 observation since 27 Nov 2026. Page: https://xpaling.com/host/oj.ustc.edu.cn

## Found and changed on oj.ustc.edu.cn
Timeline (1 observation, newest first)

- **27 Nov 2026** — [report](https://xpaling.com/host/oj.ustc.edu.cn/rep/ntmr2jhzww) — “Home - USTC-OJ” · First observation · 4 findings

## Findings of oj.ustc.edu.cn
Findings (as of 27 Nov 2026)

- robots.txt points at 1 admin/backup-style path. [https://oj.ustc.edu.cn/robots.txt](https://oj.ustc.edu.cn/robots.txt) lists: /manage/. — first seen 27 Nov 2026
    What to do: Disallow lines are public and do not protect a path; protect those paths with authentication.
- 1 JavaScript source map referenced in production — first seen 27 Nov 2026
    - https://oj.ustc.edu.cn/hydro-4.58.4.js.map?edba42
    What to do: Do not ship .map files or sourceMappingURL comments to production; they expose original source code.
- The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy (Strict-Transport-Security max-age=604800) — first seen 27 Nov 2026
  What to do: Send the missing headers from the server or the CDN, starting with Strict-Transport-Security and Content-Security-Policy.

1 more common finding, each seen on a quarter or more of the hosts xpaling has observed (share as of 6 Dec 2026), not specific to this host:

- 1 subdomain named like admin, staging or database hosts resolves (on 26% of observed hosts) What to do: Put management and staging hosts behind VPN or IP allow-lists, or remove their public DNS records.

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

- The homepage makes no third-party request before any click (10 requests, all to its own domain) — first seen 27 Nov 2026
- 3 scripts: 3 first-party (first-party: oj.ustc.edu.cn/resource/f65c51ff/entry.… 7173ee99 · oj.ustc.edu.cn/resource/4.58.4/lang-en.… 1bb287c5) — first seen 27 Nov 2026
- 2 API endpoints appear in the page's requests and scripts (/login · /register) — first seen 27 Nov 2026
- 173 values are written into the page's scripts (UiContext = "{cdn_prefix:/…" · UserContext = "{_id:0,mail…" · UiContextNew = "{}") — first seen 27 Nov 2026
- Scripts reference open-source repositories [github.com/hydro-dev/hydro](https://xpaling.com/repo/github.com%2Fhydro-dev%2Fhydro), [github.com/zloirock/core-js](https://xpaling.com/repo/github.com%2Fzloirock%2Fcore-js) (2 repositories) — first seen 27 Nov 2026
- Technology: [nginx-n.wtf 1.31.9](https://xpaling.com/tech/nginx-n.wtf), [Nginx](https://xpaling.com/tech/nginx) (header server: nginx-n.wtf/1.31.9 · header server: nginx) — first seen 27 Nov 2026
- The certificate is issued by [ZeroSSL GmbH](https://xpaling.com/cert/442f36e7f552fed0fdfd04583135044e3984637795b49677f7238b82f10936e0), valid until 27 Dec 2026, TLS 1.3 (SAN 1 · oj.ustc.edu.cn · 442f36e7f552…) — first seen 27 Nov 2026
- IP [202.38.75.226](https://xpaling.com/ip/202.38.75.226) belongs to [AS4538 China Education and Research Network Center](https://xpaling.com/asn/4538), with no CDN / WAF in front (202.38.64.0/19 · RPKI unknown · 24 upstreams) — first seen 27 Nov 2026
- NS hosted by the domain itself (mx.ustc.edu.cn, ns.ustc.edu.cn), no CAA record, DNSSEC signed (apex A 202.38.64.246 · TXT Microsoft 365, Google (Search Console / Workspace)) — first seen 27 Nov 2026
- Mail is received via its own mail servers; SPF authorises 12 address ranges to send (-all); DMARC p=quarantine; DKIM selectors dkim, k2 (MX smtp.ustc.edu.cn · v=spf1 ip4:202.38.64.8 ip4:202.38.64.16 ip4:202.38.64.46 ip4:210.45.120.152… · v=DMARC1; p=quarantine; rua=mailto:postmaster@ustc.edu.cn) — first seen 27 Nov 2026
- robots.txt has 1 group and 20 Disallow lines (/manage/) — first seen 27 Nov 2026
- The page gives the contact github.com/hydro-dev/Hydro — first seen 27 Nov 2026
- Served over h2, first byte in 212 ms, 289 KB in total, zstd compressed, server nginx-n.wtf/1.31.9 (connect 125 ms · TLS 69 ms · 10 requests) — first seen 27 Nov 2026

## Endpoints, routes and files on oj.ustc.edu.cn

- `/login` — named in its scripts
- `/register` — named in its scripts
- 200 `/robots.txt` — file · 444 bytes · text/plain · robots.txt

## Hostnames under ustc.edu.cn

The hostnames of ustc.edu.cn are listed on the page of app.ustc.edu.cn: https://xpaling.com/host/app.ustc.edu.cn#subdomains. This host's own row is below.

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| oj.ustc.edu.cn (this host) | Web | 202.38.75.226 | vlab.ustc.edu.cn |  | 27 Nov 2026 | 29 Nov 2026 |

## Values in the scripts of oj.ustc.edu.cn

173 values are written into the scripts of oj.ustc.edu.cn.

### inline (4)

- `UiContext` = `{"cdn_prefix":"/","cdn_dynamic":false,"url_prefix":"/","ws_prefix":"/","constantVersion":"f65c51ff","domainId":"system","domainVersion":1795803529044,"SWConfig":{"preload":"","hosts":["http://oj.ustc.edu.cn","https://oj.ustc.edu.cn","https…`
- `UserContext` = `{"_id":0,"mail":"Guest@hydro.local","uname":"Guest","hashType":"hydro","priv":8,"regat":"2023-12-01T07:24:45.283Z","loginat":"2023-12-01T07:24:45.283Z","perm":"BigInt::1333730588222048731841","role":"guest","scope":"BigInt::-1","tfa":false…`
- `UiContextNew` = `{}`
- `UserContextNew` = `{}`

### oj.ustc.edu.cn/resource/f65c51ff/entry.js (52)

- `lazyloadMetadata.js` = `ea8d42af`
- `lazyloadMetadata.js` = `b144b64b`
- `lazyloadMetadata.js` = `7da204fe`
- `lazyloadMetadata.js` = `7362ecd4`
- `LANGS.compile` = `/usr/bin/gcc -Wall --std=c99 -o foo foo.c -lm -O2`
- `LANGS.highlight` = `c`
- `LANGS.monaco` = `c`
- `LANGS.display` = `C`
- `LANGS.time_limit_rate` = `1`
- `LANGS.memory_limit_rate` = `1`
- `LANGS.code_file` = `foo.c`
- `LANGS.execute` = `/w/foo`
- `LANGS.key` = `c`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++14 -o foo foo.cc -lm -I/include`
- `LANGS.code_file` = `foo.cc`
- `LANGS.highlight` = `cpp`
- `LANGS.monaco` = `cpp`
- `LANGS.display` = `C++`
- `LANGS.process_limit` = `1`
- `LANGS.key` = `cc`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++98 -o foo foo.cc -lm -I/include`
- `LANGS.display` = `C++98`
- `LANGS.key` = `cc.cc98`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++98 -o foo foo.cc -lm -O2 -I/include`
- `LANGS.display` = `C++98(O2)`
- `LANGS.key` = `cc.cc98o2`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++11 -o foo foo.cc -lm -I/include`
- `LANGS.display` = `C++11`
- `LANGS.key` = `cc.cc11`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++11 -o foo foo.cc -lm -O2 -I/include`
- `LANGS.display` = `C++11(O2)`
- `LANGS.key` = `cc.cc11o2`
- `LANGS.display` = `C++14`
- `LANGS.key` = `cc.cc14`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++14 -o foo foo.cc -lm -O2 -I/include`
- `LANGS.display` = `C++14(O2)`
- `LANGS.key` = `cc.cc14o2`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++17 -o foo foo.cc -lm -I/include`
- `LANGS.display` = `C++17`
- `LANGS.key` = `cc.cc17`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++17 -o foo foo.cc -lm -O2 -I/include`
- `LANGS.display` = `C++17(O2)`
- `LANGS.key` = `cc.cc17o2`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++20 -o foo foo.cc -lm -I/include`
- `LANGS.display` = `C++20`
- `LANGS.key` = `cc.cc20`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++20 -o foo foo.cc -lm -O2 -I/include`
- `LANGS.display` = `C++20(O2)`
- `LANGS.key` = `cc.cc20o2`
- `LANGS.compile` = `/usr/bin/g++ -Wall -std=c++23 -o foo foo.cc -lm -I/include`
- `LANGS.display` = `C++23`
- `LANGS.key` = `cc.cc23`

### oj.ustc.edu.cn/resource/4.58.4/lang-en.js (117)

- `LOCALES.__flag` = `🇬🇧`
- `LOCALES.__id` = `en`
- `LOCALES.__interface` = `yes`
- `LOCALES.__langname` = `English`
- `LOCALES.For` = `Extension`
- `LOCALES.contest_create` = `Contest Create`
- `LOCALES.contest_detail_problem_submit` = `Submit Contest Problem`
- `LOCALES.contest_detail_problem` = `Problem Detail`
- `LOCALES.contest_detail` = `Contest Detail`
- `LOCALES.contest_edit` = `Contest Edit`
- `LOCALES.contest_main` = `Contest`
- `LOCALES.contest_manage` = `Contest Management`
- `LOCALES.contest_print` = `Print`
- `LOCALES.contest_problemlist` = `Problem List`
- `LOCALES.contest_scoreboard` = `Scoreboard`
- `LOCALES.contest_user` = `Attendee Manage`
- `LOCALES.discussion_create` = `Create Discussion`
- `LOCALES.discussion_detail` = `Discussion Detail`
- `LOCALES.discussion_edit` = `Discussion Edit`
- `LOCALES.discussion_main` = `Discussion`
- `LOCALES.discussion_node` = `Discussion`
- `LOCALES.display_name` = `Display Name`
- `LOCALES.domain_create` = `Create Domain`
- `LOCALES.domain_dashboard` = `Dashboard`
- `LOCALES.domain_discussion` = `Discussion Nodes`
- `LOCALES.domain_edit` = `Edit Info`
- `LOCALES.domain_group` = `Manage Groups`
- `LOCALES.domain_join_applications` = `Join Applications`
- `LOCALES.domain_main` = `Main`
- `LOCALES.domain_permission` = `System Permission`
- `LOCALES.domain_role` = `System Role`
- `LOCALES.domain_user` = `System User`
- `LOCALES.fs_upload` = `File Upload`
- `LOCALES.home_account` = `Account Settings`
- `LOCALES.home_domain_account` = `Profile @ Domain`
- `LOCALES.home_domain_create` = `Create Domain`
- `LOCALES.home_domain` = `My Domains`
- `LOCALES.home_messages` = `Messages`
- `LOCALES.home_preference` = `Preference`
- `LOCALES.home_security` = `Security`
- `LOCALES.homepage` = `Home`
- `LOCALES.homework_create` = `Homework Create`
- `LOCALES.homework_detail_problem_submit` = `Submit Homework Problem`
- `LOCALES.homework_edit` = `Homework Edit`
- `LOCALES.homework_main` = `Homework`
- `LOCALES.homework_scoreboard` = `Scoreboard`
- `LOCALES.judge_playground` = `Judge Playground`
- `LOCALES.main` = `Home`
- `LOCALES.manage_config` = `System Configurations`
- `LOCALES.manage_dashboard` = `System`
- `LOCALES.manage_module` = `Module Management`
- `LOCALES.manage_script` = `Scripts`
- `LOCALES.manage_setting` = `System Settings`
- `LOCALES.manage_user_import` = `Import Users`
- `LOCALES.manage_user_priv` = `User Privilege`
- `LOCALES.manage` = `System Manage`
- `LOCALES.show_category` = `Click to Show`
- `LOCALES.invalid_when_not_enrolled` = `You cannot view problem details unless enrolled.`
- `LOCALES.see_other_user_detail` = `You are viewing user {0} training details.`
- `LOCALES.pager_first` = `« First`
- `LOCALES.pager_last` = `Last »`
- `LOCALES.pager_next` = `Next ›`
- `LOCALES.pager_previous` = `‹ Previous`
- `LOCALES.perm_contest` = `Contests`
- `LOCALES.perm_discussion` = `Discussions`
- `LOCALES.perm_general` = `General`
- `LOCALES.perm_homework` = `Homework`
- `LOCALES.perm_problem_solution` = `Problem Solutions`
- `LOCALES.perm_problem` = `Problems`
- `LOCALES.perm_ranking` = `Ranking`
- `LOCALES.perm_record` = `Records`
- `LOCALES.perm_training` = `Trainings`
- `LOCALES.problem_create` = `Problem Create`
- `LOCALES.problem_detail` = `Problem Detail`
- `LOCALES.problem_edit` = `Problem Edit`
- `LOCALES.problem_files` = `Problem Files`
- `LOCALES.problem_hack` = `Hack`
- `LOCALES.problem_import` = `Import Problem`
- `LOCALES.problem_main` = `Problem Set`
- `LOCALES.problem_solution` = `Problem Solution`
- `LOCALES.problem_statistics` = `Problem Statistics`
- `LOCALES.problem_submit` = `Problem Submit`
- `LOCALES.problem-category-delim` = `|`
- `LOCALES.problem-subcategory-delim` = `,`
- `LOCALES.additional_file` = `## Additional Files`
- `LOCALES.hint` = `## Hint`
- `LOCALES.input_format` = `## Input Format`
- `LOCALES.limit_and_hint` = `## Limits`
- `LOCALES.output_format` = `## Output Format`
- `LOCALES.problem_description` = `## Description`
- `LOCALES.ranking` = `Ranking`
- `LOCALES.record_detail` = `Record Detail`
- `LOCALES.record_main` = `Record`
- `LOCALES.setting_customize` = `Customize`
- `LOCALES.setting_display` = `Display Preference`
- `LOCALES.setting_function` = `Function`
- `LOCALES.setting_info_domain` = `Personal Info`
- `LOCALES.setting_info` = `Personal Info`
- `LOCALES.setting_preference` = `Preference`
- `LOCALES.setting_privacy` = `Privacy`
- `LOCALES.setting_server` = `Server Settings`
- `LOCALES.setting_session` = `Session Settings`
- `LOCALES.setting_smtp` = `SMTP Settings`
- `LOCALES.setting_usage` = `Usage Preference`
- `LOCALES.timeago_locale` = `en_US`
- `LOCALES.training_create` = `Training Create`
- `LOCALES.training_detail` = `Training Detail`
- `LOCALES.training_edit` = `Training Edit`
- `LOCALES.training_main` = `Training`
- `LOCALES.user_detail` = `User Detail`
- `LOCALES.user_login` = `Login`
- `LOCALES.user_logout` = `Logout`
- `LOCALES.user_lostpass` = `Lost Password`
- `LOCALES.user_register` = `Register`
- `LOCALES.user_sudo` = `Entering Sudo Mode`
- `LOCALES.wiki_about` = `About`
- `LOCALES.wiki_help` = `Help`

## Third parties and requests of oj.ustc.edu.cn

3 domains are named in the page or its scripts without being requested.

Named in the page, not requested (3 domains): github.com, google.cn, hydro.js.org

## Scripts and behaviour of oj.ustc.edu.cn

Scripts: entry.js, hydro-4.58.4.js, lang-en.js

Repositories:

- github.com/hydro-dev/hydro — in https://oj.ustc.edu.cn/
- github.com/zloirock/core-js — in hydro-4.58.4.js

Technology:

- nginx-n.wtf 1.31.9
- Nginx

## Network and DNS of oj.ustc.edu.cn

- Address: 202.38.75.226 in AS4538 China Education and Research Network Center · prefix 202.38.64.0/19 · RPKI unknown · 24 upstreams
- Apex ustc.edu.cn (the registered domain): A 202.38.64.246
- www.ustc.edu.cn (of ustc.edu.cn): A 218.104.71.168
- Name servers (of ustc.edu.cn): mx.ustc.edu.cn, ns.ustc.edu.cn · DNSSEC signed
- CAA (of ustc.edu.cn): no CAA record
- Verified with (TXT records of ustc.edu.cn): Microsoft 365, Google (Search Console / Workspace)
- Takeover: none: every CNAME target resolves
- Header via: `1.1 Caddy`
- Header vary: `Accept-Encoding`
- Header server: `nginx-n.wtf/1.31.9`
- Header content-type: `text/html; charset=utf-8`
- Header content-encoding: `zstd`
- Header Strict-Transport-Security: `max-age=604800`

## Mail for ustc.edu.cn

- MX: smtp.ustc.edu.cn
- SPF: v=spf1 ip4:202.38.64.8 ip4:202.38.64.16 ip4:202.38.64.46 ip4:210.45.120.152 ip4:202.141.161.73 ip4:195.128.10.69 ip4:199.168.14.54 ip4:202.141.163.236 ip4:205.201.128.18 ip4:210.45.71.12 ip4:195.128.10.18 ip4:195.128.10.15 -all
- DMARC: v=DMARC1; p=quarantine; rua=mailto:postmaster@ustc.edu.cn
- DKIM: dkim, k2

## Domain and certificate of oj.ustc.edu.cn

- Certificate: ZeroSSL GmbH · valid until 27 Dec 2026 · covers oj.ustc.edu.cn

## Related hosts of oj.ustc.edu.cn

- [bbs.vlab.ustc.edu.cn](https://xpaling.com/host/bbs.vlab.ustc.edu.cn), [file.vlab.ustc.edu.cn](https://xpaling.com/host/file.vlab.ustc.edu.cn) all CNAME to [vlab.ustc.edu.cn](https://xpaling.com/cname/vlab.ustc.edu.cn) (not a public SaaS or CDN target) (2 hosts) — first seen 27 Nov 2026
- 892 other hosts in [AS4538 China Education and Research Network Center](https://xpaling.com/asn/4538); 153,183 receiving mail via [its own mail servers](https://xpaling.com/mail/self-hosted); 2 other hosts on IP [202.38.75.226](https://xpaling.com/ip/202.38.75.226) — first seen 27 Nov 2026
- More than 20 hosts look like it above the fold: [gang.com.br](https://xpaling.com/host/gang.com.br), [www.getfundedhomeequity.com](https://xpaling.com/host/www.getfundedhomeequity.com), [rrsystems.co](https://xpaling.com/host/rrsystems.co), [www.skuma-consulting.com](https://xpaling.com/host/www.skuma-consulting.com), [getfundedhomeequity.com](https://xpaling.com/host/getfundedhomeequity.com), [evroatlantski.net](https://xpaling.com/host/evroatlantski.net) and 14 more (gang.com.br 100% · www.getfundedhomeequity.com 100% · rrsystems.co 100%) — first seen 27 Nov 2026
- Technology [Nginx N.wtf](https://xpaling.com/tech/nginx-n.wtf) is also on [bbs.vlab.ustc.edu.cn](https://xpaling.com/host/bbs.vlab.ustc.edu.cn), [file.vlab.ustc.edu.cn](https://xpaling.com/host/file.vlab.ustc.edu.cn) (3 hosts in all)
- The bundled library [github.com/hydro-dev/hydro](https://xpaling.com/repo/github.com%2Fhydro-dev%2Fhydro) is also on [tnoi.cn](https://xpaling.com/host/tnoi.cn), [blog.starrah.cn](https://xpaling.com/host/blog.starrah.cn) (3 hosts in all)

## Scan history of oj.ustc.edu.cn

### Record

- Cite: xpaling, oj.ustc.edu.cn, 27 Nov 2026, https://xpaling.com/host/oj.ustc.edu.cn
- This record as Markdown: https://xpaling.com/host/oj.ustc.edu.cn.md · JSON: https://xpaling.com/host/oj.ustc.edu.cn.json
- Latest report (27 Nov 2026): https://xpaling.com/host/oj.ustc.edu.cn/rep/ntmr2jhzww · https://xpaling.com/host/oj.ustc.edu.cn/rep/ntmr2jhzww.md · https://xpaling.com/host/oj.ustc.edu.cn/rep/ntmr2jhzww.json
- Submitted URL: https://oj.ustc.edu.cn/
- Archive: desktop screenshot https://xpaling.com/i/oj.ustc.edu.cn/2026-11-27-863aaaad79f64800e5b2e4b7463bf291c664dc1308d92f6b5790a64235cb4598.webp · phone screenshot https://xpaling.com/i/oj.ustc.edu.cn/2026-11-27-f0b9200682944542af35a0e8f5ce06b6ba8ed766cef3f552f9c780b8e5d8bd27.webp · OG https://xpaling.com/og/ntmr2jhzww.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
