# codeofchina.com

## In short (as of 26 Nov 2026)

codeofchina.com is a website titled “Code of China”, linking to terms and a privacy policy.

- Hosted on AS16509 Amazon.com, Inc., certificate from DigiCert Inc.
- The domain was registered on 30 Oct 2008 through Xin Net Technology Corporation.
- Mail is received via Amazon SES.
- It loads 10 scripts, which name 1 API endpoint on this host and 1 endpoint on another host and refer to 10 other domains.
- It loads 7 third-party domains, among them googleads.g.doubleclick.net, stats.g.doubleclick.net, www.google.com and 4 more.
- Observed once, on 26 Nov 2026.

The public xpaling record of codeofchina.com: 1 observation since 26 Nov 2026. Page: https://xpaling.com/host/codeofchina.com

## Found and changed on codeofchina.com
Timeline (1 observation, newest first)

- **26 Nov 2026** — [report](https://xpaling.com/host/codeofchina.com/rep/976npgcfqj) — “Code of China” · First observation · 6 findings

## Findings of codeofchina.com
Findings (as of 26 Nov 2026)

- Google Analytics measurement ID. Google Analytics property [G-EGL6P1H1FZ](https://xpaling.com/ga/G-EGL6P1H1FZ) is set in the response of http://codeofchina.com/ itself (text/html). — first seen 26 Nov 2026
    What to do: Nothing to change if the property is yours; load analytics only after consent where the law asks for it.
- The page posts data to another domain, [www.google.com](https://xpaling.com/host/www.google.com), before any click (POST www.google.com/ccm/collect?…(20) · empty body · 1.92 s) — first seen 26 Nov 2026
  What to do: Send data to other domains only after the visitor has agreed to it, and load the tags that send it only then.
- The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy, Strict-Transport-Security (none of the six security headers) — first seen 26 Nov 2026
  What to do: Send the missing headers from the server or the CDN, starting with Strict-Transport-Security and Content-Security-Policy.
- Of 5 cookies, 4 lack Secure and 4 lack HttpOnly (without Secure: forward_session_id, _gcl_au, _ga, _ga_EGL6P1H1FZ · without HttpOnly: forward_session_id, _gcl_au, _ga, _ga_EGL6P1H1FZ) — first seen 26 Nov 2026
  What to do: Set Secure on every cookie, and HttpOnly on every cookie that scripts do not need to read.
- 38 values are written into the page's scripts, 1 of them named like secrets and shown masked (siteBase = "https://codeofchina.com" · location = "../" · kid = "f") — first seen 26 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.

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

- Server accepts a legacy TLS version (on 27% of observed hosts) What to do: Disable TLS 1.0/1.1; allow TLS 1.2+ only.

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

- The homepage contacts 7 third-party domains before any click: [googleads.g.doubleclick.net](https://xpaling.com/host/googleads.g.doubleclick.net), [stats.g.doubleclick.net](https://xpaling.com/thirdparty/stats.g.doubleclick.net), [www.google.com](https://xpaling.com/host/www.google.com), www.google.EU, [www.googletagmanager.com](https://xpaling.com/host/www.googletagmanager.com), [ad.doubleclick.net](https://xpaling.com/host/ad.doubleclick.net), [analytics.google.com](https://xpaling.com/host/analytics.google.com) (11 requests to third parties · www.google.EU 3 · www.googletagmanager.com 3 · googleads.g.doubleclick.net 2) — first seen 26 Nov 2026
- 10 scripts: 5 first-party, 5 from known services (first-party: codeofchina.com/fbase/ws.js 701c8bdd · codeofchina.com/fbase/fcommon.js e0b139d1) — first seen 26 Nov 2026
- 2 API endpoints appear in the page's requests and scripts (www.google.com/ccm/collect · //service) — first seen 26 Nov 2026
- Technology: [Java (Servlet)](https://xpaling.com/tech/java-servlet) (cookie: JSESSIONID=) — first seen 26 Nov 2026
- The certificate is issued by [DigiCert Inc](https://xpaling.com/cert/25d4cee484c84b3f94f7fd9013fe84e5786a9561f655c517cb2b3875f6f00d19), valid until 17 Apr 2027, TLS 1.3 (SAN 2 · codeofchina.com, www.codeofchina.com · 25d4cee484c8…) — first seen 26 Nov 2026
- IP [54.187.63.132](https://xpaling.com/ip/54.187.63.132) belongs to [AS16509 Amazon.com, Inc.](https://xpaling.com/asn/16509), with no CDN / WAF in front (54.176.0.0/12 · RPKI valid) — first seen 26 Nov 2026
- The addresses are on [Amazon Web Services'](https://xpaling.com/asn/16509) network: DDoS protection included, WAF optional, platform-level protection with no published figure (AWS Shield Standard); routing: prefix 54.176.0.0/12 has a valid RPKI ROA (aws.amazon.com/shield/features/) — first seen 26 Nov 2026
- Name servers ns11.edong.com, ns12.edong.com, no CAA record, DNSSEC not signed (apex A 54.187.63.132) — first seen 26 Nov 2026
- Mail is received via [Amazon SES](https://xpaling.com/mail/amazon-ses); SPF authorises Amazon SES to send (~all); DMARC p=quarantine (MX inbound-smtp.us-west-2.amazonaws.com · v=spf1include:amazonses.com~all · v=DMARC1;p=quarantine;pct=100;fo=1) — first seen 26 Nov 2026
- Domain codeofchina.com was registered on 30 Oct 2008 through [Xin Net Technology Corporation](https://xpaling.com/registrar/xin-net-technology-corporation), expires 30 Oct 2034 (active · changed 21 May 2025) — first seen 26 Nov 2026
- robots.txt has 1 group — first seen 26 Nov 2026
- The page gives the contact coc@codeofchina.com — first seen 26 Nov 2026
- The page carries the identifier [GA G-EGL6P1H1FZ](https://xpaling.com/ga/G-EGL6P1H1FZ) — first seen 26 Nov 2026
- Served over http/1.1, first byte in 668 ms, 678 KB in total (connect 499 ms · TLS 335 ms · 28 requests) — first seen 26 Nov 2026

## Endpoints, routes and files on codeofchina.com

- POST `//service` — seen at run time
- 200 `/robots.txt` — file · 25 bytes · text/txt · robots.txt

1 endpoint on another host, called by this page:

- POST `www.google.com/ccm/collect` — seen at run time

## Subdomains of codeofchina.com

1 hostname is known under codeofchina.com (1 type not recorded).

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| codeofchina.com (registered domain, this host) | Web | 54.187.63.132 |  |  | 26 Nov 2026 | 26 Nov 2026 |
| www.codeofchina.com | not recorded | 54.187.63.132 |  |  | 26 Nov 2026 | 26 Nov 2026 |

## Values in the scripts of codeofchina.com

38 values are written into the scripts of codeofchina.com.

### inline (2)

- `siteBase` = `https://codeofchina.com`
- `location` = `../`

### codeofchina.com/fbase/ws.js (5)

- `kid` = `f`
- `params` = `&s0=`
- `ftoken` = `ft_e…8888`
- `params` = `&s0=0&s1=0`
- `xmlhttp` = `false`

### codeofchina.com/fbase/fcommon.js (10)

- `dTag` = `@data(`
- `cNames` = ``
- `dId` = `wade_comfirm_dialog`
- `first` = `true`
- `bpadding` = `10px 20px 10px 20px`
- `dId` = `wade_message_dialog`
- `wwidth` = `1024`
- `indexCode` = `#index()`
- `ftag` = `#item(`
- `cols` = `1`

### codeofchina.com/fbase/mart.js (13)

- `mart.part` = `true`
- `index` = `-1`
- `ctime` = `0`
- `count` = `100`
- `width` = `300px`
- `indexCode` = `#item(`
- `index` = `3`
- `ismenu` = `false`
- `ccode` = `story17`
- `aps` = `mcode=`
- `crs` = `true`
- `mlen` = `0`
- `cindex` = `-1`

### codeofchina.com/index/handler.js (1)

- `location` = `/login/default.html?keyword=`

### codeofchina.com/user/handler.js (7)

- `rate1` = `0`
- `rate2` = `0`
- `olduser` = `false`
- `total` = `0`
- `rate` = `1`
- `brs` = `0`
- `cost` = `0`

## Cookies and storage of codeofchina.com

- Cookie `JSESSIONID` (32 characters) — codeofchina.com · Secure · HttpOnly · no SameSite · session
- Cookie `forward_session_id` (32 characters) — codeofchina.com · not Secure · not HttpOnly · no SameSite · persistent
- Cookie `_gcl_au` (24 characters) — .codeofchina.com · not Secure · not HttpOnly · no SameSite · persistent
- Cookie `_ga` (27 characters) — .codeofchina.com · not Secure · not HttpOnly · no SameSite · persistent
- Cookie `_ga_EGL6P1H1FZ` (45 characters) — .codeofchina.com · not Secure · not HttpOnly · no SameSite · persistent
- Local storage `_gcl_ls` = `{"schema":"gcl","version":1,"gcl_ctr":{"value":{"value":0,"timeouts":0,"errors":0,"eopCount":0,"creationTimeMs":1795665645757},"expires":1803441645757},"last_convs":{"value":[],"expires":1803441645759},"gsid_dc":{"value":{"joinId":"prTo-d5eEoJcB7STIbiPcF2Rd_fetsbBLw","lastJoinedTimeMs":1795665645767`

## Third parties and requests of codeofchina.com

7 third-party domains receive requests from the page. The page made 28 requests; 13 went to them and 15 stayed on first-party hosts. 10 domains are named in the page or its scripts without being requested.

Receives requests (7 domains · 13 requests):

- googleads.g.doubleclick.net — Google Ads · advertising — 2 script requests
- stats.g.doubleclick.net — Google Ads · advertising — 1 ping POST
- www.google.com — 2 image requests
- www.google.EU — 3 image requests
- www.googletagmanager.com — Google Tag Manager · tag manager — 3 script requests
- ad.doubleclick.net — Google Ads · advertising — 1 POST
- analytics.google.com — Google Analytics · analytics — 1 POST

First-party hosts seen (15 requests): codeofchina.com

Named in the page, not requested (10 domains): ad.doubleclick.net, ade.googlesyndication.com, adservice.google.com, cct.google, m.youtube.com, pagead2.googlesyndication.com, www.facebook.com, www.googleadservices.com, www.merchant-center-analytics.goog, www.youtube.com

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

- Tag manager: Google Tag Manager
- Analytics: Google Analytics
- Advertising: Google Ads

## Scripts and behaviour of codeofchina.com

Scripts: fcommon.js, handler.js, handler.js, https://googleads.g.doubleclick.net/pagead/viewthroughconversion/1019258409/, https://googleads.g.doubleclick.net/pagead/viewthroughconversion/1019258409/, js, js, js, mart.js, ws.js

Technology:

- Google Ads
- Google Analytics
- Java (Servlet)

## Network and DNS of codeofchina.com

- Address: 54.187.63.132 in AS16509 Amazon.com, Inc. · prefix 54.176.0.0/12 · RPKI valid
- Hosted on: Amazon Web Services
- Apex codeofchina.com: A 54.187.63.132
- www.codeofchina.com: A 54.187.63.132
- Name servers: ns11.edong.com, ns12.edong.com · DNSSEC unsigned
- CAA: no CAA record
- Takeover: none: every CNAME target resolves
- Redirect: http://codeofchina.com/ → https://codeofchina.com/ (307)
- Header content-type: `text/html;=;charset=UTF-8`

## Mail for codeofchina.com

- MX: inbound-smtp.us-west-2.amazonaws.com (Amazon SES)
- SPF: v=spf1include:amazonses.com~all
- DMARC: v=DMARC1;p=quarantine;pct=100;fo=1
- DKIM: no selector found

## Domain and certificate of codeofchina.com

- Domain codeofchina.com · registered 30 Oct 2008 (6,600 days before the latest scan) through Xin Net Technology Corporation · expires 30 Oct 2034
- Certificate: DigiCert Inc · valid until 17 Apr 2027 · covers codeofchina.com, www.codeofchina.com

## Related hosts of codeofchina.com

- www.codeofchina.com is covered by the same certificate (1 host) — first seen 26 Nov 2026
- 204,225 other hosts in [AS16509 Amazon.com, Inc.](https://xpaling.com/asn/16509); 3,885 receiving mail via [Amazon SES](https://xpaling.com/mail/amazon-ses) — first seen 26 Nov 2026
- More than 20 hosts look like it above the fold: [rebelight.online](https://xpaling.com/host/rebelight.online), [kellycaldwell.ca](https://xpaling.com/host/kellycaldwell.ca), [plan.empower.com](https://xpaling.com/host/plan.empower.com), [martinomoto.it](https://xpaling.com/host/martinomoto.it), [condors.nl](https://xpaling.com/host/condors.nl), [www.pbjbarrelhorsefoundation.com](https://xpaling.com/host/www.pbjbarrelhorsefoundation.com) and 14 more (rebelight.online 98% · kellycaldwell.ca 98% · plan.empower.com 98%) — first seen 26 Nov 2026

## Scan history of codeofchina.com

### Record

- Cite: xpaling, codeofchina.com, 26 Nov 2026, https://xpaling.com/host/codeofchina.com
- This record as Markdown: https://xpaling.com/host/codeofchina.com.md · JSON: https://xpaling.com/host/codeofchina.com.json
- Latest report (26 Nov 2026): https://xpaling.com/host/codeofchina.com/rep/976npgcfqj · https://xpaling.com/host/codeofchina.com/rep/976npgcfqj.md · https://xpaling.com/host/codeofchina.com/rep/976npgcfqj.json
- Submitted URL: http://codeofchina.com/ · final: https://codeofchina.com/
- Archive: desktop screenshot https://xpaling.com/i/codeofchina.com/2026-11-26-e13fc21e3cebc836736a980edc35713ca60fb6cbdeb8e4fa23313643084772b8.webp · phone screenshot https://xpaling.com/i/codeofchina.com/2026-11-26-03cd727b631529b16de37bb1e484464cd718e4b389b401ca6e8c6b995945d1b4.webp · OG https://xpaling.com/og/976npgcfqj.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
