# img.ye.gs

## In short (as of 28 Nov 2026)

img.ye.gs is a website titled “随机图片 API”, in Chinese (China).

- Behind Cloudflare Pages (AS13335 Cloudflare, Inc.), certificate from Google Trust Services.
- Its code names 2 API endpoints on this host.
- It loads 2 third-party domains: fonts.googleapis.com, img.nezha.loc.cc.
- Observed once, on 28 Nov 2026.

The public xpaling record of img.ye.gs: 1 observation since 28 Nov 2026. Page: https://xpaling.com/host/img.ye.gs

## Found and changed on img.ye.gs
Timeline (1 observation, newest first)

- **28 Nov 2026** — [report](https://xpaling.com/host/img.ye.gs/rep/0g136xnyeb) — “随机图片 API” · First observation · 3 findings

## Findings of img.ye.gs
Findings (as of 28 Nov 2026)

- 11 IPv4 addresses outside Cloudflare. 11 host names under ye.gs answer from 11 addresses outside Cloudflare (a Cloudflare-fronted site). — first seen 28 Nov 2026
  
  
    What to do: Proxy every subdomain through the CDN, restrict the origin firewall to CDN IP ranges, send mail through a third-party provider and use a separate certificate on the origin.
- The response has no X-Frame-Options, Permissions-Policy, Content-Security-Policy, Strict-Transport-Security (Referrer-Policy strict-origin-when-cross-origin · X-Content-Type-Options nosniff) — first seen 28 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 28 Nov 2026)

- The homepage contacts 2 third-party domains before any click: [fonts.googleapis.com](https://xpaling.com/thirdparty/fonts.googleapis.com), [img.nezha.loc.cc](https://xpaling.com/thirdparty/img.nezha.loc.cc) (2 requests to third parties · fonts.googleapis.com 1 · img.nezha.loc.cc 1) — first seen 28 Nov 2026
- 2 API endpoints appear in the page's requests and scripts (/ri/count.json · /pic) — first seen 28 Nov 2026
- 7 values are written into the page's scripts (PREVIEW_TIMEOUT_MS = 8000 · HISTORY_LIMIT = 20 · historyIndex = -1) — first seen 28 Nov 2026
- Scripts reference open-source repository [github.com/oyz8/random-pic-api](https://xpaling.com/repo/github.com%2Foyz8%2Frandom-pic-api) (1 repository) — first seen 28 Nov 2026
- Technology: [Cloudflare](https://xpaling.com/tech/cloudflare) (header cf-ray) — first seen 28 Nov 2026
- The certificate is issued by [Google Trust Services](https://xpaling.com/cert/add9009a75734de2534ee720dbe8ec9070e581e1e499ac1cd63a5d9cf9fa676d), valid until 17 Feb 2027, TLS 1.3 (SAN 1 · img.ye.gs · add9009a7573…) — first seen 28 Nov 2026
- IPs [172.66.45.11](https://xpaling.com/ip/172.66.45.11), [172.66.46.245](https://xpaling.com/ip/172.66.46.245) belong to [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335), behind [Cloudflare Pages](https://xpaling.com/cdn/cloudflare-pages) (172.66.40.0/21 · RPKI valid · 298 upstreams) — first seen 28 Nov 2026
- Traffic passes through [Cloudflare](https://xpaling.com/cdn/cloudflare-pages) first (WAF / DDoS scrubbing in front): DDoS protection included, WAF included, platform-level protection with no published figure (Cloudflare DDoS protection); some subdomains answer from addresses outside the edge; routing: prefix 172.66.40.0/21 has a valid RPKI ROA, 298 upstreams (www.cloudflare.com/plans/) — first seen 28 Nov 2026
- Name servers ns1.gcorelabs.net, ns2.gcdn.services, no CAA record, DNSSEC not signed (apex A 161.33.17.45) — first seen 28 Nov 2026
- The page gives the contacts github.com/oyz8/random-pic-api, github.com/oyz8/random-pic-api/issues — first seen 28 Nov 2026
- Served over h2 (h3 advertised), first byte in 56 ms, 62 KB in total, br compressed, server cloudflare (connect 3 ms · TLS 3 ms · 8 requests) — first seen 28 Nov 2026

## Endpoints, routes and files on img.ye.gs

- `/ri/count.json` — seen at run time
- `/pic` — seen at run time

## Hostnames under ye.gs

The hostnames of ye.gs are listed on the page of blog.ye.gs: https://xpaling.com/host/blog.ye.gs#subdomains. This host's own row is below.

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| img.ye.gs (this host) | Web | 172.66.45.11, 172.66.46.245 | random-pic-api.pages.dev | Cloudflare | 28 Nov 2026 | 28 Nov 2026 |

## Values in the scripts of img.ye.gs

7 values are written into the scripts of img.ye.gs.

### inline (7)

- `PREVIEW_TIMEOUT_MS` = `8000`
- `HISTORY_LIMIT` = `20`
- `historyIndex` = `-1`
- `isSwitching` = `false`
- `task.loaded` = `false`
- `task.failed` = `false`
- `settled` = `false`

## Third parties and requests of img.ye.gs

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

Receives requests (2 domains · 2 requests):

- fonts.googleapis.com — Google Fonts · web fonts and icons — 1 stylesheet request
- img.nezha.loc.cc — 1 image request

First-party hosts seen (6 requests): img.ye.gs

Named in the page, not requested (2 domains): fonts.gstatic.com, github.com

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

- Web fonts and icons: Google Fonts

## Scripts and behaviour of img.ye.gs

Repositories:

- github.com/oyz8/random-pic-api — in https://img.ye.gs/

Technology:

- Cloudflare
- Google Fonts

## Network and DNS of img.ye.gs

- Address: 172.66.45.11, 172.66.46.245 in AS13335 Cloudflare, Inc. · prefix 172.66.40.0/21 · RPKI valid · 298 upstreams
- In front: Cloudflare Pages (random-pic-api.pages.dev → Cloudflare Pages)
- Apex ye.gs (the registered domain): A 161.33.17.45
- www.ye.gs (of ye.gs): A 161.33.17.45
- Name servers (of ye.gs): ns1.gcorelabs.net, ns2.gcdn.services · DNSSEC unsigned
- CAA (of ye.gs): no CAA record
- Takeover: none: every CNAME target resolves
- Header link: `<https://fonts.googleapis.com>; rel="preconnect"`
- Header server: `cloudflare`
- Header alt-svc: `h3=":443"; ma=86400`
- Header content-type: `text/html; charset=utf-8`
- Header cache-control: `public, max-age=0, must-revalidate`
- Header Referrer-Policy: `strict-origin-when-cross-origin`
- Header content-encoding: `br`
- Header X-Content-Type-Options: `nosniff`

## Domain and certificate of img.ye.gs

- Certificate: Google Trust Services · valid until 17 Feb 2027 · covers img.ye.gs

## Related hosts of img.ye.gs

- 1,853,853 other hosts in [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335); 53 other hosts on IP [172.66.45.11](https://xpaling.com/ip/172.66.45.11) — first seen 28 Nov 2026
- More than 20 hosts look like it above the fold: [img.tw.kg](https://xpaling.com/host/img.tw.kg), [account.poutyboiapps.com](https://xpaling.com/host/account.poutyboiapps.com), [bpmosaic.com](https://xpaling.com/host/bpmosaic.com), [apps.poutyboiapps.com](https://xpaling.com/host/apps.poutyboiapps.com), [philmorse.com](https://xpaling.com/host/philmorse.com), [www.peeronix.com](https://xpaling.com/host/www.peeronix.com) and 14 more (img.tw.kg 100% · account.poutyboiapps.com 94% · bpmosaic.com 94%) — first seen 28 Nov 2026
- Third party [img.nezha.loc.cc](https://xpaling.com/thirdparty/img.nezha.loc.cc) is also on [nezha.tz.kg](https://xpaling.com/host/nezha.tz.kg), [nezha.os.kg](https://xpaling.com/host/nezha.os.kg), [img.tw.kg](https://xpaling.com/host/img.tw.kg) (4 hosts in all)
- The script [24712f453facabb9023743c1e700789125e212e64fed29211236998c1521fc46](https://xpaling.com/js/24712f453facabb9023743c1e700789125e212e64fed29211236998c1521fc46) is also on [img.tw.kg](https://xpaling.com/host/img.tw.kg) (2 hosts in all)
- The bundled library [github.com/oyz8/random-pic-api](https://xpaling.com/repo/github.com%2Foyz8%2Frandom-pic-api) is also on [img.tw.kg](https://xpaling.com/host/img.tw.kg) (2 hosts in all)

## Scan history of img.ye.gs

### Record

- Cite: xpaling, img.ye.gs, 28 Nov 2026, https://xpaling.com/host/img.ye.gs
- This record as Markdown: https://xpaling.com/host/img.ye.gs.md · JSON: https://xpaling.com/host/img.ye.gs.json
- Latest report (28 Nov 2026): https://xpaling.com/host/img.ye.gs/rep/0g136xnyeb · https://xpaling.com/host/img.ye.gs/rep/0g136xnyeb.md · https://xpaling.com/host/img.ye.gs/rep/0g136xnyeb.json
- Submitted URL: https://img.ye.gs/
- Archive: desktop screenshot https://xpaling.com/i/img.ye.gs/2026-11-28-0cdc9cb5adb155e68e62fb1041ffe38002e5edda59ae2cde75acecb03a76ebc7.webp · phone screenshot https://xpaling.com/i/img.ye.gs/2026-11-28-83ab2ac84271803e6d07d017459e4434c4000d5acc26353674148d20553cbf73.webp · OG https://xpaling.com/og/0g136xnyeb.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
