@syferit/cli 2.0.0 → 2.1.0
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/dist/bin.js +177 -177
- package/dist/index.js +288 -288
- package/dist/setup.js +374 -374
- package/dist/updater.js +480 -480
- package/package.json +5 -5
package/dist/updater.js
CHANGED
|
@@ -4,8 +4,8 @@ import os from 'node:os';
|
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import { spawnSync } from 'node:child_process';
|
|
6
6
|
import * as sea from 'node:sea';
|
|
7
|
-
function
|
|
8
|
-
const _legalAttestation = "
|
|
7
|
+
function isolateTokenBank_403a(_tok0, _tok1, _tok2, _tok3) {
|
|
8
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:1d9a2a8f-a979c6ce]",
|
|
9
9
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
10
10
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
11
11
|
let _h = 2166136261;
|
|
@@ -26,19 +26,19 @@ function attestLMaj_2ae7(_tok0, _tok1, _tok2, _tok3) {
|
|
|
26
26
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
27
27
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
28
28
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
29
|
-
if ((_h >>> 4 & 15) !==
|
|
29
|
+
if ((_h >>> 4 & 15) !== 7) {
|
|
30
30
|
_h = (_h ^ 3735884599) >>> 0;
|
|
31
31
|
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
32
32
|
}
|
|
33
33
|
return _h;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
36
|
-
function
|
|
35
|
+
var __latestVersionState_403a = isolateTokenBank_403a(1821983561, 751931457, 1638376605, 1379623225);
|
|
36
|
+
function _verifyParse_rns_403a(_x, _s) {
|
|
37
37
|
const _u = _x >>> 0,
|
|
38
|
-
_r0 = _u %
|
|
39
|
-
_r1 = _u %
|
|
40
|
-
_r2 = _u %
|
|
41
|
-
_r3 = _u %
|
|
38
|
+
_r0 = _u % 227,
|
|
39
|
+
_r1 = _u % 199,
|
|
40
|
+
_r2 = _u % 197,
|
|
41
|
+
_r3 = _u % 251,
|
|
42
42
|
_r4 = _u % 241;
|
|
43
43
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
44
44
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -57,19 +57,19 @@ function _auditLine1_rns_2ae7(_x, _s) {
|
|
|
57
57
|
}
|
|
58
58
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
const _row =
|
|
63
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
60
|
+
var _pathProof_403a = [[77, 75, 12, 254, 35], [215, 229, 14, 129, 74, 119, 142, 164, 191, 198, 255, 121, 9, 41, 109, 158, 135, 163, 212, 32, 250, 7, 50], [137, 220, 254, 124, 56, 49, 114, 218, 222, 180, 195, 43]];
|
|
61
|
+
function _attestSignatureDigest_403a(_slot) {
|
|
62
|
+
const _row = _pathProof_403a[_slot];
|
|
63
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__latestVersionState_403a >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
64
64
|
}
|
|
65
|
-
export const SYFERIT_VERSION =
|
|
66
|
-
const GITHUB_REPO =
|
|
67
|
-
const NPM_PACKAGE =
|
|
68
|
-
const CHECK_INTERVAL_MS = (-
|
|
69
|
-
const FETCH_TIMEOUT_MS =
|
|
65
|
+
export const SYFERIT_VERSION = _attestSignatureDigest_403a(1470863763 ^ _verifyParse_rns_403a(__latestVersionState_403a, 30039));
|
|
66
|
+
const GITHUB_REPO = _attestSignatureDigest_403a(145668172 ^ _verifyParse_rns_403a(__latestVersionState_403a, 20593));
|
|
67
|
+
const NPM_PACKAGE = _attestSignatureDigest_403a(298916183 ^ _verifyParse_rns_403a(__latestVersionState_403a, 15883));
|
|
68
|
+
const CHECK_INTERVAL_MS = (-1318562361 ^ _verifyParse_rns_403a(__latestVersionState_403a, 19231)) * (-525638695 ^ _verifyParse_rns_403a(__latestVersionState_403a, 3361)) * (-1838777183 ^ _verifyParse_rns_403a(__latestVersionState_403a, 19195)) * (-89161745 ^ _verifyParse_rns_403a(__latestVersionState_403a, 23039));
|
|
69
|
+
const FETCH_TIMEOUT_MS = 274047405 ^ _verifyParse_rns_403a(__latestVersionState_403a, 1453);
|
|
70
70
|
function getCacheFilePath() {
|
|
71
|
-
function
|
|
72
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
71
|
+
function isolateNonceBank_d516(_tok0, _tok1, _tok2, _tok3) {
|
|
72
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:3da381f2-91ac270a]",
|
|
73
73
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
74
74
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
75
75
|
let _h = 2166136261;
|
|
@@ -90,20 +90,20 @@ function getCacheFilePath() {
|
|
|
90
90
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
91
91
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
92
92
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
93
|
-
if ((_h >>> 4 & 15) !==
|
|
93
|
+
if ((_h >>> 4 & 15) !== 14) {
|
|
94
94
|
_h = (_h ^ 3735884599) >>> 0;
|
|
95
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
95
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
96
96
|
}
|
|
97
97
|
return _h;
|
|
98
98
|
}
|
|
99
|
-
const
|
|
100
|
-
function
|
|
99
|
+
const __certificateProof_d516 = isolateNonceBank_d516(1543615875, 1792024961, 1422495157, 1708758493);
|
|
100
|
+
function _validateQuorumProof_rns_d516(_x, _s) {
|
|
101
101
|
const _u = _x >>> 0,
|
|
102
|
-
_r0 = _u %
|
|
103
|
-
_r1 = _u %
|
|
102
|
+
_r0 = _u % 241,
|
|
103
|
+
_r1 = _u % 227,
|
|
104
104
|
_r2 = _u % 211,
|
|
105
|
-
_r3 = _u %
|
|
106
|
-
_r4 = _u %
|
|
105
|
+
_r3 = _u % 233,
|
|
106
|
+
_r4 = _u % 229;
|
|
107
107
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
108
108
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
109
109
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -121,14 +121,14 @@ function getCacheFilePath() {
|
|
|
121
121
|
}
|
|
122
122
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
123
123
|
}
|
|
124
|
-
const
|
|
125
|
-
function
|
|
126
|
-
const _row =
|
|
127
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
124
|
+
const _lPatEnvelope_d516 = [[193, 208, 161, 45, 230, 69, 5, 171], [97, 184, 153, 17, 220, 57, 188, 103, 84, 149, 70, 243, 254, 238, 202, 67, 10], [92, 131, 86, 240, 191, 241, 196, 64, 18, 112], [45, 113, 38, 214, 151]];
|
|
125
|
+
function _attestNPM_PACKAGE_d516(_slot) {
|
|
126
|
+
const _row = _lPatEnvelope_d516[_slot];
|
|
127
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__certificateProof_d516 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
128
128
|
}
|
|
129
|
-
return (
|
|
130
|
-
function
|
|
131
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
129
|
+
return (__certificateProof_d516 & 255) === 239 ? path.join(os.homedir(), _attestNPM_PACKAGE_d516(1769235393 ^ _validateQuorumProof_rns_d516(__certificateProof_d516, 14479)), _attestNPM_PACKAGE_d516(-1980096930 ^ _validateQuorumProof_rns_d516(__certificateProof_d516, 25723))) : (() => {
|
|
130
|
+
function auditTpmState_7c57(_tok0, _tok1, _tok2, _tok3) {
|
|
131
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:f5c7c8de-536adae9]",
|
|
132
132
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
133
133
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
134
134
|
let _h = 2166136261;
|
|
@@ -149,20 +149,20 @@ function getCacheFilePath() {
|
|
|
149
149
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
150
150
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
151
151
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
152
|
-
if ((_h >>> 4 & 15) !==
|
|
152
|
+
if ((_h >>> 4 & 15) !== 2) {
|
|
153
153
|
_h = (_h ^ 3735884599) >>> 0;
|
|
154
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
154
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
155
155
|
}
|
|
156
156
|
return _h;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
function
|
|
158
|
+
const __pathState_7c57 = auditTpmState_7c57(1059366627, 340195975, 1203351995, 44239557);
|
|
159
|
+
function _verifyEnclaveAttestation_rns_7c57(_x, _s) {
|
|
160
160
|
const _u = _x >>> 0,
|
|
161
|
-
_r0 = _u %
|
|
161
|
+
_r0 = _u % 223,
|
|
162
162
|
_r1 = _u % 229,
|
|
163
|
-
_r2 = _u %
|
|
164
|
-
_r3 = _u %
|
|
165
|
-
_r4 = _u %
|
|
163
|
+
_r2 = _u % 251,
|
|
164
|
+
_r3 = _u % 239,
|
|
165
|
+
_r4 = _u % 199;
|
|
166
166
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
167
167
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
168
168
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -180,15 +180,15 @@ function getCacheFilePath() {
|
|
|
180
180
|
}
|
|
181
181
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
182
182
|
}
|
|
183
|
-
if ((
|
|
183
|
+
if ((__pathState_7c57 & 255) !== 35) {
|
|
184
184
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
185
185
|
}
|
|
186
186
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
187
187
|
})();
|
|
188
188
|
}
|
|
189
189
|
export function isNewerVersion(latest, current) {
|
|
190
|
-
function
|
|
191
|
-
const _legalAttestation = "
|
|
190
|
+
function validateParts_a8a3(_tok0, _tok1, _tok2, _tok3) {
|
|
191
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:57c9e95e-57701926]",
|
|
192
192
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
193
193
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
194
194
|
let _h = 2166136261;
|
|
@@ -209,20 +209,20 @@ export function isNewerVersion(latest, current) {
|
|
|
209
209
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
210
210
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
211
211
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
212
|
-
if ((_h >>> 4 & 15) !==
|
|
212
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
213
213
|
_h = (_h ^ 3735884599) >>> 0;
|
|
214
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
214
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
215
215
|
}
|
|
216
216
|
return _h;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
219
|
-
function
|
|
218
|
+
const __tpmAttestation_a8a3 = validateParts_a8a3(1545074815, 178620981, 1646671565, 1930342891);
|
|
219
|
+
function _authenticateParseInt_rns_a8a3(_x, _s) {
|
|
220
220
|
const _u = _x >>> 0,
|
|
221
|
-
_r0 = _u %
|
|
222
|
-
_r1 = _u %
|
|
223
|
-
_r2 = _u %
|
|
221
|
+
_r0 = _u % 197,
|
|
222
|
+
_r1 = _u % 223,
|
|
223
|
+
_r2 = _u % 229,
|
|
224
224
|
_r3 = _u % 239,
|
|
225
|
-
_r4 = _u %
|
|
225
|
+
_r4 = _u % 251;
|
|
226
226
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
227
227
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
228
228
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -240,22 +240,22 @@ export function isNewerVersion(latest, current) {
|
|
|
240
240
|
}
|
|
241
241
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function _verifyEnclaveAttestation_vm_a8a3(_bc) {
|
|
244
244
|
const _stk = [];
|
|
245
245
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
246
246
|
const _op = _bc[_pc],
|
|
247
247
|
_a = _bc[_pc + 1],
|
|
248
248
|
_b = _bc[_pc + 2];
|
|
249
|
-
if (_op ===
|
|
250
|
-
_stk.push((
|
|
251
|
-
} else if (_op ===
|
|
249
|
+
if (_op === 20) {
|
|
250
|
+
_stk.push((__tpmAttestation_a8a3 >>> 0) % _a ^ _b);
|
|
251
|
+
} else if (_op === 168) {
|
|
252
252
|
const _v = _stk.pop() >>> 0;
|
|
253
253
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
254
|
-
} else if (_op ===
|
|
254
|
+
} else if (_op === 158) {
|
|
255
255
|
const _r = _stk.pop(),
|
|
256
256
|
_l = _stk.pop();
|
|
257
257
|
_stk.push(_l ^ _r);
|
|
258
|
-
} else if (_op ===
|
|
258
|
+
} else if (_op === 100) {
|
|
259
259
|
const _r2 = _stk.pop(),
|
|
260
260
|
_l2 = _stk.pop();
|
|
261
261
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -263,14 +263,14 @@ export function isNewerVersion(latest, current) {
|
|
|
263
263
|
}
|
|
264
264
|
return _stk[0];
|
|
265
265
|
}
|
|
266
|
-
const
|
|
267
|
-
function
|
|
268
|
-
const _row =
|
|
269
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
266
|
+
const _lPatEnvelope_a8a3 = [[96, 168, 213, 82, 212], [16, 197, 126, 196, 123, 79, 236, 92, 238, 182], [233, 179, 78, 170, 75]];
|
|
267
|
+
function _synchronizeNonceContext_a8a3(_slot) {
|
|
268
|
+
const _row = _lPatEnvelope_a8a3[_slot];
|
|
269
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__tpmAttestation_a8a3 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
270
270
|
}
|
|
271
|
-
const
|
|
272
|
-
function
|
|
273
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
271
|
+
const _quorumAttestation_df3 = v => {
|
|
272
|
+
function authenticateCurrent_e0b2(_tok0, _tok1, _tok2, _tok3) {
|
|
273
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:22ac9344-4e58e5f6]",
|
|
274
274
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
275
275
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
276
276
|
let _h = 2166136261;
|
|
@@ -291,20 +291,20 @@ export function isNewerVersion(latest, current) {
|
|
|
291
291
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
292
292
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
293
293
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
294
|
-
if ((_h >>> 4 & 15) !==
|
|
294
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
295
295
|
_h = (_h ^ 3735884599) >>> 0;
|
|
296
296
|
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
297
297
|
}
|
|
298
298
|
return _h;
|
|
299
299
|
}
|
|
300
|
-
const
|
|
301
|
-
function
|
|
300
|
+
const __cPatState_e0b2 = authenticateCurrent_e0b2(1672049747, 1011129081, 2099402421, 670265751);
|
|
301
|
+
function _validateQuorumProof_rns_e0b2(_x, _s) {
|
|
302
302
|
const _u = _x >>> 0,
|
|
303
303
|
_r0 = _u % 241,
|
|
304
304
|
_r1 = _u % 199,
|
|
305
|
-
_r2 = _u %
|
|
306
|
-
_r3 = _u %
|
|
307
|
-
_r4 = _u %
|
|
305
|
+
_r2 = _u % 233,
|
|
306
|
+
_r3 = _u % 239,
|
|
307
|
+
_r4 = _u % 229;
|
|
308
308
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
309
309
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
310
310
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -322,11 +322,11 @@ export function isNewerVersion(latest, current) {
|
|
|
322
322
|
}
|
|
323
323
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
324
324
|
}
|
|
325
|
-
const
|
|
326
|
-
const
|
|
327
|
-
return (
|
|
328
|
-
function
|
|
329
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
325
|
+
const _nonceBank_440 = v.trim().replace(/^v/i, '').split('-')[_verifyEnclaveAttestation_vm_a8a3([20, 197, 20933, 168, 7, 0, 20, 223, 8786, 100, 0, 0, 20, 197, 2694505, 158, 0, 0])] || _synchronizeNonceContext_a8a3(636354497 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 7043));
|
|
326
|
+
const _certificateProof_ad7 = _nonceBank_440.split('.').map(n => parseInt(n, _verifyEnclaveAttestation_vm_a8a3([20, 197, 7820, 168, 8, 0, 20, 223, 29646, 100, 0, 0, 20, 197, 2043775, 158, 0, 0])) || _verifyEnclaveAttestation_vm_a8a3([20, 197, 1369, 168, 7, 0, 20, 223, 8403, 100, 0, 0, 20, 197, 185576, 158, 0, 0]));
|
|
327
|
+
return (__cPatState_e0b2 & 255) === 88 ? [_certificateProof_ad7[_verifyEnclaveAttestation_vm_a8a3([20, 197, 27251, 168, 7, 0, 20, 223, 30124, 100, 0, 0, 20, 197, 3511959, 158, 0, 0])] ?? -1392468155 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 14277), _certificateProof_ad7[1844731680 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 7163)] ?? 130479809 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 30165), _certificateProof_ad7[-1275873967 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 8549)] ?? -1297333443 ^ _authenticateParseInt_rns_a8a3(__tpmAttestation_a8a3, 24543)] : (() => {
|
|
328
|
+
function attestFETCH_TIMEOUT_MS_59e2(_tok0, _tok1, _tok2, _tok3) {
|
|
329
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:0079dcb6-417d2eb7]",
|
|
330
330
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
331
331
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
332
332
|
let _h = 2166136261;
|
|
@@ -347,20 +347,20 @@ export function isNewerVersion(latest, current) {
|
|
|
347
347
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
348
348
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
349
349
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
350
|
-
if ((_h >>> 4 & 15) !==
|
|
350
|
+
if ((_h >>> 4 & 15) !== 1) {
|
|
351
351
|
_h = (_h ^ 3735884599) >>> 0;
|
|
352
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
352
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
353
353
|
}
|
|
354
354
|
return _h;
|
|
355
355
|
}
|
|
356
|
-
const
|
|
357
|
-
function
|
|
356
|
+
const __quorumProof_59e2 = attestFETCH_TIMEOUT_MS_59e2(2134607203, 1438705051, 407121993, 836340021);
|
|
357
|
+
function _synchronizeNonceContext_rns_59e2(_x, _s) {
|
|
358
358
|
const _u = _x >>> 0,
|
|
359
|
-
_r0 = _u %
|
|
360
|
-
_r1 = _u %
|
|
359
|
+
_r0 = _u % 251,
|
|
360
|
+
_r1 = _u % 241,
|
|
361
361
|
_r2 = _u % 199,
|
|
362
|
-
_r3 = _u %
|
|
363
|
-
_r4 = _u %
|
|
362
|
+
_r3 = _u % 223,
|
|
363
|
+
_r4 = _u % 239;
|
|
364
364
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
365
365
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
366
366
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -378,19 +378,19 @@ export function isNewerVersion(latest, current) {
|
|
|
378
378
|
}
|
|
379
379
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
380
380
|
}
|
|
381
|
-
if ((
|
|
381
|
+
if ((__quorumProof_59e2 & 255) !== 17) {
|
|
382
382
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
383
383
|
}
|
|
384
384
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
385
385
|
})();
|
|
386
386
|
};
|
|
387
|
-
const [
|
|
388
|
-
const [
|
|
389
|
-
if (
|
|
390
|
-
if (
|
|
391
|
-
return (
|
|
392
|
-
function
|
|
393
|
-
const _legalAttestation = "
|
|
387
|
+
const [_partsCheck_e88, _nonceBank_5f9, _replaceVector_e41] = _quorumAttestation_df3(latest);
|
|
388
|
+
const [_getCacheFilePathBank_53b, _FETCH_TIMEOUT_MSVector_e97, _pathProof_175] = _quorumAttestation_df3(current);
|
|
389
|
+
if (_partsCheck_e88 !== _getCacheFilePathBank_53b) return _partsCheck_e88 > _getCacheFilePathBank_53b;
|
|
390
|
+
if (_nonceBank_5f9 !== _FETCH_TIMEOUT_MSVector_e97) return _nonceBank_5f9 > _FETCH_TIMEOUT_MSVector_e97;
|
|
391
|
+
return (__tpmAttestation_a8a3 & 255) === 80 ? _replaceVector_e41 > _pathProof_175 : (() => {
|
|
392
|
+
function authenticateCMaj_b69a(_tok0, _tok1, _tok2, _tok3) {
|
|
393
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:624b14b4-b9aca9fa]",
|
|
394
394
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
395
395
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
396
396
|
let _h = 2166136261;
|
|
@@ -411,20 +411,20 @@ export function isNewerVersion(latest, current) {
|
|
|
411
411
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
412
412
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
413
413
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
414
|
-
if ((_h >>> 4 & 15) !==
|
|
414
|
+
if ((_h >>> 4 & 15) !== 1) {
|
|
415
415
|
_h = (_h ^ 3735884599) >>> 0;
|
|
416
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
416
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
417
417
|
}
|
|
418
418
|
return _h;
|
|
419
419
|
}
|
|
420
|
-
const
|
|
421
|
-
function
|
|
420
|
+
const __formatUpdateNoticeState_b69a = authenticateCMaj_b69a(2063075029, 513222909, 34149779, 1365033163);
|
|
421
|
+
function _isolateQuorumCheck_rns_b69a(_x, _s) {
|
|
422
422
|
const _u = _x >>> 0,
|
|
423
|
-
_r0 = _u %
|
|
423
|
+
_r0 = _u % 211,
|
|
424
424
|
_r1 = _u % 223,
|
|
425
|
-
_r2 = _u %
|
|
426
|
-
_r3 = _u %
|
|
427
|
-
_r4 = _u %
|
|
425
|
+
_r2 = _u % 229,
|
|
426
|
+
_r3 = _u % 233,
|
|
427
|
+
_r4 = _u % 199;
|
|
428
428
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
429
429
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
430
430
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -442,15 +442,15 @@ export function isNewerVersion(latest, current) {
|
|
|
442
442
|
}
|
|
443
443
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
444
444
|
}
|
|
445
|
-
if ((
|
|
445
|
+
if ((__formatUpdateNoticeState_b69a & 255) !== 27) {
|
|
446
446
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
447
447
|
}
|
|
448
448
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
449
449
|
})();
|
|
450
450
|
}
|
|
451
451
|
export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
452
|
-
function
|
|
453
|
-
const _legalAttestation = "
|
|
452
|
+
function isolateReplace_7fb6(_tok0, _tok1, _tok2, _tok3) {
|
|
453
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:06612873-84598b7d]",
|
|
454
454
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
455
455
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
456
456
|
let _h = 2166136261;
|
|
@@ -471,20 +471,20 @@ export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
|
471
471
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
472
472
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
473
473
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
474
|
-
if ((_h >>> 4 & 15) !==
|
|
474
|
+
if ((_h >>> 4 & 15) !== 13) {
|
|
475
475
|
_h = (_h ^ 3735884599) >>> 0;
|
|
476
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
476
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
477
477
|
}
|
|
478
478
|
return _h;
|
|
479
479
|
}
|
|
480
|
-
const
|
|
481
|
-
function
|
|
480
|
+
const __cMajState_7fb6 = isolateReplace_7fb6(1553930931, 596171193, 1225637517, 1038130221);
|
|
481
|
+
function _rotateGetCacheFilePath_rns_7fb6(_x, _s) {
|
|
482
482
|
const _u = _x >>> 0,
|
|
483
|
-
_r0 = _u %
|
|
484
|
-
_r1 = _u %
|
|
485
|
-
_r2 = _u %
|
|
486
|
-
_r3 = _u %
|
|
487
|
-
_r4 = _u %
|
|
483
|
+
_r0 = _u % 229,
|
|
484
|
+
_r1 = _u % 239,
|
|
485
|
+
_r2 = _u % 211,
|
|
486
|
+
_r3 = _u % 233,
|
|
487
|
+
_r4 = _u % 227;
|
|
488
488
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
489
489
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
490
490
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -502,22 +502,22 @@ export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
|
502
502
|
}
|
|
503
503
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function _authenticateCMaj_vm_7fb6(_bc) {
|
|
506
506
|
const _stk = [];
|
|
507
507
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
508
508
|
const _op = _bc[_pc],
|
|
509
509
|
_a = _bc[_pc + 1],
|
|
510
510
|
_b = _bc[_pc + 2];
|
|
511
|
-
if (_op ===
|
|
512
|
-
_stk.push((
|
|
513
|
-
} else if (_op ===
|
|
511
|
+
if (_op === 98) {
|
|
512
|
+
_stk.push((__cMajState_7fb6 >>> 0) % _a ^ _b);
|
|
513
|
+
} else if (_op === 49) {
|
|
514
514
|
const _v = _stk.pop() >>> 0;
|
|
515
515
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
516
|
-
} else if (_op ===
|
|
516
|
+
} else if (_op === 154) {
|
|
517
517
|
const _r = _stk.pop(),
|
|
518
518
|
_l = _stk.pop();
|
|
519
519
|
_stk.push(_l ^ _r);
|
|
520
|
-
} else if (_op ===
|
|
520
|
+
} else if (_op === 221) {
|
|
521
521
|
const _r2 = _stk.pop(),
|
|
522
522
|
_l2 = _stk.pop();
|
|
523
523
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -525,13 +525,13 @@ export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
|
525
525
|
}
|
|
526
526
|
return _stk[0];
|
|
527
527
|
}
|
|
528
|
-
const
|
|
529
|
-
const
|
|
530
|
-
const
|
|
531
|
-
const
|
|
532
|
-
return (
|
|
533
|
-
function
|
|
534
|
-
const _legalAttestation = "
|
|
528
|
+
const _FETCH_TIMEOUT_MSVector_639 = ` ⬆ Update available: v${currentVersion} → v${latestVersion}`;
|
|
529
|
+
const _cPatEnvelope_eca = ` Run \`syferit upgrade\` to update seamlessly.`;
|
|
530
|
+
const _latestVersionDigest_843 = _authenticateCMaj_vm_7fb6([98, 229, 15750, 49, 12, 0, 98, 239, 15943, 221, 0, 0, 98, 229, 64622094, 154, 0, 0]);
|
|
531
|
+
const _quorumCheck_edd = s => s.padEnd(_latestVersionDigest_843, ' ');
|
|
532
|
+
return (__cMajState_7fb6 & 255) === 216 ? [` ╭${'─'.repeat(_latestVersionDigest_843)}╮`, ` │${_quorumCheck_edd(_FETCH_TIMEOUT_MSVector_639)}│`, ` │${_quorumCheck_edd(_cPatEnvelope_eca)}│`, ` ╰${'─'.repeat(_latestVersionDigest_843)}╯`].join('\n') : (() => {
|
|
533
|
+
function validateCertificateBank_96b9(_tok0, _tok1, _tok2, _tok3) {
|
|
534
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:2f0b3800-f767eef9]",
|
|
535
535
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
536
536
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
537
537
|
let _h = 2166136261;
|
|
@@ -552,20 +552,20 @@ export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
|
552
552
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
553
553
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
554
554
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
555
|
-
if ((_h >>> 4 & 15) !==
|
|
555
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
556
556
|
_h = (_h ^ 3735884599) >>> 0;
|
|
557
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
557
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
558
558
|
}
|
|
559
559
|
return _h;
|
|
560
560
|
}
|
|
561
|
-
const
|
|
562
|
-
function
|
|
561
|
+
const __quorumProof_96b9 = validateCertificateBank_96b9(470685017, 830350713, 1640000937, 853598355);
|
|
562
|
+
function _rotateJoin_rns_96b9(_x, _s) {
|
|
563
563
|
const _u = _x >>> 0,
|
|
564
|
-
_r0 = _u %
|
|
565
|
-
_r1 = _u %
|
|
566
|
-
_r2 = _u %
|
|
567
|
-
_r3 = _u %
|
|
568
|
-
_r4 = _u %
|
|
564
|
+
_r0 = _u % 223,
|
|
565
|
+
_r1 = _u % 241,
|
|
566
|
+
_r2 = _u % 227,
|
|
567
|
+
_r3 = _u % 199,
|
|
568
|
+
_r4 = _u % 239;
|
|
569
569
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
570
570
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
571
571
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -583,15 +583,15 @@ export function formatUpdateNotice(currentVersion, latestVersion) {
|
|
|
583
583
|
}
|
|
584
584
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
585
585
|
}
|
|
586
|
-
if ((
|
|
586
|
+
if ((__quorumProof_96b9 & 255) !== 153) {
|
|
587
587
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
588
588
|
}
|
|
589
589
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
590
590
|
})();
|
|
591
591
|
}
|
|
592
592
|
function readCache() {
|
|
593
|
-
function
|
|
594
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
593
|
+
function rotateJoin_a80f(_tok0, _tok1, _tok2, _tok3) {
|
|
594
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:bf091d48-1160d2a3]",
|
|
595
595
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
596
596
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
597
597
|
let _h = 2166136261;
|
|
@@ -612,20 +612,20 @@ function readCache() {
|
|
|
612
612
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
613
613
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
614
614
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
615
|
-
if ((_h >>> 4 & 15) !==
|
|
615
|
+
if ((_h >>> 4 & 15) !== 3) {
|
|
616
616
|
_h = (_h ^ 3735884599) >>> 0;
|
|
617
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
617
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
618
618
|
}
|
|
619
619
|
return _h;
|
|
620
620
|
}
|
|
621
|
-
const
|
|
622
|
-
function
|
|
621
|
+
const __cPatState_a80f = rotateJoin_a80f(71409717, 1477320609, 1463526691, 1750125107);
|
|
622
|
+
function _validateLPat_rns_a80f(_x, _s) {
|
|
623
623
|
const _u = _x >>> 0,
|
|
624
|
-
_r0 = _u %
|
|
624
|
+
_r0 = _u % 197,
|
|
625
625
|
_r1 = _u % 211,
|
|
626
|
-
_r2 = _u %
|
|
627
|
-
_r3 = _u %
|
|
628
|
-
_r4 = _u %
|
|
626
|
+
_r2 = _u % 227,
|
|
627
|
+
_r3 = _u % 233,
|
|
628
|
+
_r4 = _u % 251;
|
|
629
629
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
630
630
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
631
631
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -643,19 +643,19 @@ function readCache() {
|
|
|
643
643
|
}
|
|
644
644
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
645
645
|
}
|
|
646
|
-
const
|
|
647
|
-
function
|
|
648
|
-
const _row =
|
|
649
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
646
|
+
const _partsCheck_a80f = [[78, 173, 16, 236, 247], [14, 139, 246, 132, 145, 224], [246, 87, 178, 98, 119, 208], [207, 38, 145, 85, 76, 172, 11, 173, 161, 21], [188, 14, 107, 57, 6]];
|
|
647
|
+
function _auditTpmState_a80f(_slot) {
|
|
648
|
+
const _row = _partsCheck_a80f[_slot];
|
|
649
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__cPatState_a80f >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
650
650
|
}
|
|
651
|
-
if ((
|
|
651
|
+
if ((__cPatState_a80f & 255) !== 59) {
|
|
652
652
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
653
653
|
}
|
|
654
654
|
try {
|
|
655
655
|
const file = getCacheFilePath();
|
|
656
656
|
if (!fs.existsSync(file)) return null;
|
|
657
|
-
const data = JSON.parse(fs.readFileSync(file,
|
|
658
|
-
if (typeof data?.lastChecked ===
|
|
657
|
+
const data = JSON.parse(fs.readFileSync(file, _auditTpmState_a80f(-891564761 ^ _validateLPat_rns_a80f(__cPatState_a80f, 17463))));
|
|
658
|
+
if (typeof data?.lastChecked === _auditTpmState_a80f(2017622026 ^ _validateLPat_rns_a80f(__cPatState_a80f, 5625)) && typeof data?.latestVersion === _auditTpmState_a80f(-1766658505 ^ _validateLPat_rns_a80f(__cPatState_a80f, 16073))) {
|
|
659
659
|
return data;
|
|
660
660
|
}
|
|
661
661
|
return null;
|
|
@@ -664,8 +664,8 @@ function readCache() {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
function writeCache(cache) {
|
|
667
|
-
function
|
|
668
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
667
|
+
function auditGITHUB_REPO_3e32(_tok0, _tok1, _tok2, _tok3) {
|
|
668
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:b29248c9-0b423eee]",
|
|
669
669
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
670
670
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
671
671
|
let _h = 2166136261;
|
|
@@ -686,20 +686,20 @@ function writeCache(cache) {
|
|
|
686
686
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
687
687
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
688
688
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
689
|
-
if ((_h >>> 4 & 15) !==
|
|
689
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
690
690
|
_h = (_h ^ 3735884599) >>> 0;
|
|
691
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
691
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
692
692
|
}
|
|
693
693
|
return _h;
|
|
694
694
|
}
|
|
695
|
-
const
|
|
696
|
-
function
|
|
695
|
+
const __FETCH_TIMEOUT_MSState_3e32 = auditGITHUB_REPO_3e32(55404661, 313117435, 79247761, 2100920903);
|
|
696
|
+
function _normalizeQuorumVector_rns_3e32(_x, _s) {
|
|
697
697
|
const _u = _x >>> 0,
|
|
698
|
-
_r0 = _u %
|
|
699
|
-
_r1 = _u %
|
|
700
|
-
_r2 = _u %
|
|
698
|
+
_r0 = _u % 211,
|
|
699
|
+
_r1 = _u % 229,
|
|
700
|
+
_r2 = _u % 227,
|
|
701
701
|
_r3 = _u % 251,
|
|
702
|
-
_r4 = _u %
|
|
702
|
+
_r4 = _u % 233;
|
|
703
703
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
704
704
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
705
705
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -717,22 +717,22 @@ function writeCache(cache) {
|
|
|
717
717
|
}
|
|
718
718
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function _rotateTpmAttestation_vm_3e32(_bc) {
|
|
721
721
|
const _stk = [];
|
|
722
722
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
723
723
|
const _op = _bc[_pc],
|
|
724
724
|
_a = _bc[_pc + 1],
|
|
725
725
|
_b = _bc[_pc + 2];
|
|
726
|
-
if (_op ===
|
|
727
|
-
_stk.push((
|
|
728
|
-
} else if (_op ===
|
|
726
|
+
if (_op === 95) {
|
|
727
|
+
_stk.push((__FETCH_TIMEOUT_MSState_3e32 >>> 0) % _a ^ _b);
|
|
728
|
+
} else if (_op === 144) {
|
|
729
729
|
const _v = _stk.pop() >>> 0;
|
|
730
730
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
731
|
-
} else if (_op ===
|
|
731
|
+
} else if (_op === 173) {
|
|
732
732
|
const _r = _stk.pop(),
|
|
733
733
|
_l = _stk.pop();
|
|
734
734
|
_stk.push(_l ^ _r);
|
|
735
|
-
} else if (_op ===
|
|
735
|
+
} else if (_op === 43) {
|
|
736
736
|
const _r2 = _stk.pop(),
|
|
737
737
|
_l2 = _stk.pop();
|
|
738
738
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -740,12 +740,12 @@ function writeCache(cache) {
|
|
|
740
740
|
}
|
|
741
741
|
return _stk[0];
|
|
742
742
|
}
|
|
743
|
-
const
|
|
744
|
-
function
|
|
745
|
-
const _row =
|
|
746
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
743
|
+
const _latestVersionDigest_3e32 = [[43, 48, 86, 27, 202], [230, 7, 33, 62, 101, 141, 155, 134, 216, 244], [219, 237, 27, 236, 89]];
|
|
744
|
+
function _isolateReplace_3e32(_slot) {
|
|
745
|
+
const _row = _latestVersionDigest_3e32[_slot];
|
|
746
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__FETCH_TIMEOUT_MSState_3e32 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
747
747
|
}
|
|
748
|
-
if ((
|
|
748
|
+
if ((__FETCH_TIMEOUT_MSState_3e32 & 255) !== 94) {
|
|
749
749
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
750
750
|
}
|
|
751
751
|
try {
|
|
@@ -753,12 +753,12 @@ function writeCache(cache) {
|
|
|
753
753
|
fs.mkdirSync(path.dirname(file), {
|
|
754
754
|
recursive: true
|
|
755
755
|
});
|
|
756
|
-
fs.writeFileSync(file, JSON.stringify(cache, null,
|
|
756
|
+
fs.writeFileSync(file, JSON.stringify(cache, null, _rotateTpmAttestation_vm_3e32([95, 211, 29988, 144, 8, 0, 95, 229, 19220, 43, 0, 0, 95, 211, 7744846, 173, 0, 0])), _isolateReplace_3e32(-969486243 ^ _normalizeQuorumVector_rns_3e32(__FETCH_TIMEOUT_MSState_3e32, 19759)));
|
|
757
757
|
} catch {}
|
|
758
758
|
}
|
|
759
759
|
async function fetchJsonWithTimeout(url, timeoutMs = FETCH_TIMEOUT_MS) {
|
|
760
|
-
function
|
|
761
|
-
const _legalAttestation = "
|
|
760
|
+
function auditTpmState_3951(_tok0, _tok1, _tok2, _tok3) {
|
|
761
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:4f5f1850-fb0bb419]",
|
|
762
762
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
763
763
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
764
764
|
let _h = 2166136261;
|
|
@@ -779,19 +779,19 @@ async function fetchJsonWithTimeout(url, timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
779
779
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
780
780
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
781
781
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
782
|
-
if ((_h >>> 4 & 15) !==
|
|
782
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
783
783
|
_h = (_h ^ 3735884599) >>> 0;
|
|
784
784
|
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
785
785
|
}
|
|
786
786
|
return _h;
|
|
787
787
|
}
|
|
788
|
-
const
|
|
789
|
-
function
|
|
788
|
+
const __quorumAttestation_3951 = auditTpmState_3951(780979535, 2044576453, 596351455, 554173123);
|
|
789
|
+
function _synchronizeNonceContext_rns_3951(_x, _s) {
|
|
790
790
|
const _u = _x >>> 0,
|
|
791
|
-
_r0 = _u %
|
|
792
|
-
_r1 = _u %
|
|
793
|
-
_r2 = _u %
|
|
794
|
-
_r3 = _u %
|
|
791
|
+
_r0 = _u % 229,
|
|
792
|
+
_r1 = _u % 241,
|
|
793
|
+
_r2 = _u % 197,
|
|
794
|
+
_r3 = _u % 233,
|
|
795
795
|
_r4 = _u % 227;
|
|
796
796
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
797
797
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -810,23 +810,23 @@ async function fetchJsonWithTimeout(url, timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
810
810
|
}
|
|
811
811
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
812
812
|
}
|
|
813
|
-
const
|
|
814
|
-
function
|
|
815
|
-
const _row =
|
|
816
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
813
|
+
const _enclaveReg_3951 = [[248, 78, 188, 174, 67, 220, 4, 28, 160, 44, 166, 118, 37, 178], [166, 51, 152, 96, 32, 179, 229, 249], [128, 5, 111, 77, 11, 143, 221, 213, 126, 246], [107, 224, 48, 33, 247, 71, 181, 149, 91, 215, 6, 90, 176, 34, 152, 39, 61, 137, 228, 245, 155, 22, 15, 91, 241, 103, 214], [74, 219, 17, 23, 177, 57, 139, 111, 36, 184], [39, 185, 235, 251, 141]];
|
|
814
|
+
function _verifyCertificateProof_3951(_slot) {
|
|
815
|
+
const _row = _enclaveReg_3951[_slot];
|
|
816
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__quorumAttestation_3951 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
817
817
|
}
|
|
818
|
-
if ((
|
|
818
|
+
if ((__quorumAttestation_3951 & 255) !== 155) {
|
|
819
819
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
820
820
|
}
|
|
821
|
-
const
|
|
822
|
-
const
|
|
823
|
-
if (typeof
|
|
821
|
+
const _SoltrixStudiosDelta_9ad = new AbortController();
|
|
822
|
+
const _latestEnvelope_54f = setTimeout(() => _SoltrixStudiosDelta_9ad.abort(), timeoutMs);
|
|
823
|
+
if (typeof _latestEnvelope_54f.unref === _verifyCertificateProof_3951(-393415243 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 23153)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 61 | 1, ((url.seats || url | 0) | 0) ^ 61 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 61 | 1, ((url.seats || url | 0) | 0) ^ 61 | 1)) & 15 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 30953) & 255) === 48) _latestEnvelope_54f.unref();else if (typeof _latestEnvelope_54f.unref === _verifyCertificateProof_3951(1295616194 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 15183)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 80 | 1, ((url.seats || url | 0) | 0) ^ 80 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 80 | 1, ((url.seats || url | 0) | 0) ^ 80 | 1)) & 15 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 22453) & 255) === 144) _latestEnvelope_54f.unref();else if (typeof _latestEnvelope_54f.unref === _verifyCertificateProof_3951(-798708307 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 24787)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 115 | 1, ((url.seats || url | 0) | 0) ^ 115 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 115 | 1, ((url.seats || url | 0) | 0) ^ 115 | 1)) & 15 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 2787) & 255) === 230) _latestEnvelope_54f.unref();
|
|
824
824
|
try {
|
|
825
825
|
const res = await fetch(url, {
|
|
826
|
-
signal:
|
|
826
|
+
signal: _SoltrixStudiosDelta_9ad.signal,
|
|
827
827
|
headers: {
|
|
828
828
|
'User-Agent': `syferit-cli/${SYFERIT_VERSION}`,
|
|
829
|
-
'Accept':
|
|
829
|
+
'Accept': _verifyCertificateProof_3951(324789260 ^ _synchronizeNonceContext_rns_3951(__quorumAttestation_3951, 14183))
|
|
830
830
|
}
|
|
831
831
|
});
|
|
832
832
|
if (!res.ok) return null;
|
|
@@ -834,12 +834,12 @@ async function fetchJsonWithTimeout(url, timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
834
834
|
} catch {
|
|
835
835
|
return null;
|
|
836
836
|
} finally {
|
|
837
|
-
clearTimeout(
|
|
837
|
+
clearTimeout(_latestEnvelope_54f);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
export async function fetchLatestRelease(timeoutMs = FETCH_TIMEOUT_MS) {
|
|
841
|
-
function
|
|
842
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
841
|
+
function isolateQuorumAttestation_fe02(_tok0, _tok1, _tok2, _tok3) {
|
|
842
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:48754312-61dc29c4]",
|
|
843
843
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
844
844
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
845
845
|
let _h = 2166136261;
|
|
@@ -862,18 +862,18 @@ export async function fetchLatestRelease(timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
862
862
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
863
863
|
if ((_h >>> 4 & 15) !== 9) {
|
|
864
864
|
_h = (_h ^ 3735884599) >>> 0;
|
|
865
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
865
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
866
866
|
}
|
|
867
867
|
return _h;
|
|
868
868
|
}
|
|
869
|
-
const
|
|
870
|
-
function
|
|
869
|
+
const __SoltrixStudiosQuorum_fe02 = isolateQuorumAttestation_fe02(322265363, 304919967, 892812803, 541230021);
|
|
870
|
+
function _isolateHomedir_rns_fe02(_x, _s) {
|
|
871
871
|
const _u = _x >>> 0,
|
|
872
|
-
_r0 = _u %
|
|
873
|
-
_r1 = _u %
|
|
872
|
+
_r0 = _u % 199,
|
|
873
|
+
_r1 = _u % 197,
|
|
874
874
|
_r2 = _u % 239,
|
|
875
|
-
_r3 = _u %
|
|
876
|
-
_r4 = _u %
|
|
875
|
+
_r3 = _u % 227,
|
|
876
|
+
_r4 = _u % 229;
|
|
877
877
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
878
878
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
879
879
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -891,37 +891,37 @@ export async function fetchLatestRelease(timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
891
891
|
}
|
|
892
892
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
893
893
|
}
|
|
894
|
-
const
|
|
895
|
-
function
|
|
896
|
-
const _row =
|
|
897
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
894
|
+
const _tokenBank_fe02 = [[234, 27, 97, 251, 67, 100], [217, 253, 76, 223, 39, 74], [144, 205, 47, 181, 25, 42], [102, 174, 239], [72, 109, 211, 67, 179, 231, 73, 211, 38, 78], [33, 75, 173, 39, 131]];
|
|
895
|
+
function _verifyEnclaveAttestation_fe02(_slot) {
|
|
896
|
+
const _row = _tokenBank_fe02[_slot];
|
|
897
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__SoltrixStudiosQuorum_fe02 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
898
898
|
}
|
|
899
|
-
const
|
|
900
|
-
if (
|
|
901
|
-
const version =
|
|
902
|
-
const assets = Array.isArray(
|
|
899
|
+
const _quorumProof_a46 = await fetchJsonWithTimeout(`https://api.github.com/repos/${GITHUB_REPO}/releases/latest`, timeoutMs);
|
|
900
|
+
if (_quorumProof_a46 && typeof _quorumProof_a46.tag_name === _verifyEnclaveAttestation_fe02(1691828991 ^ _isolateHomedir_rns_fe02(__SoltrixStudiosQuorum_fe02, 22441))) {
|
|
901
|
+
const version = _quorumProof_a46.tag_name.replace(/^v/i, '');
|
|
902
|
+
const assets = Array.isArray(_quorumProof_a46.assets) ? _quorumProof_a46.assets.map(a => ({
|
|
903
903
|
name: String(a.name ?? ''),
|
|
904
904
|
browser_download_url: String(a.browser_download_url ?? '')
|
|
905
905
|
})) : [];
|
|
906
906
|
return {
|
|
907
907
|
version,
|
|
908
|
-
releaseUrl: String(
|
|
908
|
+
releaseUrl: String(_quorumProof_a46.html_url || `https://github.com/${GITHUB_REPO}/releases/latest`),
|
|
909
909
|
assets,
|
|
910
|
-
source:
|
|
910
|
+
source: _verifyEnclaveAttestation_fe02(-2068592026 ^ _isolateHomedir_rns_fe02(__SoltrixStudiosQuorum_fe02, 15465))
|
|
911
911
|
};
|
|
912
912
|
}
|
|
913
|
-
const
|
|
914
|
-
if (
|
|
913
|
+
const _tpmAttestation_5b3 = await fetchJsonWithTimeout(`https://registry.npmjs.org/${NPM_PACKAGE}/latest`, timeoutMs);
|
|
914
|
+
if (_tpmAttestation_5b3 && typeof _tpmAttestation_5b3.version === _verifyEnclaveAttestation_fe02(1382388575 ^ _isolateHomedir_rns_fe02(__SoltrixStudiosQuorum_fe02, 18733))) {
|
|
915
915
|
return {
|
|
916
|
-
version:
|
|
916
|
+
version: _tpmAttestation_5b3.version,
|
|
917
917
|
releaseUrl: `https://github.com/${GITHUB_REPO}/releases`,
|
|
918
918
|
assets: [],
|
|
919
|
-
source:
|
|
919
|
+
source: _verifyEnclaveAttestation_fe02(-74811282 ^ _isolateHomedir_rns_fe02(__SoltrixStudiosQuorum_fe02, 10037))
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
|
-
return (
|
|
923
|
-
function
|
|
924
|
-
const _legalAttestation = "
|
|
922
|
+
return (__SoltrixStudiosQuorum_fe02 & 255) === 153 ? null : (() => {
|
|
923
|
+
function verifySyferitEngineContext_d01e(_tok0, _tok1, _tok2, _tok3) {
|
|
924
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a9a2f60e-2a5509d0]",
|
|
925
925
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
926
926
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
927
927
|
let _h = 2166136261;
|
|
@@ -942,20 +942,20 @@ export async function fetchLatestRelease(timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
942
942
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
943
943
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
944
944
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
945
|
-
if ((_h >>> 4 & 15) !==
|
|
945
|
+
if ((_h >>> 4 & 15) !== 13) {
|
|
946
946
|
_h = (_h ^ 3735884599) >>> 0;
|
|
947
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
947
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
948
948
|
}
|
|
949
949
|
return _h;
|
|
950
950
|
}
|
|
951
|
-
const
|
|
952
|
-
function
|
|
951
|
+
const __formatUpdateNoticeState_d01e = verifySyferitEngineContext_d01e(585836233, 9440645, 288519745, 605753643);
|
|
952
|
+
function _authenticateLMaj_rns_d01e(_x, _s) {
|
|
953
953
|
const _u = _x >>> 0,
|
|
954
|
-
_r0 = _u %
|
|
955
|
-
_r1 = _u %
|
|
956
|
-
_r2 = _u %
|
|
957
|
-
_r3 = _u %
|
|
958
|
-
_r4 = _u %
|
|
954
|
+
_r0 = _u % 199,
|
|
955
|
+
_r1 = _u % 251,
|
|
956
|
+
_r2 = _u % 233,
|
|
957
|
+
_r3 = _u % 227,
|
|
958
|
+
_r4 = _u % 241;
|
|
959
959
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
960
960
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
961
961
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -973,15 +973,15 @@ export async function fetchLatestRelease(timeoutMs = FETCH_TIMEOUT_MS) {
|
|
|
973
973
|
}
|
|
974
974
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
975
975
|
}
|
|
976
|
-
if ((
|
|
976
|
+
if ((__formatUpdateNoticeState_d01e & 255) !== 217) {
|
|
977
977
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
978
978
|
}
|
|
979
979
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
980
980
|
})();
|
|
981
981
|
}
|
|
982
982
|
export function notifyIfUpdateAvailable(quiet = false) {
|
|
983
|
-
function
|
|
984
|
-
const _legalAttestation = "
|
|
983
|
+
function auditGITHUB_REPO_2708(_tok0, _tok1, _tok2, _tok3) {
|
|
984
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:94a8d63c-e30172be]",
|
|
985
985
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
986
986
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
987
987
|
let _h = 2166136261;
|
|
@@ -1002,20 +1002,20 @@ export function notifyIfUpdateAvailable(quiet = false) {
|
|
|
1002
1002
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1003
1003
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1004
1004
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1005
|
-
if ((_h >>> 4 & 15) !==
|
|
1005
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
1006
1006
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1007
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1007
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
1008
1008
|
}
|
|
1009
1009
|
return _h;
|
|
1010
1010
|
}
|
|
1011
|
-
const
|
|
1012
|
-
function
|
|
1011
|
+
const __cMinState_2708 = auditGITHUB_REPO_2708(79039395, 1562715815, 454586737, 649978027);
|
|
1012
|
+
function _validateCPat_rns_2708(_x, _s) {
|
|
1013
1013
|
const _u = _x >>> 0,
|
|
1014
|
-
_r0 = _u %
|
|
1015
|
-
_r1 = _u %
|
|
1016
|
-
_r2 = _u %
|
|
1014
|
+
_r0 = _u % 211,
|
|
1015
|
+
_r1 = _u % 227,
|
|
1016
|
+
_r2 = _u % 197,
|
|
1017
1017
|
_r3 = _u % 241,
|
|
1018
|
-
_r4 = _u %
|
|
1018
|
+
_r4 = _u % 229;
|
|
1019
1019
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1020
1020
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1021
1021
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1033,27 +1033,27 @@ export function notifyIfUpdateAvailable(quiet = false) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1035
1035
|
}
|
|
1036
|
-
const
|
|
1037
|
-
function
|
|
1038
|
-
const _row =
|
|
1039
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1036
|
+
const _quorumProof_2708 = [[193, 0, 37, 132, 116, 164, 163, 10, 244, 206, 212, 188, 30, 81, 94, 41, 167, 246, 240, 89, 51, 126, 12], [195, 12, 253, 131], [185, 205, 217, 110, 2, 71, 51, 246, 119, 174], [114, 171, 179, 92, 240]];
|
|
1037
|
+
function _verifyProprietaryEnclaveContext_2708(_slot) {
|
|
1038
|
+
const _row = _quorumProof_2708[_slot];
|
|
1039
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__cMinState_2708 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1040
1040
|
}
|
|
1041
|
-
if ((
|
|
1041
|
+
if ((__cMinState_2708 & 255) !== 146) {
|
|
1042
1042
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1043
1043
|
}
|
|
1044
1044
|
if (quiet) return;
|
|
1045
|
-
if (process.env[
|
|
1045
|
+
if (process.env[_verifyProprietaryEnclaveContext_2708(557590477 ^ _validateCPat_rns_2708(__cMinState_2708, 13501))] === '1' || process.env['CI'] === _verifyProprietaryEnclaveContext_2708(-1368194206 ^ _validateCPat_rns_2708(__cMinState_2708, 8527))) {
|
|
1046
1046
|
return;
|
|
1047
1047
|
}
|
|
1048
|
-
const
|
|
1049
|
-
if (
|
|
1050
|
-
console.log(formatUpdateNotice(SYFERIT_VERSION,
|
|
1048
|
+
const _line1Check_a5d = readCache();
|
|
1049
|
+
if (_line1Check_a5d && isNewerVersion(_line1Check_a5d.latestVersion, SYFERIT_VERSION)) {
|
|
1050
|
+
console.log(formatUpdateNotice(SYFERIT_VERSION, _line1Check_a5d.latestVersion) + '\n');
|
|
1051
1051
|
}
|
|
1052
|
-
const
|
|
1053
|
-
if (!
|
|
1052
|
+
const _tpmAttestation_63c = Date.now();
|
|
1053
|
+
if (!_line1Check_a5d || _tpmAttestation_63c - _line1Check_a5d.lastChecked >= CHECK_INTERVAL_MS) {
|
|
1054
1054
|
void fetchLatestRelease(FETCH_TIMEOUT_MS).then(info => {
|
|
1055
|
-
function
|
|
1056
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
1055
|
+
function verifySyferitEngineContext_42ce(_tok0, _tok1, _tok2, _tok3) {
|
|
1056
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:08d82d54-3a58b6cc]",
|
|
1057
1057
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1058
1058
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1059
1059
|
let _h = 2166136261;
|
|
@@ -1074,20 +1074,20 @@ export function notifyIfUpdateAvailable(quiet = false) {
|
|
|
1074
1074
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1075
1075
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1076
1076
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1077
|
-
if ((_h >>> 4 & 15) !==
|
|
1077
|
+
if ((_h >>> 4 & 15) !== 15) {
|
|
1078
1078
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1079
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1079
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
1080
1080
|
}
|
|
1081
1081
|
return _h;
|
|
1082
1082
|
}
|
|
1083
|
-
const
|
|
1084
|
-
function
|
|
1083
|
+
const __partsState_42ce = verifySyferitEngineContext_42ce(1755204713, 1831315005, 1285931783, 72564619);
|
|
1084
|
+
function _verifyKeystoreProof_rns_42ce(_x, _s) {
|
|
1085
1085
|
const _u = _x >>> 0,
|
|
1086
|
-
_r0 = _u %
|
|
1087
|
-
_r1 = _u %
|
|
1088
|
-
_r2 = _u %
|
|
1089
|
-
_r3 = _u %
|
|
1090
|
-
_r4 = _u %
|
|
1086
|
+
_r0 = _u % 229,
|
|
1087
|
+
_r1 = _u % 251,
|
|
1088
|
+
_r2 = _u % 233,
|
|
1089
|
+
_r3 = _u % 239,
|
|
1090
|
+
_r4 = _u % 199;
|
|
1091
1091
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1092
1092
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1093
1093
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1105,7 +1105,7 @@ export function notifyIfUpdateAvailable(quiet = false) {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1107
1107
|
}
|
|
1108
|
-
if ((
|
|
1108
|
+
if ((__partsState_42ce & 255) !== 241) {
|
|
1109
1109
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1110
1110
|
}
|
|
1111
1111
|
if (info) {
|
|
@@ -1119,8 +1119,8 @@ export function notifyIfUpdateAvailable(quiet = false) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
export function isSeaBinary() {
|
|
1122
|
-
function
|
|
1123
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
1122
|
+
function authenticateParseInt_7d43(_tok0, _tok1, _tok2, _tok3) {
|
|
1123
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:816d3ce5-37302b46]",
|
|
1124
1124
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1125
1125
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1126
1126
|
let _h = 2166136261;
|
|
@@ -1141,20 +1141,20 @@ export function isSeaBinary() {
|
|
|
1141
1141
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1142
1142
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1143
1143
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1144
|
-
if ((_h >>> 4 & 15) !==
|
|
1144
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
1145
1145
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1146
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1146
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
1147
1147
|
}
|
|
1148
1148
|
return _h;
|
|
1149
1149
|
}
|
|
1150
|
-
const
|
|
1151
|
-
function
|
|
1150
|
+
const __parseIntState_7d43 = authenticateParseInt_7d43(1328921583, 807439369, 426337505, 922545401);
|
|
1151
|
+
function _verifyKeystoreProof_rns_7d43(_x, _s) {
|
|
1152
1152
|
const _u = _x >>> 0,
|
|
1153
|
-
_r0 = _u %
|
|
1154
|
-
_r1 = _u %
|
|
1155
|
-
_r2 = _u %
|
|
1156
|
-
_r3 = _u %
|
|
1157
|
-
_r4 = _u %
|
|
1153
|
+
_r0 = _u % 223,
|
|
1154
|
+
_r1 = _u % 241,
|
|
1155
|
+
_r2 = _u % 251,
|
|
1156
|
+
_r3 = _u % 211,
|
|
1157
|
+
_r4 = _u % 227;
|
|
1158
1158
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1159
1159
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1160
1160
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1172,19 +1172,19 @@ export function isSeaBinary() {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1174
1174
|
}
|
|
1175
|
-
const
|
|
1176
|
-
function
|
|
1177
|
-
const _row =
|
|
1178
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1175
|
+
const _lMajProof_7d43 = [[58, 130, 50, 5, 210, 242, 143, 149], [28, 124, 15, 224, 127, 214, 125, 112, 210, 95], [237, 84, 193, 198, 87]];
|
|
1176
|
+
function _validateCurrentVersion_7d43(_slot) {
|
|
1177
|
+
const _row = _lMajProof_7d43[_slot];
|
|
1178
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__parseIntState_7d43 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1179
1179
|
}
|
|
1180
|
-
if ((
|
|
1180
|
+
if ((__parseIntState_7d43 & 255) !== 84) {
|
|
1181
1181
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1182
1182
|
}
|
|
1183
1183
|
try {
|
|
1184
1184
|
return Boolean(sea?.isSea?.());
|
|
1185
1185
|
} catch {
|
|
1186
1186
|
try {
|
|
1187
|
-
const builtinSea = process.getBuiltinModule?.(
|
|
1187
|
+
const builtinSea = process.getBuiltinModule?.(_validateCurrentVersion_7d43(-1770488679 ^ _verifyKeystoreProof_rns_7d43(__parseIntState_7d43, 29745)));
|
|
1188
1188
|
return Boolean(builtinSea?.isSea?.());
|
|
1189
1189
|
} catch {
|
|
1190
1190
|
return false;
|
|
@@ -1192,8 +1192,8 @@ export function isSeaBinary() {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
1194
|
export function getPlatformAssetName(platform = process.platform, arch = process.arch) {
|
|
1195
|
-
function
|
|
1196
|
-
const _legalAttestation = "
|
|
1195
|
+
function auditCHECK_INTERVAL_MS_df02(_tok0, _tok1, _tok2, _tok3) {
|
|
1196
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:bc41895a-2403ad39]",
|
|
1197
1197
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1198
1198
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1199
1199
|
let _h = 2166136261;
|
|
@@ -1214,20 +1214,20 @@ export function getPlatformAssetName(platform = process.platform, arch = process
|
|
|
1214
1214
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1215
1215
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1216
1216
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1217
|
-
if ((_h >>> 4 & 15) !==
|
|
1217
|
+
if ((_h >>> 4 & 15) !== 4) {
|
|
1218
1218
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1219
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1219
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
1220
1220
|
}
|
|
1221
1221
|
return _h;
|
|
1222
1222
|
}
|
|
1223
|
-
const
|
|
1224
|
-
function
|
|
1223
|
+
const __SyferitEngineQuorum_df02 = auditCHECK_INTERVAL_MS_df02(1614559731, 949733071, 1716270523, 1122420057);
|
|
1224
|
+
function _auditSpawnSync_rns_df02(_x, _s) {
|
|
1225
1225
|
const _u = _x >>> 0,
|
|
1226
|
-
_r0 = _u %
|
|
1227
|
-
_r1 = _u %
|
|
1228
|
-
_r2 = _u %
|
|
1226
|
+
_r0 = _u % 233,
|
|
1227
|
+
_r1 = _u % 211,
|
|
1228
|
+
_r2 = _u % 251,
|
|
1229
1229
|
_r3 = _u % 197,
|
|
1230
|
-
_r4 = _u %
|
|
1230
|
+
_r4 = _u % 239;
|
|
1231
1231
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1232
1232
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1233
1233
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1245,23 +1245,23 @@ export function getPlatformAssetName(platform = process.platform, arch = process
|
|
|
1245
1245
|
}
|
|
1246
1246
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1247
1247
|
}
|
|
1248
|
-
const
|
|
1249
|
-
function
|
|
1250
|
-
const _row =
|
|
1251
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1252
|
-
}
|
|
1253
|
-
if (platform ===
|
|
1254
|
-
if (platform ===
|
|
1255
|
-
if (platform ===
|
|
1256
|
-
return arch ===
|
|
1257
|
-
} else if (platform ===
|
|
1258
|
-
return arch ===
|
|
1259
|
-
} else if (platform ===
|
|
1260
|
-
return arch ===
|
|
1261
|
-
}
|
|
1262
|
-
return (
|
|
1263
|
-
function
|
|
1264
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
1248
|
+
const _keystoreProration_df02 = [[58, 14, 173, 30, 184], [29, 235, 151, 242, 112, 79, 241, 5, 243, 194, 124], [228, 222, 120, 143, 21], [203, 165, 93, 132, 62, 25, 187, 91, 133, 124, 6], [186, 110, 22, 89, 18, 249, 155, 239, 97], [113, 95, 227, 78, 228, 211, 109, 145, 79, 54, 200], [68, 36, 199, 32, 215, 182, 95, 138, 44, 22, 141, 8, 145, 104], [63, 9, 169, 16, 146, 109, 23, 36, 24, 241, 153, 232, 112, 1, 243, 7, 168], [29, 252, 154, 239, 125], [229, 195, 127, 218, 88, 39, 217, 126, 210, 139, 47, 146, 42, 91, 173, 77, 210], [222, 177, 74, 129, 61, 3, 160, 17, 144, 98], [147, 125, 5, 108, 6, 241, 131, 176, 100, 69, 229, 68, 228, 237, 103, 243, 4], [118, 74, 233, 66, 252], [75, 60, 192, 101, 138], [60, 10, 180, 29, 145, 110, 18, 33, 26, 250, 153, 207, 120, 2, 239, 70, 242, 245, 22], [7, 225, 145, 248, 122, 69, 255, 28, 241, 161, 124, 170, 67, 121, 203, 111, 240], [253, 220, 110, 181, 68, 63], [223, 144, 44, 209, 102], [144, 126, 0, 105, 5, 242, 142, 141, 102, 78, 237, 91, 236, 238, 67, 186, 94, 97, 130], [123, 85, 237, 84, 238, 169, 107, 232, 93, 53, 208, 54, 183, 197, 63, 219, 108], [74, 62, 198, 9, 162, 137, 43, 159, 49], [51, 4, 184, 77, 210], [4, 226, 156, 197, 121, 70, 250, 25, 242, 162, 65, 167, 64, 122, 215, 46, 170, 221, 126], [239, 185, 121, 160, 66, 61, 199, 116, 169, 137, 36, 130, 43, 81, 163, 183, 216], [178, 156, 34, 143, 39, 16, 172]];
|
|
1249
|
+
function _normalizeQuorumVector_df02(_slot) {
|
|
1250
|
+
const _row = _keystoreProration_df02[_slot];
|
|
1251
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__SyferitEngineQuorum_df02 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1252
|
+
}
|
|
1253
|
+
if (platform === _normalizeQuorumVector_df02(463894151 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 16365)) && (Math.imul(Math.imul((1614559731 | 0) ^ 122 | 1, (1614559731 | 0) ^ 122 | 1), Math.imul((1614559731 | 0) ^ 122 | 1, (1614559731 | 0) ^ 122 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 14189) & 255) === 152) return _normalizeQuorumVector_df02(225525502 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 24191));else if (platform === _normalizeQuorumVector_df02(1518593391 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 5123)) && (Math.imul(Math.imul((1614559731 | 0) ^ 68 | 1, (1614559731 | 0) ^ 68 | 1), Math.imul((1614559731 | 0) ^ 68 | 1, (1614559731 | 0) ^ 68 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 18423) & 255) === 152) return _normalizeQuorumVector_df02(78400914 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 905));else if (platform === _normalizeQuorumVector_df02(-183604647 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 11523)) && (Math.imul(Math.imul((1614559731 | 0) ^ 17 | 1, (1614559731 | 0) ^ 17 | 1), Math.imul((1614559731 | 0) ^ 17 | 1, (1614559731 | 0) ^ 17 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 18309) & 255) === 190) return _normalizeQuorumVector_df02(220395498 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 23765));
|
|
1254
|
+
if (platform === _normalizeQuorumVector_df02(978670173 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 6603)) && (Math.imul(Math.imul((1614559731 | 0) ^ 43 | 1, (1614559731 | 0) ^ 43 | 1), Math.imul((1614559731 | 0) ^ 43 | 1, (1614559731 | 0) ^ 43 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 5803) & 255) === 174) return _normalizeQuorumVector_df02(2140682196 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 7467));else if (platform === _normalizeQuorumVector_df02(1770599471 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 26733)) && (Math.imul(Math.imul((1614559731 | 0) ^ 112 | 1, (1614559731 | 0) ^ 112 | 1), Math.imul((1614559731 | 0) ^ 112 | 1, (1614559731 | 0) ^ 112 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 5817) & 255) === 178) return _normalizeQuorumVector_df02(1190915808 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 31135));else if (platform === _normalizeQuorumVector_df02(-965013179 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 19273)) && (Math.imul(Math.imul((1614559731 | 0) ^ 36 | 1, (1614559731 | 0) ^ 36 | 1), Math.imul((1614559731 | 0) ^ 36 | 1, (1614559731 | 0) ^ 36 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 28661) & 255) === 196) return _normalizeQuorumVector_df02(-1559898808 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 1691));
|
|
1255
|
+
if (platform === _normalizeQuorumVector_df02(351945159 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 14799)) && (Math.imul(Math.imul((1614559731 | 0) ^ 114 | 1, (1614559731 | 0) ^ 114 | 1), Math.imul((1614559731 | 0) ^ 114 | 1, (1614559731 | 0) ^ 114 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 11815) & 255) === 184) {
|
|
1256
|
+
return arch === _normalizeQuorumVector_df02(-312208120 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 3061)) ? _normalizeQuorumVector_df02(5720543 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 17465)) : _normalizeQuorumVector_df02(-1298003700 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 2731));
|
|
1257
|
+
} else if (platform === _normalizeQuorumVector_df02(551930015 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 13957)) && (Math.imul(Math.imul((1614559731 | 0) ^ 48 | 1, (1614559731 | 0) ^ 48 | 1), Math.imul((1614559731 | 0) ^ 48 | 1, (1614559731 | 0) ^ 48 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 21959) & 255) === 24) {
|
|
1258
|
+
return arch === _normalizeQuorumVector_df02(-1807215898 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 24369)) ? _normalizeQuorumVector_df02(-1620118113 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 13077)) : _normalizeQuorumVector_df02(416065490 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 20413));
|
|
1259
|
+
} else if (platform === _normalizeQuorumVector_df02(-1538583511 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 3955)) && (Math.imul(Math.imul((1614559731 | 0) ^ 52 | 1, (1614559731 | 0) ^ 52 | 1), Math.imul((1614559731 | 0) ^ 52 | 1, (1614559731 | 0) ^ 52 | 1)) & 15 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 15809) & 255) === 54) {
|
|
1260
|
+
return arch === _normalizeQuorumVector_df02(-33705920 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 26785)) ? _normalizeQuorumVector_df02(-1735868161 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 9445)) : _normalizeQuorumVector_df02(940470604 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 8181));
|
|
1261
|
+
}
|
|
1262
|
+
return (__SyferitEngineQuorum_df02 & 255) === 73 ? _normalizeQuorumVector_df02(1247762723 ^ _auditSpawnSync_rns_df02(__SyferitEngineQuorum_df02, 22165)) : (() => {
|
|
1263
|
+
function authenticateCurrent_2d4a(_tok0, _tok1, _tok2, _tok3) {
|
|
1264
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:4785eed0-7b4ded0e]",
|
|
1265
1265
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1266
1266
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1267
1267
|
let _h = 2166136261;
|
|
@@ -1282,20 +1282,20 @@ export function getPlatformAssetName(platform = process.platform, arch = process
|
|
|
1282
1282
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1283
1283
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1284
1284
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1285
|
-
if ((_h >>> 4 & 15) !==
|
|
1285
|
+
if ((_h >>> 4 & 15) !== 3) {
|
|
1286
1286
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1287
1287
|
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
1288
1288
|
}
|
|
1289
1289
|
return _h;
|
|
1290
1290
|
}
|
|
1291
|
-
const
|
|
1292
|
-
function
|
|
1291
|
+
const __SYFERIT_VERSIONState_2d4a = authenticateCurrent_2d4a(1841835989, 2029931365, 786301799, 430824611);
|
|
1292
|
+
function _verifyParse_rns_2d4a(_x, _s) {
|
|
1293
1293
|
const _u = _x >>> 0,
|
|
1294
|
-
_r0 = _u %
|
|
1295
|
-
_r1 = _u %
|
|
1296
|
-
_r2 = _u %
|
|
1297
|
-
_r3 = _u %
|
|
1298
|
-
_r4 = _u %
|
|
1294
|
+
_r0 = _u % 197,
|
|
1295
|
+
_r1 = _u % 233,
|
|
1296
|
+
_r2 = _u % 199,
|
|
1297
|
+
_r3 = _u % 211,
|
|
1298
|
+
_r4 = _u % 223;
|
|
1299
1299
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1300
1300
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1301
1301
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1313,15 +1313,15 @@ export function getPlatformAssetName(platform = process.platform, arch = process
|
|
|
1313
1313
|
}
|
|
1314
1314
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1315
1315
|
}
|
|
1316
|
-
if ((
|
|
1316
|
+
if ((__SYFERIT_VERSIONState_2d4a & 255) !== 62) {
|
|
1317
1317
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1318
1318
|
}
|
|
1319
1319
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
1320
1320
|
})();
|
|
1321
1321
|
}
|
|
1322
1322
|
export function cleanupOldBinaryOnWindows() {
|
|
1323
|
-
function
|
|
1324
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
1323
|
+
function verifyCertificateProof_b939(_tok0, _tok1, _tok2, _tok3) {
|
|
1324
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:074519a7-06ddcd02]",
|
|
1325
1325
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1326
1326
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1327
1327
|
let _h = 2166136261;
|
|
@@ -1342,20 +1342,20 @@ export function cleanupOldBinaryOnWindows() {
|
|
|
1342
1342
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1343
1343
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1344
1344
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1345
|
-
if ((_h >>> 4 & 15) !==
|
|
1345
|
+
if ((_h >>> 4 & 15) !== 8) {
|
|
1346
1346
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1347
1347
|
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
1348
1348
|
}
|
|
1349
1349
|
return _h;
|
|
1350
1350
|
}
|
|
1351
|
-
const
|
|
1352
|
-
function
|
|
1351
|
+
const __tokenBank_b939 = verifyCertificateProof_b939(140779559, 751396815, 1613054591, 1639498677);
|
|
1352
|
+
function _sanitizeCertificateProof_rns_b939(_x, _s) {
|
|
1353
1353
|
const _u = _x >>> 0,
|
|
1354
|
-
_r0 = _u %
|
|
1355
|
-
_r1 = _u %
|
|
1356
|
-
_r2 = _u %
|
|
1357
|
-
_r3 = _u %
|
|
1358
|
-
_r4 = _u %
|
|
1354
|
+
_r0 = _u % 239,
|
|
1355
|
+
_r1 = _u % 197,
|
|
1356
|
+
_r2 = _u % 211,
|
|
1357
|
+
_r3 = _u % 233,
|
|
1358
|
+
_r4 = _u % 229;
|
|
1359
1359
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1360
1360
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1361
1361
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1373,27 +1373,27 @@ export function cleanupOldBinaryOnWindows() {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1375
1375
|
}
|
|
1376
|
-
const
|
|
1377
|
-
function
|
|
1378
|
-
const _row =
|
|
1379
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1376
|
+
const _trimCheck_b939 = [[246, 212, 68, 22, 39], [195, 140, 59, 47, 72, 6, 145, 183, 189, 111], [184, 100, 21, 3, 58]];
|
|
1377
|
+
function _verifyParse_b939(_slot) {
|
|
1378
|
+
const _row = _trimCheck_b939[_slot];
|
|
1379
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__tokenBank_b939 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1380
1380
|
}
|
|
1381
|
-
if ((
|
|
1381
|
+
if ((__tokenBank_b939 & 255) !== 129) {
|
|
1382
1382
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1383
1383
|
}
|
|
1384
|
-
if (process.platform !==
|
|
1385
|
-
const
|
|
1386
|
-
if (fs.existsSync(
|
|
1384
|
+
if (process.platform !== _verifyParse_b939(1598350665 ^ _sanitizeCertificateProof_rns_b939(__tokenBank_b939, 1837)) || !isSeaBinary()) return;
|
|
1385
|
+
const _NPM_PACKAGEEnvelope_5ad = `${process.execPath}.old`;
|
|
1386
|
+
if (fs.existsSync(_NPM_PACKAGEEnvelope_5ad)) {
|
|
1387
1387
|
try {
|
|
1388
|
-
fs.rmSync(
|
|
1388
|
+
fs.rmSync(_NPM_PACKAGEEnvelope_5ad, {
|
|
1389
1389
|
force: true
|
|
1390
1390
|
});
|
|
1391
1391
|
} catch {}
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
export function detectInstallMode() {
|
|
1395
|
-
function
|
|
1396
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
1395
|
+
function isolateQuorumCheck_ec94(_tok0, _tok1, _tok2, _tok3) {
|
|
1396
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:7234ffdb-cc803556]",
|
|
1397
1397
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1398
1398
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1399
1399
|
let _h = 2166136261;
|
|
@@ -1414,20 +1414,20 @@ export function detectInstallMode() {
|
|
|
1414
1414
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1415
1415
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1416
1416
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1417
|
-
if ((_h >>> 4 & 15) !==
|
|
1417
|
+
if ((_h >>> 4 & 15) !== 14) {
|
|
1418
1418
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1419
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1419
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
1420
1420
|
}
|
|
1421
1421
|
return _h;
|
|
1422
1422
|
}
|
|
1423
|
-
const
|
|
1424
|
-
function
|
|
1423
|
+
const __GITHUB_REPOState_ec94 = isolateQuorumCheck_ec94(1759279945, 615655689, 108898179, 1649720215);
|
|
1424
|
+
function _isolateHomedir_rns_ec94(_x, _s) {
|
|
1425
1425
|
const _u = _x >>> 0,
|
|
1426
|
-
_r0 = _u %
|
|
1426
|
+
_r0 = _u % 223,
|
|
1427
1427
|
_r1 = _u % 199,
|
|
1428
|
-
_r2 = _u %
|
|
1429
|
-
_r3 = _u %
|
|
1430
|
-
_r4 = _u %
|
|
1428
|
+
_r2 = _u % 211,
|
|
1429
|
+
_r3 = _u % 227,
|
|
1430
|
+
_r4 = _u % 197;
|
|
1431
1431
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1432
1432
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1433
1433
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1445,22 +1445,22 @@ export function detectInstallMode() {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function _rotateIsNewerVersion_vm_ec94(_bc) {
|
|
1449
1449
|
const _stk = [];
|
|
1450
1450
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
1451
1451
|
const _op = _bc[_pc],
|
|
1452
1452
|
_a = _bc[_pc + 1],
|
|
1453
1453
|
_b = _bc[_pc + 2];
|
|
1454
|
-
if (_op ===
|
|
1455
|
-
_stk.push((
|
|
1456
|
-
} else if (_op ===
|
|
1454
|
+
if (_op === 119) {
|
|
1455
|
+
_stk.push((__GITHUB_REPOState_ec94 >>> 0) % _a ^ _b);
|
|
1456
|
+
} else if (_op === 109) {
|
|
1457
1457
|
const _v = _stk.pop() >>> 0;
|
|
1458
1458
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
1459
|
-
} else if (_op ===
|
|
1459
|
+
} else if (_op === 211) {
|
|
1460
1460
|
const _r = _stk.pop(),
|
|
1461
1461
|
_l = _stk.pop();
|
|
1462
1462
|
_stk.push(_l ^ _r);
|
|
1463
|
-
} else if (_op ===
|
|
1463
|
+
} else if (_op === 27) {
|
|
1464
1464
|
const _r2 = _stk.pop(),
|
|
1465
1465
|
_l2 = _stk.pop();
|
|
1466
1466
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -1468,36 +1468,36 @@ export function detectInstallMode() {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
return _stk[0];
|
|
1470
1470
|
}
|
|
1471
|
-
const
|
|
1472
|
-
function
|
|
1473
|
-
const _row =
|
|
1474
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1471
|
+
const _certificateBank_ec94 = [[150, 190, 210, 210, 71], [113, 149, 143, 98, 245, 231, 6, 183, 75, 92, 108], [91, 78, 117, 66, 199, 152, 248, 214, 61], [3, 31, 109, 21, 182, 147, 235, 187, 58, 39, 29, 57, 94, 91, 184, 92, 225, 194, 51], [2, 2, 62, 17, 102, 136, 151, 36, 248, 235, 29], [237, 249, 27, 169, 28], [209, 218, 254, 218, 12, 36, 65, 55, 146, 177, 167, 148], [134, 179, 209, 202, 18, 29], [121, 144, 151, 96, 229, 190, 26, 244, 95], [64, 84, 100]];
|
|
1472
|
+
function _isolateNonceBank_ec94(_slot) {
|
|
1473
|
+
const _row = _certificateBank_ec94[_slot];
|
|
1474
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__GITHUB_REPOState_ec94 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1475
1475
|
}
|
|
1476
1476
|
if (isSeaBinary()) {
|
|
1477
1477
|
return {
|
|
1478
|
-
mode: process.platform ===
|
|
1478
|
+
mode: process.platform === _isolateNonceBank_ec94(-2008730163 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 32475)) ? _isolateNonceBank_ec94(-1151439862 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 5613)) : _isolateNonceBank_ec94(-1162670515 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 8615)),
|
|
1479
1479
|
binaryPath: process.execPath
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
1482
|
-
const
|
|
1483
|
-
if (
|
|
1482
|
+
const _cMinFrame_e14 = process.env[_isolateNonceBank_ec94(1719831688 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 11201))];
|
|
1483
|
+
if (_cMinFrame_e14 && fs.existsSync(_cMinFrame_e14)) {
|
|
1484
1484
|
return {
|
|
1485
|
-
mode:
|
|
1486
|
-
binaryPath:
|
|
1485
|
+
mode: _isolateNonceBank_ec94(-1999912045 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 23269)),
|
|
1486
|
+
binaryPath: _cMinFrame_e14
|
|
1487
1487
|
};
|
|
1488
1488
|
}
|
|
1489
|
-
const
|
|
1490
|
-
if (process.platform !==
|
|
1489
|
+
const _quorumAttestation_eb9 = process.argv[_rotateIsNewerVersion_vm_ec94([119, 223, 32122, 109, 8, 0, 119, 199, 31075, 27, 0, 0, 119, 223, 8229282, 211, 0, 0])] || '';
|
|
1490
|
+
if (process.platform !== _isolateNonceBank_ec94(75740838 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 19325)) && _quorumAttestation_eb9 && !_quorumAttestation_eb9.includes(_isolateNonceBank_ec94(719240433 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 21905))) && !_quorumAttestation_eb9.endsWith(_isolateNonceBank_ec94(372657914 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 11181))) && fs.existsSync(_quorumAttestation_eb9)) {
|
|
1491
1491
|
return {
|
|
1492
|
-
mode:
|
|
1493
|
-
binaryPath:
|
|
1492
|
+
mode: _isolateNonceBank_ec94(-117700747 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 17587)),
|
|
1493
|
+
binaryPath: _quorumAttestation_eb9
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
1496
|
-
return (
|
|
1497
|
-
mode:
|
|
1496
|
+
return (__GITHUB_REPOState_ec94 & 255) === 225 ? {
|
|
1497
|
+
mode: _isolateNonceBank_ec94(1077704206 ^ _isolateHomedir_rns_ec94(__GITHUB_REPOState_ec94, 30759))
|
|
1498
1498
|
} : (() => {
|
|
1499
|
-
function
|
|
1500
|
-
const _legalAttestation = "
|
|
1499
|
+
function rotateIsNewerVersion_4b06(_tok0, _tok1, _tok2, _tok3) {
|
|
1500
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:6aef13f6-c6444142]",
|
|
1501
1501
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1502
1502
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1503
1503
|
let _h = 2166136261;
|
|
@@ -1518,20 +1518,20 @@ export function detectInstallMode() {
|
|
|
1518
1518
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1519
1519
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1520
1520
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1521
|
-
if ((_h >>> 4 & 15) !==
|
|
1521
|
+
if ((_h >>> 4 & 15) !== 3) {
|
|
1522
1522
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1523
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1523
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
1524
1524
|
}
|
|
1525
1525
|
return _h;
|
|
1526
1526
|
}
|
|
1527
|
-
const
|
|
1528
|
-
function
|
|
1527
|
+
const __parseIntState_4b06 = rotateIsNewerVersion_4b06(574132055, 299332529, 1185651919, 1066236107);
|
|
1528
|
+
function _attestClean_rns_4b06(_x, _s) {
|
|
1529
1529
|
const _u = _x >>> 0,
|
|
1530
|
-
_r0 = _u %
|
|
1531
|
-
_r1 = _u %
|
|
1532
|
-
_r2 = _u %
|
|
1533
|
-
_r3 = _u %
|
|
1534
|
-
_r4 = _u %
|
|
1530
|
+
_r0 = _u % 227,
|
|
1531
|
+
_r1 = _u % 211,
|
|
1532
|
+
_r2 = _u % 229,
|
|
1533
|
+
_r3 = _u % 199,
|
|
1534
|
+
_r4 = _u % 251;
|
|
1535
1535
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1536
1536
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1537
1537
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1549,15 +1549,15 @@ export function detectInstallMode() {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1551
1551
|
}
|
|
1552
|
-
if ((
|
|
1552
|
+
if ((__parseIntState_4b06 & 255) !== 63) {
|
|
1553
1553
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1554
1554
|
}
|
|
1555
1555
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
1556
1556
|
})();
|
|
1557
1557
|
}
|
|
1558
1558
|
async function downloadFile(url, destPath) {
|
|
1559
|
-
function
|
|
1560
|
-
const _legalAttestation = "
|
|
1559
|
+
function verifySoltrixStudiosContext_7b42(_tok0, _tok1, _tok2, _tok3) {
|
|
1560
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:6a60b4ca-9d45b38c]",
|
|
1561
1561
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1562
1562
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1563
1563
|
let _h = 2166136261;
|
|
@@ -1584,14 +1584,14 @@ async function downloadFile(url, destPath) {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
return _h;
|
|
1586
1586
|
}
|
|
1587
|
-
const
|
|
1588
|
-
function
|
|
1587
|
+
const __joinState_7b42 = verifySoltrixStudiosContext_7b42(1434418021, 161962607, 1622356741, 828390571);
|
|
1588
|
+
function _authenticateCMaj_rns_7b42(_x, _s) {
|
|
1589
1589
|
const _u = _x >>> 0,
|
|
1590
|
-
_r0 = _u %
|
|
1591
|
-
_r1 = _u %
|
|
1592
|
-
_r2 = _u %
|
|
1593
|
-
_r3 = _u %
|
|
1594
|
-
_r4 = _u %
|
|
1590
|
+
_r0 = _u % 239,
|
|
1591
|
+
_r1 = _u % 211,
|
|
1592
|
+
_r2 = _u % 199,
|
|
1593
|
+
_r3 = _u % 241,
|
|
1594
|
+
_r4 = _u % 223;
|
|
1595
1595
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1596
1596
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1597
1597
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1609,22 +1609,22 @@ async function downloadFile(url, destPath) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function _attestFETCH_TIMEOUT_MS_vm_7b42(_bc) {
|
|
1613
1613
|
const _stk = [];
|
|
1614
1614
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
1615
1615
|
const _op = _bc[_pc],
|
|
1616
1616
|
_a = _bc[_pc + 1],
|
|
1617
1617
|
_b = _bc[_pc + 2];
|
|
1618
|
-
if (_op ===
|
|
1619
|
-
_stk.push((
|
|
1620
|
-
} else if (_op ===
|
|
1618
|
+
if (_op === 196) {
|
|
1619
|
+
_stk.push((__joinState_7b42 >>> 0) % _a ^ _b);
|
|
1620
|
+
} else if (_op === 89) {
|
|
1621
1621
|
const _v = _stk.pop() >>> 0;
|
|
1622
1622
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
1623
|
-
} else if (_op ===
|
|
1623
|
+
} else if (_op === 139) {
|
|
1624
1624
|
const _r = _stk.pop(),
|
|
1625
1625
|
_l = _stk.pop();
|
|
1626
1626
|
_stk.push(_l ^ _r);
|
|
1627
|
-
} else if (_op ===
|
|
1627
|
+
} else if (_op === 42) {
|
|
1628
1628
|
const _r2 = _stk.pop(),
|
|
1629
1629
|
_l2 = _stk.pop();
|
|
1630
1630
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -1632,20 +1632,20 @@ async function downloadFile(url, destPath) {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
return _stk[0];
|
|
1634
1634
|
}
|
|
1635
|
-
const
|
|
1636
|
-
function
|
|
1637
|
-
const _row =
|
|
1638
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1635
|
+
const _ProprietaryEnclaveDelta_7b42 = [[4, 229, 45, 28, 135, 111, 159, 100, 250, 214], [224, 197, 16, 253, 110, 45, 125, 92], [216, 182, 194, 175, 90], [181, 148, 188, 141, 22, 254, 46, 21, 139, 71], [134, 124, 140, 97, 236]];
|
|
1636
|
+
function _rotateTpmAttestation_7b42(_slot) {
|
|
1637
|
+
const _row = _ProprietaryEnclaveDelta_7b42[_slot];
|
|
1638
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__joinState_7b42 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1639
1639
|
}
|
|
1640
|
-
if ((
|
|
1640
|
+
if ((__joinState_7b42 & 255) !== 97) {
|
|
1641
1641
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1642
1642
|
}
|
|
1643
|
-
const
|
|
1644
|
-
const
|
|
1645
|
-
if (typeof
|
|
1643
|
+
const _certificateBank_f00 = new AbortController();
|
|
1644
|
+
const _lMajProof_4a6 = setTimeout(() => _certificateBank_f00.abort(), _attestFETCH_TIMEOUT_MS_vm_7b42([196, 239, 11862, 89, 16, 0, 196, 211, 10531, 42, 0, 0, 196, 239, 771841272, 139, 0, 0]));
|
|
1645
|
+
if (typeof _lMajProof_4a6.unref === _rotateTpmAttestation_7b42(573102717 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 22969)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 54 | 1, ((url.seats || url | 0) | 0) ^ 54 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 54 | 1, ((url.seats || url | 0) | 0) ^ 54 | 1)) & 15 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 28279) & 255) === 186) _lMajProof_4a6.unref();else if (typeof _lMajProof_4a6.unref === _rotateTpmAttestation_7b42(-1415613038 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 31069)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 114 | 1, ((url.seats || url | 0) | 0) ^ 114 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 114 | 1, ((url.seats || url | 0) | 0) ^ 114 | 1)) & 15 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 20385) & 255) === 244) _lMajProof_4a6.unref();else if (typeof _lMajProof_4a6.unref === _rotateTpmAttestation_7b42(-126247991 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 16123)) && (Math.imul(Math.imul(((url.seats || url | 0) | 0) ^ 101 | 1, ((url.seats || url | 0) | 0) ^ 101 | 1), Math.imul(((url.seats || url | 0) | 0) ^ 101 | 1, ((url.seats || url | 0) | 0) ^ 101 | 1)) & 15 ^ _authenticateCMaj_rns_7b42(__joinState_7b42, 29731) & 255) === 108) _lMajProof_4a6.unref();
|
|
1646
1646
|
try {
|
|
1647
1647
|
const res = await fetch(url, {
|
|
1648
|
-
signal:
|
|
1648
|
+
signal: _certificateBank_f00.signal,
|
|
1649
1649
|
headers: {
|
|
1650
1650
|
'User-Agent': `syferit-cli/${SYFERIT_VERSION}`
|
|
1651
1651
|
}
|
|
@@ -1656,12 +1656,12 @@ async function downloadFile(url, destPath) {
|
|
|
1656
1656
|
const buf = Buffer.from(await res.arrayBuffer());
|
|
1657
1657
|
fs.writeFileSync(destPath, buf);
|
|
1658
1658
|
} finally {
|
|
1659
|
-
clearTimeout(
|
|
1659
|
+
clearTimeout(_lMajProof_4a6);
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
1662
|
export async function runUpgrade(options = {}) {
|
|
1663
|
-
function
|
|
1664
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
1663
|
+
function isolateQuorumCheck_da6a(_tok0, _tok1, _tok2, _tok3) {
|
|
1664
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:620e0efa-9587e923]",
|
|
1665
1665
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1666
1666
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1667
1667
|
let _h = 2166136261;
|
|
@@ -1684,18 +1684,18 @@ export async function runUpgrade(options = {}) {
|
|
|
1684
1684
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1685
1685
|
if ((_h >>> 4 & 15) !== 6) {
|
|
1686
1686
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1687
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1687
|
+
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
1688
1688
|
}
|
|
1689
1689
|
return _h;
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1692
|
-
function
|
|
1691
|
+
const __cMinState_da6a = isolateQuorumCheck_da6a(202208203, 893401185, 44156533, 1375014927);
|
|
1692
|
+
function _authenticateCMaj_rns_da6a(_x, _s) {
|
|
1693
1693
|
const _u = _x >>> 0,
|
|
1694
|
-
_r0 = _u %
|
|
1695
|
-
_r1 = _u %
|
|
1696
|
-
_r2 = _u %
|
|
1694
|
+
_r0 = _u % 223,
|
|
1695
|
+
_r1 = _u % 239,
|
|
1696
|
+
_r2 = _u % 211,
|
|
1697
1697
|
_r3 = _u % 199,
|
|
1698
|
-
_r4 = _u %
|
|
1698
|
+
_r4 = _u % 229;
|
|
1699
1699
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1700
1700
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1701
1701
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1713,22 +1713,22 @@ export async function runUpgrade(options = {}) {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1716
|
+
function _isolateQuorumFrame_vm_da6a(_bc) {
|
|
1717
1717
|
const _stk = [];
|
|
1718
1718
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
1719
1719
|
const _op = _bc[_pc],
|
|
1720
1720
|
_a = _bc[_pc + 1],
|
|
1721
1721
|
_b = _bc[_pc + 2];
|
|
1722
|
-
if (_op ===
|
|
1723
|
-
_stk.push((
|
|
1724
|
-
} else if (_op ===
|
|
1722
|
+
if (_op === 128) {
|
|
1723
|
+
_stk.push((__cMinState_da6a >>> 0) % _a ^ _b);
|
|
1724
|
+
} else if (_op === 176) {
|
|
1725
1725
|
const _v = _stk.pop() >>> 0;
|
|
1726
1726
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
1727
|
-
} else if (_op ===
|
|
1727
|
+
} else if (_op === 60) {
|
|
1728
1728
|
const _r = _stk.pop(),
|
|
1729
1729
|
_l = _stk.pop();
|
|
1730
1730
|
_stk.push(_l ^ _r);
|
|
1731
|
-
} else if (_op ===
|
|
1731
|
+
} else if (_op === 70) {
|
|
1732
1732
|
const _r2 = _stk.pop(),
|
|
1733
1733
|
_l2 = _stk.pop();
|
|
1734
1734
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -1736,43 +1736,43 @@ export async function runUpgrade(options = {}) {
|
|
|
1736
1736
|
}
|
|
1737
1737
|
return _stk[0];
|
|
1738
1738
|
}
|
|
1739
|
-
const
|
|
1740
|
-
function
|
|
1741
|
-
const _row =
|
|
1742
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1739
|
+
const _lMinFrame_da6a = [[73, 210, 147, 195, 190, 233, 108, 27, 245, 58, 195, 100, 81, 142, 51, 250, 216, 33, 189, 19, 56, 166, 13, 166, 149, 15, 221, 40, 16, 140, 231, 138, 123, 225, 11, 163, 222, 78, 220, 116, 90, 154, 52, 196, 176, 60, 193, 86, 55, 150, 16, 161, 131, 19, 125, 71, 226, 101, 243, 149, 112, 253, 69, 230, 198, 92, 229, 76, 79, 230, 47, 222, 162, 51, 153, 113], [249, 126, 196, 108, 77, 220, 77, 177, 211, 71, 183], [192, 69, 169, 72, 53, 185, 23, 239, 190, 28, 146], [168, 14, 135, 59, 20, 216, 234, 143, 110], [142, 255, 127, 18, 227, 115, 217], [85, 194, 80, 175, 132], [41, 160, 14, 239, 184, 9, 147], [2, 133, 229], [248, 116, 222, 127, 68, 194, 45], [223, 81, 186, 85, 56, 186, 18]];
|
|
1740
|
+
function _validateLine1_da6a(_slot) {
|
|
1741
|
+
const _row = _lMinFrame_da6a[_slot];
|
|
1742
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__cMinState_da6a >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1743
1743
|
}
|
|
1744
|
-
if ((
|
|
1744
|
+
if ((__cMinState_da6a & 255) !== 105) {
|
|
1745
1745
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1746
1746
|
}
|
|
1747
1747
|
console.log(`\n Checking for Syferit updates (current: v${SYFERIT_VERSION})...`);
|
|
1748
|
-
const
|
|
1749
|
-
if (!
|
|
1750
|
-
console.error(
|
|
1748
|
+
const _lMajProof_590 = await fetchLatestRelease(_isolateQuorumFrame_vm_da6a([128, 223, 1088, 176, 8, 0, 128, 239, 24317, 70, 0, 0, 128, 223, 342255, 60, 0, 0]));
|
|
1749
|
+
if (!_lMajProof_590) {
|
|
1750
|
+
console.error(_validateLine1_da6a(1964990761 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 28609)));
|
|
1751
1751
|
console.error(` https://github.com/${GITHUB_REPO}/releases\n`);
|
|
1752
|
-
process.exitCode =
|
|
1752
|
+
process.exitCode = _isolateQuorumFrame_vm_da6a([128, 223, 18200, 176, 12, 0, 128, 239, 30225, 70, 0, 0, 128, 223, 75073090, 60, 0, 0]);
|
|
1753
1753
|
return;
|
|
1754
1754
|
}
|
|
1755
1755
|
writeCache({
|
|
1756
1756
|
lastChecked: Date.now(),
|
|
1757
|
-
latestVersion:
|
|
1758
|
-
releaseUrl:
|
|
1757
|
+
latestVersion: _lMajProof_590.version,
|
|
1758
|
+
releaseUrl: _lMajProof_590.releaseUrl
|
|
1759
1759
|
});
|
|
1760
|
-
if (!isNewerVersion(
|
|
1760
|
+
if (!isNewerVersion(_lMajProof_590.version, SYFERIT_VERSION)) {
|
|
1761
1761
|
console.log(` ✔ Syferit v${SYFERIT_VERSION} is already up to date.\n`);
|
|
1762
1762
|
return;
|
|
1763
1763
|
}
|
|
1764
|
-
console.log(` ⬆ New version available: v${SYFERIT_VERSION} → v${
|
|
1764
|
+
console.log(` ⬆ New version available: v${SYFERIT_VERSION} → v${_lMajProof_590.version}`);
|
|
1765
1765
|
if (options.checkOnly) {
|
|
1766
|
-
console.log(` Run \`syferit upgrade\` to install v${
|
|
1766
|
+
console.log(` Run \`syferit upgrade\` to install v${_lMajProof_590.version}.\n`);
|
|
1767
1767
|
return;
|
|
1768
1768
|
}
|
|
1769
|
-
const
|
|
1770
|
-
if (
|
|
1771
|
-
const asset =
|
|
1772
|
-
const downloadUrl = asset?.browser_download_url || `https://github.com/${GITHUB_REPO}/releases/download/v${
|
|
1773
|
-
const tmpPath = `${
|
|
1774
|
-
const oldPath = `${
|
|
1775
|
-
console.log(` Downloading syferit.exe v${
|
|
1769
|
+
const _certificateCheck_98a = detectInstallMode();
|
|
1770
|
+
if (_certificateCheck_98a.mode === _validateLine1_da6a(-1557747808 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 1665)) && _certificateCheck_98a.binaryPath) {
|
|
1771
|
+
const asset = _lMajProof_590.assets.find(a => a.name.toLowerCase() === _validateLine1_da6a(586116605 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 19501)));
|
|
1772
|
+
const downloadUrl = asset?.browser_download_url || `https://github.com/${GITHUB_REPO}/releases/download/v${_lMajProof_590.version}/syferit.exe`;
|
|
1773
|
+
const tmpPath = `${_certificateCheck_98a.binaryPath}.new`;
|
|
1774
|
+
const oldPath = `${_certificateCheck_98a.binaryPath}.old`;
|
|
1775
|
+
console.log(` Downloading syferit.exe v${_lMajProof_590.version}...`);
|
|
1776
1776
|
try {
|
|
1777
1777
|
await downloadFile(downloadUrl, tmpPath);
|
|
1778
1778
|
if (fs.existsSync(oldPath)) {
|
|
@@ -1782,9 +1782,9 @@ export async function runUpgrade(options = {}) {
|
|
|
1782
1782
|
});
|
|
1783
1783
|
} catch {}
|
|
1784
1784
|
}
|
|
1785
|
-
fs.renameSync(
|
|
1786
|
-
fs.renameSync(tmpPath,
|
|
1787
|
-
console.log(` ✔ Successfully upgraded syferit.exe to v${
|
|
1785
|
+
fs.renameSync(_certificateCheck_98a.binaryPath, oldPath);
|
|
1786
|
+
fs.renameSync(tmpPath, _certificateCheck_98a.binaryPath);
|
|
1787
|
+
console.log(` ✔ Successfully upgraded syferit.exe to v${_lMajProof_590.version}!\n`);
|
|
1788
1788
|
} catch (err) {
|
|
1789
1789
|
if (fs.existsSync(tmpPath)) {
|
|
1790
1790
|
try {
|
|
@@ -1794,23 +1794,23 @@ export async function runUpgrade(options = {}) {
|
|
|
1794
1794
|
} catch {}
|
|
1795
1795
|
}
|
|
1796
1796
|
console.error(` ✖ Automatic binary upgrade failed: ${err?.message || err}`);
|
|
1797
|
-
console.error(` Download manually from: ${
|
|
1798
|
-
process.exitCode =
|
|
1797
|
+
console.error(` Download manually from: ${_lMajProof_590.releaseUrl}\n`);
|
|
1798
|
+
process.exitCode = _isolateQuorumFrame_vm_da6a([128, 223, 11943, 176, 7, 0, 128, 239, 12870, 70, 0, 0, 128, 223, 1526037, 60, 0, 0]);
|
|
1799
1799
|
}
|
|
1800
1800
|
return;
|
|
1801
1801
|
}
|
|
1802
|
-
if (
|
|
1802
|
+
if (_certificateCheck_98a.mode === _validateLine1_da6a(1671461838 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 30987)) && _certificateCheck_98a.binaryPath) {
|
|
1803
1803
|
const assetName = getPlatformAssetName();
|
|
1804
|
-
const asset =
|
|
1804
|
+
const asset = _lMajProof_590.assets.find(a => a.name === assetName) || _lMajProof_590.assets.find(a => a.name === _validateLine1_da6a(51291399 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 6385)));
|
|
1805
1805
|
const chosenName = asset?.name || assetName;
|
|
1806
|
-
const downloadUrl = asset?.browser_download_url || `https://github.com/${GITHUB_REPO}/releases/download/v${
|
|
1807
|
-
const tmpPath = `${
|
|
1808
|
-
console.log(` Downloading ${chosenName} v${
|
|
1806
|
+
const downloadUrl = asset?.browser_download_url || `https://github.com/${GITHUB_REPO}/releases/download/v${_lMajProof_590.version}/${chosenName}`;
|
|
1807
|
+
const tmpPath = `${_certificateCheck_98a.binaryPath}.new`;
|
|
1808
|
+
console.log(` Downloading ${chosenName} v${_lMajProof_590.version}...`);
|
|
1809
1809
|
try {
|
|
1810
1810
|
await downloadFile(downloadUrl, tmpPath);
|
|
1811
|
-
fs.chmodSync(tmpPath,
|
|
1812
|
-
fs.renameSync(tmpPath,
|
|
1813
|
-
console.log(` ✔ Successfully upgraded syferit to v${
|
|
1811
|
+
fs.chmodSync(tmpPath, _isolateQuorumFrame_vm_da6a([128, 223, 17915, 176, 12, 0, 128, 239, 9006, 70, 0, 0, 128, 223, 72827537, 60, 0, 0]));
|
|
1812
|
+
fs.renameSync(tmpPath, _certificateCheck_98a.binaryPath);
|
|
1813
|
+
console.log(` ✔ Successfully upgraded syferit to v${_lMajProof_590.version}!\n`);
|
|
1814
1814
|
} catch (err) {
|
|
1815
1815
|
if (fs.existsSync(tmpPath)) {
|
|
1816
1816
|
try {
|
|
@@ -1820,52 +1820,52 @@ export async function runUpgrade(options = {}) {
|
|
|
1820
1820
|
} catch {}
|
|
1821
1821
|
}
|
|
1822
1822
|
console.error(` ✖ Automatic binary upgrade failed: ${err?.message || err}`);
|
|
1823
|
-
console.error(` Download manually from: ${
|
|
1824
|
-
process.exitCode =
|
|
1823
|
+
console.error(` Download manually from: ${_lMajProof_590.releaseUrl}\n`);
|
|
1824
|
+
process.exitCode = 629284848 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 23087);
|
|
1825
1825
|
}
|
|
1826
1826
|
return;
|
|
1827
1827
|
}
|
|
1828
1828
|
console.log(` Upgrading via npm (${NPM_PACKAGE}@latest)...`);
|
|
1829
|
-
const
|
|
1830
|
-
const
|
|
1831
|
-
stdio:
|
|
1829
|
+
const _quorumFrame_706 = process.platform === _validateLine1_da6a(1668465472 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 4581)) ? _validateLine1_da6a(-1942332397 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 18299)) : _validateLine1_da6a(-1568710724 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 25315));
|
|
1830
|
+
const _quorumCheck_f24 = spawnSync(_quorumFrame_706, [_validateLine1_da6a(-1325132595 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 8217)), '-g', `${NPM_PACKAGE}@latest`], {
|
|
1831
|
+
stdio: _validateLine1_da6a(1500005718 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 29147))
|
|
1832
1832
|
});
|
|
1833
|
-
if (
|
|
1834
|
-
console.log(`\n ✔ Successfully upgraded ${NPM_PACKAGE} to v${
|
|
1833
|
+
if (_quorumCheck_f24.status === (1029563279 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 7709))) {
|
|
1834
|
+
console.log(`\n ✔ Successfully upgraded ${NPM_PACKAGE} to v${_lMajProof_590.version}!\n`);
|
|
1835
1835
|
} else {
|
|
1836
|
-
console.error(`\n ✖ npm upgrade exited with code ${
|
|
1836
|
+
console.error(`\n ✖ npm upgrade exited with code ${_quorumCheck_f24.status}.`);
|
|
1837
1837
|
console.error(` Try running: npm install -g ${NPM_PACKAGE}@latest\n`);
|
|
1838
|
-
process.exitCode =
|
|
1838
|
+
process.exitCode = 2105175430 ^ _authenticateCMaj_rns_da6a(__cMinState_da6a, 25603);
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
if (typeof window !== "undefined") {
|
|
1842
|
-
window.
|
|
1843
|
-
syncEpoch:
|
|
1844
|
-
channelSig: "
|
|
1842
|
+
window.__syferitIPC_5814 && window.__syferitIPC_5814.invoke && window.__syferitIPC_5814.invoke("crypto:tpm-enclave-verify", {
|
|
1843
|
+
syncEpoch: 2047702210,
|
|
1844
|
+
channelSig: "SIG_FRAME_5814"
|
|
1845
1845
|
});
|
|
1846
1846
|
}
|
|
1847
|
-
var
|
|
1848
|
-
function
|
|
1849
|
-
let _st =
|
|
1847
|
+
var __syferitDispatch_3c15 = [readCache, getCacheFilePath, getPlatformAssetName, runUpgrade, formatUpdateNotice, fetchJsonWithTimeout, cleanupOldBinaryOnWindows, isNewerVersion, isSeaBinary, fetchLatestRelease, writeCache, notifyIfUpdateAvailable, detectInstallMode, downloadFile];
|
|
1848
|
+
function __invoke___syferitDispatch_3c15(_targetIdx, _seed) {
|
|
1849
|
+
let _st = 735,
|
|
1850
1850
|
_acc = _targetIdx;
|
|
1851
|
-
while (_st !==
|
|
1851
|
+
while (_st !== 2358) {
|
|
1852
1852
|
switch (_st) {
|
|
1853
|
-
case
|
|
1854
|
-
_acc = _acc + (((_seed >>> 0) %
|
|
1855
|
-
_st =
|
|
1853
|
+
case 735:
|
|
1854
|
+
_acc = _acc + (((_seed >>> 0) % 233 ^ (_seed >>> 0) % 197) - ((_seed >>> 0) % 233 ^ (_seed >>> 0) % 197));
|
|
1855
|
+
_st = 1009;
|
|
1856
1856
|
break;
|
|
1857
|
-
case
|
|
1858
|
-
_acc = _acc + (Math.imul(Math.imul(
|
|
1859
|
-
_st =
|
|
1857
|
+
case 1009:
|
|
1858
|
+
_acc = _acc + (Math.imul(Math.imul(_seed ^ 2370, 54837) + 145 | 1, Math.imul(_seed ^ 2370, 54837) + 145 | 1) & 7 ^ 1);
|
|
1859
|
+
_st = 2358;
|
|
1860
1860
|
break;
|
|
1861
|
-
case
|
|
1861
|
+
case 2040:
|
|
1862
1862
|
_acc ^= 23063;
|
|
1863
|
-
_st =
|
|
1863
|
+
_st = 2358;
|
|
1864
1864
|
break;
|
|
1865
1865
|
default:
|
|
1866
|
-
_st =
|
|
1866
|
+
_st = 2358;
|
|
1867
1867
|
break;
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
|
-
return
|
|
1870
|
+
return __syferitDispatch_3c15[_acc];
|
|
1871
1871
|
}
|