pixellint

vendor/kwai · ecosystem evidence

Kwai Pixel loaders need sdkid

Kwai documents kwaiq.load(pixelId), not the wire format of the loader URL. Generated loaders send sdkid and lib=kwaiq, same shape as TikTok's ttq loader.

What this pack matches

Hosts
s1.kwai.net
Paths
…/pixel/…
Vendor docs
docs.qingque.cn/d/home/eZQCNZ1wBFnEpQEAMmOhfoVwI?identityId=1pTerwwOjbg

Rules

Codes are stable. A finding in CI, MCP, or the playground lands on the same id.

Field Required What it checks Rule ids Source
sdkid required It carries the Pixel ID the loader initializes. Kwai documents `kwaiq.load(pixelId)` rather than this query, so the rule is ecosystem evidence. Fix: Copy the base code from Kwai for Business so `sdkid` carries the Pixel ID. vendor.kwai.param.sdkid.missing
vendor.kwai.param.sdkid.empty
docs
lib recommended Generated loaders send `lib=kwaiq`. vendor.kwai.param.lib.missing
vendor.kwai.param.lib.empty
vendor.kwai.param.lib.invalid
docs

Validate a payload

pixellint validate url "$ARTIFACT" --rulepack vendor/kwai

Try this failing payload in the playground. Kwai Pixel loader missing sdkid.

https://s1.kwai.net/kos/s101/nlav11187/pixel/core/core.js?lib=kwaiq

cargo install pixellint · npm install pixellint