clearcote 0.70.3 → 0.70.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/cloud.d.ts.map +1 -1
- package/dist/cloud.js +4 -0
- package/dist/cloud.js.map +1 -1
- package/dist/docker.js +1 -1
- package/dist/docker.js.map +1 -1
- package/dist/fingerprint.d.ts +18 -0
- package/dist/fingerprint.d.ts.map +1 -1
- package/dist/fingerprint.js +1 -0
- package/dist/fingerprint.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/multiplex.js +1 -1
- package/dist/multiplex.js.map +1 -1
- package/dist/realcomputer.d.ts +45 -0
- package/dist/realcomputer.d.ts.map +1 -0
- package/dist/realcomputer.js +187 -0
- package/dist/realcomputer.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realcomputer.d.ts","sourceRoot":"","sources":["../src/realcomputer.ts"],"names":[],"mappings":"AAoBA,MAAM,WAAW,WAAW;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE;AACjI,MAAM,WAAW,SAAS;IAAG,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE;AACzG,MAAM,MAAM,iBAAiB,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAC3F,kEAAkE;AAClE,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,iBAAiB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AA0C1D,oHAAoH;AACpH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,WAAW,GAAG,IAAI,CAO1E;AAQD,kGAAkG;AAClG,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAQnD;AAED,yHAAyH;AACzH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAO/C;AAED,qHAAqH;AACrH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAO3D;AAID;sHACsH;AACtH,wBAAgB,aAAa,CAAC,QAAQ,GAAE,MAAM,CAAC,QAA2B,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,SAAS,CAAC,CAiBpI;AAED,sCAAsC;AACtC,wBAAgB,cAAc,IAAI,IAAI,CAAwB;AAE9D,4CAA4C;AAC5C,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAOzE;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,SAAS,CAAC,CAAA;CAAO,GACtF,OAAO,CAAC,CAAC,CAAC,CAgCZ"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
// realComputer: show parts of THIS computer instead of the persona's generated values, the way some single-identity
|
|
2
|
+
// browsers do on a real desktop. Three parts, each read from the operating system (never from a browser probe: a
|
|
3
|
+
// headless probe sees a virtual screen):
|
|
4
|
+
// screen the primary display in CSS px (size, work area, devicePixelRatio)
|
|
5
|
+
// touch navigator.maxTouchPoints (Windows: GetSystemMetrics(SM_MAXIMUMTOUCHES); macOS: 0, as Chrome reports)
|
|
6
|
+
// languages the system display language, expanded the way Chrome writes its list (en-GB -> en-GB,en-US,en)
|
|
7
|
+
//
|
|
8
|
+
// Measured 2026-11-21/22 on fingerprint.com behind residential proxies, paired against the default on the same seed
|
|
9
|
+
// and exit: this computer's touch value lowered the tampering score in 25 of 27 pairs (a value this computer does not
|
|
10
|
+
// have did not), and the real monitor in 16 of 16. Off by default: every profile on one computer then shares these
|
|
11
|
+
// values, which links profiles more easily, and a server or container has no real display. For one identity per
|
|
12
|
+
// real desktop.
|
|
13
|
+
//
|
|
14
|
+
// Rules: a value the caller set explicitly always wins. Languages follow a proxy's exit when one is set with geoip on
|
|
15
|
+
// (the computer's own language is only used without a proxy, or with geoip off). In pass-through (`fingerprint:
|
|
16
|
+
// "off"`) the engine already shows this computer, so nothing is added. What cannot be read is left to the persona,
|
|
17
|
+
// and the launch says so once.
|
|
18
|
+
import { spawn } from "node:child_process";
|
|
19
|
+
import { warnOnce } from "./warnings.js";
|
|
20
|
+
export const REAL_COMPUTER_WARN = "real-computer-partial";
|
|
21
|
+
const TIMEOUT_MS = 8000;
|
|
22
|
+
// One PowerShell call: DPI-aware primary screen bounds + work area (physical px), the system scaling (AppliedDPI),
|
|
23
|
+
// the touch points Chrome reads (GetSystemMetrics 95) and the display language Chrome follows (UI culture).
|
|
24
|
+
const WIN_PS = [
|
|
25
|
+
"$ErrorActionPreference='Stop';",
|
|
26
|
+
"Add-Type -AssemblyName System.Windows.Forms;",
|
|
27
|
+
"Add-Type -Namespace CcHost -Name U -MemberDefinition '[DllImport(\"user32.dll\")] public static extern bool SetProcessDPIAware(); [DllImport(\"user32.dll\")] public static extern int GetSystemMetrics(int n);';",
|
|
28
|
+
"[void][CcHost.U]::SetProcessDPIAware();",
|
|
29
|
+
"$s=[System.Windows.Forms.Screen]::PrimaryScreen;",
|
|
30
|
+
"$d=96; try { $v=(Get-ItemProperty 'HKCU:\\Control Panel\\Desktop\\WindowMetrics' -Name AppliedDPI).AppliedDPI; if ($v) { $d=$v } } catch {};",
|
|
31
|
+
"\"$($s.Bounds.Width) $($s.Bounds.Height) $($s.WorkingArea.Width) $($s.WorkingArea.Height) $d $([CcHost.U]::GetSystemMetrics(95)) $((Get-UICulture).Name)\"",
|
|
32
|
+
].join(" ");
|
|
33
|
+
const MAC_JXA = "ObjC.import('AppKit'); var s = $.NSScreen.mainScreen; var f = s.frame, v = s.visibleFrame; " +
|
|
34
|
+
"var l = $.NSLocale.preferredLanguages.count > 0 ? ObjC.unwrap($.NSLocale.preferredLanguages.objectAtIndex(0)) : ''; " +
|
|
35
|
+
"[f.size.width, f.size.height, v.size.width, v.size.height, s.backingScaleFactor, l].join(' ')";
|
|
36
|
+
function run(cmd, args) {
|
|
37
|
+
return new Promise((resolve) => {
|
|
38
|
+
let out = "";
|
|
39
|
+
let done = false;
|
|
40
|
+
const finish = (v) => { if (!done) {
|
|
41
|
+
done = true;
|
|
42
|
+
resolve(v);
|
|
43
|
+
} };
|
|
44
|
+
try {
|
|
45
|
+
const p = spawn(cmd, args, { stdio: ["ignore", "pipe", "ignore"], windowsHide: true });
|
|
46
|
+
const t = setTimeout(() => { try {
|
|
47
|
+
p.kill();
|
|
48
|
+
}
|
|
49
|
+
catch { /* gone */ } finish(null); }, TIMEOUT_MS);
|
|
50
|
+
t.unref?.();
|
|
51
|
+
p.stdout.on("data", (b) => { out += b.toString("utf8"); });
|
|
52
|
+
p.on("error", () => { clearTimeout(t); finish(null); });
|
|
53
|
+
p.on("close", (code) => { clearTimeout(t); finish(code === 0 ? out : null); });
|
|
54
|
+
}
|
|
55
|
+
catch {
|
|
56
|
+
finish(null);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
const css = (physical, ratio) => Math.round(physical / ratio);
|
|
61
|
+
const ratio2 = (r) => Math.round(r * 100) / 100;
|
|
62
|
+
const TAG = /^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$/;
|
|
63
|
+
/** Plausible display: at least 640x480 CSS px, a work area inside it (at least half of it), a ratio from 1 to 4. */
|
|
64
|
+
export function plausibleDisplay(d) {
|
|
65
|
+
if (!d)
|
|
66
|
+
return null;
|
|
67
|
+
const ok = [d.width, d.height, d.availWidth, d.availHeight, d.devicePixelRatio].every((n) => Number.isFinite(n) && n > 0) &&
|
|
68
|
+
d.width >= 640 && d.height >= 480 && d.width <= 16384 && d.height <= 16384 &&
|
|
69
|
+
d.availWidth <= d.width && d.availHeight <= d.height && d.availWidth >= d.width / 2 && d.availHeight >= d.height / 2 &&
|
|
70
|
+
d.devicePixelRatio >= 1 && d.devicePixelRatio <= 4;
|
|
71
|
+
return ok ? d : null;
|
|
72
|
+
}
|
|
73
|
+
const touchOf = (n) => (Number.isInteger(n) && n >= 0 && n <= 256 ? n : null);
|
|
74
|
+
const langOf = (s) => {
|
|
75
|
+
const t = String(s ?? "").trim().replace(/_/g, "-").split(".")[0];
|
|
76
|
+
return t && TAG.test(t) && t.toLowerCase() !== "c" ? t : null;
|
|
77
|
+
};
|
|
78
|
+
/** Windows: "boundsW boundsH workW workH appliedDpi touches uiCulture" (sizes in physical px). */
|
|
79
|
+
export function parseWindows(out) {
|
|
80
|
+
const f = out.trim().split(/\s+/);
|
|
81
|
+
const n = f.slice(0, 6).map(Number);
|
|
82
|
+
const r = Number.isFinite(n[4]) && n[4] > 0 ? ratio2(n[4] / 96) : NaN;
|
|
83
|
+
const display = n.slice(0, 4).every(Number.isFinite) && Number.isFinite(r)
|
|
84
|
+
? plausibleDisplay({ width: css(n[0], r), height: css(n[1], r), availWidth: css(n[2], r), availHeight: css(n[3], r), devicePixelRatio: r })
|
|
85
|
+
: null;
|
|
86
|
+
return { display, touch: f.length > 5 ? touchOf(n[5]) : null, language: langOf(f[6]) };
|
|
87
|
+
}
|
|
88
|
+
/** macOS: "frameW frameH visibleW visibleH scale language" (points = CSS px). Chrome on macOS reports 0 touch points. */
|
|
89
|
+
export function parseMac(out) {
|
|
90
|
+
const f = out.trim().split(/\s+/);
|
|
91
|
+
const n = f.slice(0, 5).map(Number);
|
|
92
|
+
const display = n.every(Number.isFinite)
|
|
93
|
+
? plausibleDisplay({ width: Math.round(n[0]), height: Math.round(n[1]), availWidth: Math.round(n[2]), availHeight: Math.round(n[3]), devicePixelRatio: ratio2(n[4]) })
|
|
94
|
+
: null;
|
|
95
|
+
return { display, touch: 0, language: langOf(f[5]) };
|
|
96
|
+
}
|
|
97
|
+
/** Linux: the primary output of `xrandr --current`, else the first connected one with a mode; work area = screen. */
|
|
98
|
+
export function parseXrandr(out) {
|
|
99
|
+
const lines = out.split("\n").filter((l) => / connected /.test(l));
|
|
100
|
+
const line = lines.find((l) => / connected primary /.test(l)) ?? lines.find((l) => /\d+x\d+\+\d+\+\d+/.test(l));
|
|
101
|
+
const m = line?.match(/(\d+)x(\d+)\+\d+\+\d+/);
|
|
102
|
+
if (!m)
|
|
103
|
+
return null;
|
|
104
|
+
const w = Number(m[1]), h = Number(m[2]);
|
|
105
|
+
return plausibleDisplay({ width: w, height: h, availWidth: w, availHeight: h, devicePixelRatio: 1 });
|
|
106
|
+
}
|
|
107
|
+
let cached;
|
|
108
|
+
/** This computer's display, touch points and display language, read once per process. Parts that cannot be read are
|
|
109
|
+
* null (no display server, a timeout, an implausible answer). Linux reports no touch value (left to the persona). */
|
|
110
|
+
export function readHostFacts(platform = process.platform, env = process.env) {
|
|
111
|
+
if (cached)
|
|
112
|
+
return cached;
|
|
113
|
+
cached = (async () => {
|
|
114
|
+
if (platform === "win32") {
|
|
115
|
+
const out = await run("powershell.exe", ["-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", WIN_PS]);
|
|
116
|
+
return out ? parseWindows(out) : { display: null, touch: null, language: null };
|
|
117
|
+
}
|
|
118
|
+
if (platform === "darwin") {
|
|
119
|
+
const out = await run("osascript", ["-l", "JavaScript", "-e", MAC_JXA]);
|
|
120
|
+
return out ? parseMac(out) : { display: null, touch: 0, language: null };
|
|
121
|
+
}
|
|
122
|
+
const language = langOf((env.LANGUAGE || "").split(":")[0] || env.LC_ALL || env.LC_MESSAGES || env.LANG);
|
|
123
|
+
if (!env.DISPLAY && !env.WAYLAND_DISPLAY)
|
|
124
|
+
return { display: null, touch: null, language };
|
|
125
|
+
const out = await run("xrandr", ["--current"]);
|
|
126
|
+
return { display: out ? parseXrandr(out) : null, touch: null, language };
|
|
127
|
+
})();
|
|
128
|
+
return cached;
|
|
129
|
+
}
|
|
130
|
+
/** Tests: forget the cached facts. */
|
|
131
|
+
export function resetHostFacts() { cached = undefined; }
|
|
132
|
+
/** Which parts an option value turns on. */
|
|
133
|
+
export function realComputerParts(v) {
|
|
134
|
+
if (v === true)
|
|
135
|
+
return { screen: true, touch: true, languages: true };
|
|
136
|
+
if (v && typeof v === "object") {
|
|
137
|
+
const p = v;
|
|
138
|
+
return { screen: p.screen === true, touch: p.touch === true, languages: p.languages === true };
|
|
139
|
+
}
|
|
140
|
+
return { screen: false, touch: false, languages: false };
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Apply `realComputer` to one launch's fingerprint options. Never mutates the input; returns it unchanged when the
|
|
144
|
+
* option is off or in pass-through. `proxied`: a proxy is set and geoip is on, so the exit decides the languages.
|
|
145
|
+
*/
|
|
146
|
+
export async function withRealComputer(o, ctx = {}) {
|
|
147
|
+
const parts = realComputerParts(o.realComputer);
|
|
148
|
+
if (!parts.screen && !parts.touch && !parts.languages)
|
|
149
|
+
return o;
|
|
150
|
+
if (String(o.fingerprint ?? "").trim().toLowerCase() === "off")
|
|
151
|
+
return o;
|
|
152
|
+
const want = {
|
|
153
|
+
screen: parts.screen && o.screenWidth == null && o.screenHeight == null,
|
|
154
|
+
touch: parts.touch && o.maxTouchPoints == null,
|
|
155
|
+
languages: parts.languages && (o.acceptLanguage == null || o.acceptLanguage === "") && !ctx.proxied,
|
|
156
|
+
};
|
|
157
|
+
if (!want.screen && !want.touch && !want.languages)
|
|
158
|
+
return o;
|
|
159
|
+
const facts = await (ctx.read ?? readHostFacts)();
|
|
160
|
+
const out = { ...o };
|
|
161
|
+
const missing = [];
|
|
162
|
+
if (want.screen) {
|
|
163
|
+
const d = facts.display;
|
|
164
|
+
if (d)
|
|
165
|
+
Object.assign(out, { screenWidth: d.width, screenHeight: d.height, availWidth: d.availWidth, availHeight: d.availHeight, devicePixelRatio: d.devicePixelRatio });
|
|
166
|
+
else
|
|
167
|
+
missing.push("screen");
|
|
168
|
+
}
|
|
169
|
+
if (want.touch) {
|
|
170
|
+
if (facts.touch != null)
|
|
171
|
+
out.maxTouchPoints = facts.touch;
|
|
172
|
+
else
|
|
173
|
+
missing.push("touch");
|
|
174
|
+
}
|
|
175
|
+
if (want.languages) {
|
|
176
|
+
if (facts.language)
|
|
177
|
+
out.acceptLanguage = facts.language;
|
|
178
|
+
else
|
|
179
|
+
missing.push("languages");
|
|
180
|
+
}
|
|
181
|
+
if (missing.length) {
|
|
182
|
+
warnOnce(REAL_COMPUTER_WARN, `realComputer: this computer's ${missing.join(" and ")} could not be read (no display server, or it did not answer), ` +
|
|
183
|
+
"so the profile keeps its generated value there.", ctx.quiet);
|
|
184
|
+
}
|
|
185
|
+
return out;
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=realcomputer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realcomputer.js","sourceRoot":"","sources":["../src/realcomputer.ts"],"names":[],"mappings":"AAAA,oHAAoH;AACpH,iHAAiH;AACjH,yCAAyC;AACzC,iFAAiF;AACjF,oHAAoH;AACpH,8GAA8G;AAC9G,EAAE;AACF,oHAAoH;AACpH,sHAAsH;AACtH,mHAAmH;AACnH,gHAAgH;AAChH,gBAAgB;AAChB,EAAE;AACF,sHAAsH;AACtH,gHAAgH;AAChH,mHAAmH;AACnH,+BAA+B;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE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3
|
+
"version": "0.70.4",
|
|
4
4
|
"description": "Playwright drop-in for the Clearcote anti-fingerprint Chromium build. launch() returns a standard Playwright Browser backed by the verified Clearcote binary, which is auto-downloaded and SHA-256 checked.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|