@syferit/cli 1.0.1 → 2.0.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 CHANGED
@@ -3,10 +3,13 @@
3
3
  import { Command } from 'commander';
4
4
  import fs from 'node:fs';
5
5
  import path from 'node:path';
6
- import { protectFile, protectDirectory } from './index.js';
7
- function authenticateStat_e3e8(_tok0, _tok1, _tok2, _tok3) {
8
- const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:5af7629d-c776a0c0]",
9
- _tokVec = [_tok0, _tok1, _tok2, _tok3];
6
+ import { protectFile, protectDirectory, printSyferitBanner, loadSyferitConfig } from './index.js';
7
+ import { notifyIfUpdateAvailable, runUpgrade, cleanupOldBinaryOnWindows, SYFERIT_VERSION } from './updater.js';
8
+ import { runSetup, handleNoArgsInteractiveLaunch } from './setup.js';
9
+ function auditTpmCheck_1e5e(_tok0, _tok1, _tok2, _tok3) {
10
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:41d03a5c-18545a31]",
11
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
12
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
10
13
  let _h = 2166136261;
11
14
  for (let _s = 0; _s < _tokVec.length; _s++) {
12
15
  _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
@@ -23,24 +26,53 @@ function authenticateStat_e3e8(_tok0, _tok1, _tok2, _tok3) {
23
26
  _h = (_h ^ _h >>> 16) >>> 0;
24
27
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
25
28
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
26
- if ((_h >>> 4 & 15) !== 7) {
27
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
29
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
30
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
31
+ if ((_h >>> 4 & 15) !== 12) {
32
+ _h = (_h ^ 3735884599) >>> 0;
33
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
28
34
  }
29
35
  return _h;
30
36
  }
31
- var __domainValState_e3e8 = authenticateStat_e3e8(1229910211, 1625097717, 2086163545, 178566775);
32
- var _presetValEnvelope_e3e8 = [[11, 144, 120, 240, 104, 25, 223, 86], [245, 104, 76, 167, 84, 243, 183, 51], [175, 79, 27, 129, 59, 183, 154], [148, 42, 238, 104, 9, 142, 104], [95, 1, 203, 87, 210, 101, 53, 252, 20, 243, 172, 55, 170, 91, 5, 135, 63, 232, 187, 231, 153, 47, 229, 115, 232, 208, 3, 138, 74, 225, 202, 87, 200, 109, 40, 242, 9, 194, 149, 3, 179, 50, 28, 142, 17, 244, 93, 252, 157, 6, 238, 68, 255, 142, 92, 211, 86, 176, 167, 51, 152, 119, 54, 178, 56, 202, 132, 10, 192, 31, 245, 115, 16, 137, 122, 233], [1, 179, 230, 121, 240], [38, 176, 152, 8, 143, 53, 255, 48, 37, 158, 126, 214, 117, 27, 199, 101], [58, 151, 108, 205, 118, 91, 241, 102, 247, 47, 40, 166, 80, 202, 187, 125, 174, 89, 24, 144, 49, 172, 108, 224, 158, 58, 250, 109, 167, 146, 70, 201, 59, 244, 217, 44, 206, 117, 36, 188, 32, 143, 148, 27, 184, 55, 29, 158, 31, 190, 99, 255, 223, 31, 207, 5, 242, 223, 82, 208, 75, 246, 232, 34, 201, 7, 56, 136, 61, 222, 147, 1, 140, 61, 253], [141, 120, 109, 230, 25, 141, 161, 59, 186, 83, 12, 154, 124, 244, 141, 227, 132, 52, 175], [149, 80, 18, 131, 121, 177, 149, 95, 139, 48, 226, 118, 161, 130, 80, 135, 113, 232, 196, 94, 202, 97, 37, 189, 68, 137, 170, 12, 241, 77, 0, 152, 17, 180, 101, 255], [199, 57, 167, 48, 83, 199, 112, 209, 102, 94, 143, 72, 199, 102, 47, 242], [75, 30, 195, 65, 202, 97, 37, 189, 94, 204, 182, 125, 164, 66, 24, 129, 42, 191, 32, 245, 146, 43, 252, 57, 175, 151, 77, 203, 122, 242, 208, 53, 220, 59, 36, 186, 99, 198, 138, 68, 167, 47, 25, 158, 14, 247, 99, 231, 154, 25, 215, 87, 250, 139, 81, 144], [25, 141, 186, 47, 188, 68, 28, 154, 124, 244, 141, 227, 132, 52, 175], [24, 169, 147, 30, 158, 121, 232, 124, 243, 205, 15, 200, 57, 161, 155, 22, 198, 96, 62], [83, 199, 111, 214, 119, 13, 214, 76, 134, 46, 55, 190, 95, 213, 190, 20, 240], [243, 125, 43, 189, 82, 192, 172, 52, 164, 89, 76, 157, 58, 189, 101, 233, 201, 127, 231, 109, 230, 157, 76, 204, 105, 227, 144, 97, 199, 122, 34, 177, 38, 193, 129, 13, 251, 99, 23, 143, 75, 186, 109, 233, 150, 6, 213, 72], [160, 85, 27, 138, 57, 166, 152, 230], [192, 41, 162, 51, 172, 192, 82, 213, 122, 231, 223, 87, 204, 53, 118, 191, 79, 198, 184, 10, 189, 88, 76], [86, 17, 222, 89, 207, 124, 103, 168, 83, 197, 175, 9, 161, 84, 14, 134, 27, 238, 115, 250, 153, 4, 254, 112, 239, 214, 3, 195, 127, 235, 204, 104, 146, 120, 58, 182, 50, 215, 132, 4, 246, 102, 8, 101, 13, 175, 125, 253, 118, 23, 143, 8, 241, 99, 90, 213, 68, 241, 226], [68, 194, 185, 46], [113, 172, 209, 162, 221, 113, 245, 121, 233, 145, 76, 196, 56, 184, 221, 81, 193, 121, 36, 188, 126], [192, 129, 75, 198, 102, 161, 208, 84, 219, 53, 103, 191, 17, 137, 243, 78, 161, 79, 29, 145, 12, 189, 99], [139, 97, 107, 236, 23, 139, 168, 5, 171, 94, 79, 200, 17, 171, 102, 236, 200], [143, 82, 24, 148, 45, 166, 105, 235, 154, 44, 224, 112, 228, 211, 74, 216, 114, 235, 216, 97, 220, 126, 53, 177, 99, 201, 139, 27, 247, 49, 29, 141, 25, 184, 104, 228, 156, 2, 194, 73, 246, 223, 68, 214, 75, 234, 165, 34, 201, 87, 52, 136, 60, 214]];
33
- function _auditTpmDigest_e3e8(_slot) {
34
- const _row = _presetValEnvelope_e3e8[_slot];
35
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__domainValState_e3e8 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
37
+ var __errorState_1e5e = auditTpmCheck_1e5e(233477683, 2107601559, 1613274227, 885937987);
38
+ function _verifyEnclaveAttestation_rns_1e5e(_x, _s) {
39
+ const _u = _x >>> 0,
40
+ _r0 = _u % 223,
41
+ _r1 = _u % 241,
42
+ _r2 = _u % 199,
43
+ _r3 = _u % 233,
44
+ _r4 = _u % 197;
45
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
46
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
47
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
48
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
49
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
50
+ _v0 = _v0 + _v1 >>> 0;
51
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
52
+ _v2 = _v2 + _v3 >>> 0;
53
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
54
+ _v0 = _v0 + _v1 >>> 0;
55
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
56
+ _v2 = _v2 + _v3 >>> 0;
57
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
58
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
59
+ }
60
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
61
+ }
62
+ var _actionFrame_1e5e = [[188, 11, 166, 242, 7, 114, 41, 84], [156, 197, 158, 165, 237, 86, 229, 49], [116, 168, 105, 143, 192, 40, 200], [72, 220, 27, 122, 167, 227, 164, 235, 19, 123, 115, 65, 148, 217], [16, 106, 61, 85, 133, 206, 155], [219, 65, 230, 48, 110, 165, 96, 201, 198, 82, 134, 77, 126, 212, 110, 95, 139, 165, 145, 247, 52, 60, 33, 87, 116, 209, 150, 170, 248, 33, 225, 4, 70, 172, 0, 211, 156, 63, 205, 228, 50, 111, 36, 116, 135, 180, 154, 212, 17, 91, 4, 32, 96, 156, 71, 182, 196, 53, 184, 41, 81, 130, 73, 111, 187, 29, 224, 208, 50, 107, 61, 71, 149, 128, 138, 196, 164, 103, 19, 61, 108, 186, 121, 157, 140, 15, 208, 12, 36, 153, 87, 126], [221, 47, 202, 14, 36, 146, 77, 46, 142, 241, 172, 208, 14, 124, 21, 107], [147, 242, 186, 243, 31, 54, 31, 96, 174, 138, 158, 168, 233, 87, 229, 123, 71, 188, 110, 142, 216, 1, 194, 230, 39, 159, 44, 99, 242, 174, 132, 229, 33, 15, 43, 109, 94, 150, 142, 188, 243, 36, 230, 71, 72, 171, 72, 152, 182, 27, 213, 225, 37, 42, 110, 66, 132, 254, 194, 196, 27, 67, 23, 37, 102, 171, 105, 255, 214, 36, 241, 7, 95, 137, 70, 110, 161, 16, 230, 239, 13, 50, 59, 15, 144, 207, 130, 166, 170, 85, 240, 119, 122, 167, 100, 142, 209, 22, 197, 13, 63], [218, 211, 195, 228, 166, 22, 247, 57, 109, 168, 114, 152, 147, 95, 219, 225, 51, 159, 1], [76, 173, 96, 129, 144, 20, 199, 93, 34, 157, 80, 116, 248, 231, 162, 133, 8, 117, 22, 92, 99, 196, 151, 191, 237, 100, 248, 14, 8, 168, 82, 154, 200, 9, 215, 253], [108, 158, 21, 46, 248, 168, 162, 215, 29, 57, 93, 70, 156, 217, 157, 244], [34, 115, 45, 71, 147, 196, 147, 179, 231, 81, 232, 123, 77, 167, 110, 159, 195, 18, 142, 243, 43, 142, 42, 55, 246, 234, 179, 205, 19, 87, 6, 75, 117, 150, 138, 188, 186, 35, 252, 74, 94, 178, 71, 152, 167, 82, 213, 249, 51, 116, 57, 81, 131, 238, 135, 158], [166, 22, 236, 45, 107, 191, 98, 152, 147, 95, 219, 225, 51, 159, 1], [241, 12, 193, 28, 55, 212, 90, 126, 170, 168, 253, 202, 64, 60, 73, 20, 111, 197, 140], [248, 168, 189, 208, 12, 106, 4, 66, 221, 145, 133, 184, 244, 50, 236, 42, 27], [170, 216, 157, 179, 235, 93, 242, 50, 77, 188, 58, 131, 211, 16, 203, 239, 112, 218, 49, 99, 191, 224, 178, 202, 0, 70, 70, 31, 110, 215, 140, 183, 255, 36, 247, 3, 2, 254, 75, 154, 186, 27, 215, 250, 59, 42, 110, 76, 152, 186, 148, 133, 83, 95, 3, 42, 124, 182, 127, 178, 139, 36, 240, 0, 26, 194, 86, 98, 168, 31, 179, 247, 22, 40, 122, 13, 158, 199, 156, 167, 239, 84, 231, 51, 60, 231], [50, 191, 59, 204, 158, 78, 219, 242, 40, 145, 86, 120, 190, 171, 239, 216, 29, 112, 1, 85, 111, 214, 197], [0, 155, 81, 112, 177, 230, 240, 193, 5, 127, 16, 80, 111, 222, 153, 191, 237, 100, 252, 19, 71, 190, 73, 153, 217, 86, 148, 250, 49, 97, 59, 49, 196, 242, 181, 223, 12, 77, 19, 45, 32, 156, 119, 188, 195, 37, 234, 4, 64, 157, 0, 33, 175, 25, 173, 252, 50, 107, 116, 1, 148, 197, 142, 220, 241, 88, 8, 107, 56, 234, 99, 132, 205, 47, 134, 80], [68, 125, 77, 22, 208, 128, 145, 165, 252, 32, 224, 48, 5, 233, 121, 157, 212, 8, 216, 232, 115], [207, 82, 239, 58, 81, 242, 124, 128, 196, 70, 131, 243, 102, 218, 111, 58, 174, 252, 185, 205, 27, 78, 15], [158, 16, 135, 160, 106, 218, 76, 113, 190, 239, 243, 148, 28, 122, 2, 88, 61], [156, 237, 164, 192, 30, 113, 13, 87, 105, 195, 140, 164, 247, 100, 238, 20, 65, 180, 68, 213, 207, 9, 209, 237, 112, 102, 39, 111, 196, 230, 185, 193, 10, 71, 20, 48, 111, 213, 102, 181, 197, 112, 232, 2, 88, 157, 65, 110, 186, 8, 168, 252, 47, 97], [208, 200, 217, 234, 188, 108, 236, 38, 70, 185, 104, 150, 220, 73, 141, 246, 44, 137, 49, 127, 147, 255, 170, 128, 91, 11, 83], [103, 170, 121, 131, 195, 2, 203, 163, 44, 147, 46, 114, 254, 225, 164, 139, 20, 77, 6, 91, 99, 196, 222, 163, 251, 62, 230, 2, 92, 176, 85, 219, 164, 0, 213, 226, 118, 118, 60, 76, 158, 255, 129, 195, 23, 65, 24, 107, 58, 167, 36, 184, 136, 118, 179, 22, 26, 156, 87, 105, 170, 17, 180, 187, 64, 56, 116, 66, 159, 200, 192, 169, 249, 24, 171], [106, 218, 91, 102, 162, 166, 161, 221, 1], [60, 110, 1, 79, 105, 213, 143, 237, 227, 44, 229, 2, 64, 248, 70, 156, 208, 9, 199, 169, 39, 111, 61, 113, 128, 180, 190, 212, 88, 88, 2, 42, 120, 217, 103, 173, 197, 52, 184, 26, 93, 144, 68, 110, 189, 12, 224, 248, 51, 104, 61, 79, 137, 201, 134, 218, 164, 85, 18, 40, 56, 174, 121, 137, 201, 47], [188, 48, 165, 126, 8, 248, 108, 135, 208, 12, 197], [229, 19, 222, 243, 56, 159, 49, 100, 254, 207, 133, 232, 59, 107, 74, 93, 103, 216, 144, 182, 232, 106, 243, 9, 74, 254, 86, 158, 176, 95, 220, 230, 58, 99, 110, 83, 152, 245, 133, 197, 27, 93, 5, 107, 125, 183, 126, 175, 211, 34], [178, 229, 186, 220], [67, 194, 157, 172, 224, 33, 172, 0, 8, 171, 84, 148, 206, 24, 209, 251, 112, 115, 49, 123, 129, 230, 181, 197, 86, 75, 31, 43, 106, 213, 99, 247, 202, 35, 247, 3, 20, 141, 66, 33, 188, 16, 165, 181, 63, 121, 38, 91, 149, 206, 156, 157, 224, 93, 14, 52, 123, 188, 127, 151, 213], [8, 179, 49, 210, 148, 68, 215, 233, 63, 158, 32], [5, 140, 39, 101, 169, 252, 191, 223, 23, 2, 15, 71, 111, 197, 138, 186, 244, 45, 178, 20, 87, 184, 67, 137, 171, 6, 148, 236, 57, 104, 40, 74, 141, 180, 136, 196, 17, 64], [28, 122, 19, 73, 115], [221, 42, 255, 21, 73, 180, 76, 213, 200, 4, 209, 169, 35, 116, 41, 115, 128, 245, 176, 222, 22, 77, 80, 22, 117, 218, 97, 171, 201, 36, 184, 15, 93, 138, 77, 115, 177, 88, 180, 250, 124, 114, 123, 7, 131, 217, 142, 216, 246, 93, 8, 126, 122, 161, 126, 197, 205, 50, 192, 89, 50, 149, 95, 100, 167, 240, 169, 211, 72, 113, 20, 21, 149, 194, 212, 176, 255, 53, 250, 125, 87, 173, 111, 133, 221, 5, 144, 213, 13, 168, 12], [148, 16, 157, 166, 96, 208, 60, 127, 146], [141, 229, 191, 219, 82, 75, 4, 75, 99, 196, 159, 176, 238, 35, 228, 2, 14, 189, 73, 149, 164, 27, 200, 226, 55, 114, 39, 76, 132, 186, 146, 197, 17, 67, 6, 63, 50, 163, 100, 187, 134, 36, 251, 20, 83, 153, 70, 98, 188, 94, 150, 218, 54, 90, 122, 78, 131, 210, 129, 174, 235, 78, 235, 52, 127, 162, 122, 146], [118, 195, 156, 162, 246, 35, 234], [107, 176, 69, 150, 215, 76, 210, 230, 34, 32, 41, 115, 128, 180, 181, 223, 11, 92, 17, 41, 96, 156, 112, 177, 197, 112, 244, 12, 64, 129, 95, 117, 232, 43, 185, 243, 57, 126, 61, 93, 208, 210, 141, 209, 225, 85, 15, 52, 56, 187, 117, 132, 193, 48, 193, 10, 51, 156, 65], [96, 208, 38, 114, 132, 242, 178], [61, 76, 6, 70, 38, 213, 150, 182, 249, 33, 178, 14, 72, 254, 71, 219, 172, 23, 205, 234, 36, 38, 56, 70, 152, 233, 139, 216, 16, 14, 31, 56, 50, 163, 124, 190, 207, 58, 255, 17, 86, 143, 18, 112, 167, 10, 174, 244, 23, 102, 122, 70, 152, 213, 154, 162, 230, 86, 235, 57, 121]];
63
+ function _rotateCommand_1e5e(_slot) {
64
+ const _row = _actionFrame_1e5e[_slot];
65
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__errorState_1e5e >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
36
66
  }
37
- const PRESET_VALUES = new Set([_auditTpmDigest_e3e8(233398375 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 1055, 4865)), _auditTpmDigest_e3e8(683278718 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 15081, 19983)), _auditTpmDigest_e3e8(1004801272 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 29898, 19269))]);
67
+ cleanupOldBinaryOnWindows();
68
+ const PRESET_VALUES = new Set([_rotateCommand_1e5e(-1353811899 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 21807)), _rotateCommand_1e5e(1059202050 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 13573)), _rotateCommand_1e5e(1051417179 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 10513)), _rotateCommand_1e5e(-581657050 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 18909))]);
38
69
  const program = new Command();
39
- program.name(_auditTpmDigest_e3e8(277003938 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 21611, 4603))).description(_auditTpmDigest_e3e8(1703215830 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 18370, 26749))).version(_auditTpmDigest_e3e8(1415255069 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 28144, 26259)));
40
- program.command(_auditTpmDigest_e3e8(330973372 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 29914, 6349))).description(_auditTpmDigest_e3e8(656421084 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 27419, 12073))).option(_auditTpmDigest_e3e8(973632245 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 19841, 15653)), _auditTpmDigest_e3e8(348159788 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 18733, 5521))).option(_auditTpmDigest_e3e8(425279729 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 18977, 6771)), _auditTpmDigest_e3e8(230958493 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 7286, 5533))).option(_auditTpmDigest_e3e8(1046226177 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 22851, 17751)), _auditTpmDigest_e3e8(693920863 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 32098, 13965))).option(_auditTpmDigest_e3e8(934287371 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 13037, 25777)), _auditTpmDigest_e3e8(738446800 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 763, 15221)), _auditTpmDigest_e3e8(253084089 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 5583, 5791))).option(_auditTpmDigest_e3e8(1131083640 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 21645, 18725)), _auditTpmDigest_e3e8(726879178 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 14736, 21047)), _auditTpmDigest_e3e8(1442151256 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 4021, 31863))).option(_auditTpmDigest_e3e8(1035579810 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 27074, 18839)), _auditTpmDigest_e3e8(1146241809 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 10948, 29903))).option(_auditTpmDigest_e3e8(1083857647 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 28969, 20521)), _auditTpmDigest_e3e8(344518592 ^ Math.imul(__domainValState_e3e8 & 65535 ^ 27063, 6265))).action((targetArg, options) => {
41
- function isolateTpmDigest_4928(_tok0, _tok1, _tok2, _tok3) {
42
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:ec3bfe72-273530bb]",
43
- _tokVec = [_tok0, _tok1, _tok2, _tok3];
70
+ program.name(_rotateCommand_1e5e(-436639687 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 28911))).description(_rotateCommand_1e5e(-144421290 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 16419))).version(SYFERIT_VERSION);
71
+ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 27059))).description(_rotateCommand_1e5e(-657380690 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 25307))).option(_rotateCommand_1e5e(-1624314509 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 10787)), _rotateCommand_1e5e(-1755312946 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 8673))).option(_rotateCommand_1e5e(508751585 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 6493)), _rotateCommand_1e5e(672411602 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 9135))).option(_rotateCommand_1e5e(-1267467523 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 31427)), _rotateCommand_1e5e(1225096280 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 14961))).option(_rotateCommand_1e5e(456908515 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 15805)), _rotateCommand_1e5e(2002175506 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 28981))).option(_rotateCommand_1e5e(277063775 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 30167)), _rotateCommand_1e5e(755093226 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 25053))).option(_rotateCommand_1e5e(1978837311 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 19191)), _rotateCommand_1e5e(-1202816098 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 7359))).option(_rotateCommand_1e5e(759018479 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 14085)), _rotateCommand_1e5e(1973332154 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 29703))).option(_rotateCommand_1e5e(-1716737389 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 14145)), _rotateCommand_1e5e(-305319498 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 9695))).option(_rotateCommand_1e5e(-167795871 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 25791)), _rotateCommand_1e5e(-1686874070 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 9525))).option(_rotateCommand_1e5e(1720939627 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 17361)), _rotateCommand_1e5e(-480120012 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 17425))).action((targetArg, options) => {
72
+ function authenticateKeystoreVector_26f0(_tok0, _tok1, _tok2, _tok3) {
73
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:0fc43f95-f696156d]",
74
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
75
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
44
76
  let _h = 2166136261;
45
77
  for (let _s = 0; _s < _tokVec.length; _s++) {
46
78
  _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
@@ -57,58 +89,502 @@ program.command(_auditTpmDigest_e3e8(330973372 ^ Math.imul(__domainValState_e3e8
57
89
  _h = (_h ^ _h >>> 16) >>> 0;
58
90
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
59
91
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
60
- if ((_h >>> 4 & 15) !== 8) {
61
- throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
92
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
93
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
94
+ if ((_h >>> 4 & 15) !== 6) {
95
+ _h = (_h ^ 3735884599) >>> 0;
96
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
62
97
  }
63
98
  return _h;
64
99
  }
65
- const __domainState_4928 = isolateTpmDigest_4928(142329221, 470222895, 600733793, 185625059);
66
- const _resolvedPathProof_4928 = [[204, 46, 144, 29, 111, 202, 86, 86, 221, 225, 107, 233, 32, 56, 237, 94, 188, 207, 91, 164, 20, 96, 167, 118, 117, 181, 40, 141, 240, 28, 206, 24, 64, 144, 231, 50, 210, 226, 54, 194, 56, 86, 207, 89, 145, 215, 76, 183, 89, 56, 189, 66, 125, 146, 9, 130, 196, 23, 142, 170, 29, 109, 160, 121, 231, 188, 66, 193, 36, 86, 211, 52, 152, 176, 106, 170, 247, 55, 170, 11, 122, 152, 82, 44, 130, 228, 111, 229, 53, 116, 186, 69, 167, 136, 78, 205, 16, 90, 167, 32, 148, 164, 118, 150, 227, 11, 158, 31, 70, 140, 94, 35, 205, 172, 60, 141, 41, 73, 213, 66, 129, 157], [198, 224, 117, 243, 39, 123, 254, 79], [160, 199, 77, 207], [136, 185, 62, 133, 249, 60, 145, 28, 79, 157], [120, 158, 2, 99, 195, 244, 120, 243, 54, 125], [49, 118, 250, 71, 179]];
67
- function _attestQuorumVector_4928(_slot) {
68
- const _row = _resolvedPathProof_4928[_slot];
69
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__domainState_4928 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
100
+ const __SoltrixStudiosQuorum_26f0 = authenticateKeystoreVector_26f0(1298379255, 1909129647, 1995717187, 960570559);
101
+ function _attestTargetArg_rns_26f0(_x, _s) {
102
+ const _u = _x >>> 0,
103
+ _r0 = _u % 251,
104
+ _r1 = _u % 197,
105
+ _r2 = _u % 227,
106
+ _r3 = _u % 199,
107
+ _r4 = _u % 233;
108
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
109
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
110
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
111
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
112
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
113
+ _v0 = _v0 + _v1 >>> 0;
114
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
115
+ _v2 = _v2 + _v3 >>> 0;
116
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
117
+ _v0 = _v0 + _v1 >>> 0;
118
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
119
+ _v2 = _v2 + _v3 >>> 0;
120
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
121
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
122
+ }
123
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
124
+ }
125
+ function _sanitizeTpmEnvelope_vm_26f0(_bc) {
126
+ const _stk = [];
127
+ for (let _pc = 0; _pc < _bc.length; _pc += 3) {
128
+ const _op = _bc[_pc],
129
+ _a = _bc[_pc + 1],
130
+ _b = _bc[_pc + 2];
131
+ if (_op === 36) {
132
+ _stk.push((__SoltrixStudiosQuorum_26f0 >>> 0) % _a ^ _b);
133
+ } else if (_op === 71) {
134
+ const _v = _stk.pop() >>> 0;
135
+ _stk.push(_v << _a | _v >>> 32 - _a);
136
+ } else if (_op === 181) {
137
+ const _r = _stk.pop(),
138
+ _l = _stk.pop();
139
+ _stk.push(_l ^ _r);
140
+ } else if (_op === 135) {
141
+ const _r2 = _stk.pop(),
142
+ _l2 = _stk.pop();
143
+ _stk.push(_l2 + _r2 | 0);
144
+ }
145
+ }
146
+ return _stk[0];
147
+ }
148
+ const _signatureCheck_26f0 = [[32, 166, 171, 105, 139, 82, 77, 202, 225, 153, 96, 93, 68, 176, 230, 178, 208, 71, 64, 48, 48, 152, 220, 202, 169, 45, 35, 25, 20, 148, 197, 116, 108, 24, 28, 134, 246, 122, 45, 94, 68, 238, 196, 173, 181, 95, 71, 27, 117, 176, 166, 214, 153, 42, 50, 254, 24, 143, 133, 62, 57, 229, 171, 213, 139, 52, 121, 53, 64, 206, 200, 168, 164, 72, 97, 30, 19, 191, 161, 103, 150, 16, 73, 184, 166, 156, 148, 89, 105, 236, 177, 209, 195, 0, 69, 33, 60, 210, 220, 148, 176, 60, 109, 10, 31, 179, 149, 107, 98, 4, 85, 143, 225, 36, 39, 25, 77, 241, 238, 190, 221, 5], [226, 152, 140, 79, 123, 227, 247, 219], [220, 127, 66, 35], [188, 34, 58, 17, 13, 185, 185, 109], [138, 9, 12, 233], [110, 255, 253, 219, 199, 66, 82, 58, 41, 219], [7, 192, 206, 201, 133, 51, 37, 88], [32, 182, 174, 109, 153, 5, 21, 249], [222, 151, 104, 94, 81, 245, 241, 226], [184, 1, 6, 83, 70, 181, 186, 231, 218, 73, 78, 123, 110, 221, 226, 15, 2, 113, 118, 163, 150, 5, 10, 55, 42, 153, 158, 203, 190, 45, 50, 95, 82, 193, 198, 243, 230, 85, 90, 135, 122, 233, 238, 27, 14, 125, 130, 175, 162, 17, 22, 67, 54, 165, 170, 215, 202, 57, 62, 107, 94, 205, 210, 255, 242, 97, 102, 147, 134, 245, 250, 39, 26, 137, 142, 187, 174, 29, 34, 79], [247, 102, 75, 120, 107, 218, 223, 12, 255, 110, 115, 160, 147, 2, 7, 52, 39, 150, 155, 200, 187, 42, 47, 92, 79, 190, 195, 240, 227, 82, 87, 132, 119, 230, 235, 24, 11, 122, 127, 172, 159, 14, 19, 64, 51, 162, 167, 212, 199, 54, 59, 104, 91, 202, 207, 252, 239, 94, 99, 144, 131, 242, 247, 36, 23, 134, 139, 184, 171, 26, 31, 76, 63, 174, 179, 224, 211, 66, 71, 126], [184, 25, 9, 176, 194, 138, 106], [105, 241, 231, 166, 208, 74, 76, 50], [21, 222, 211, 151, 170, 44, 42], [97, 250, 255, 12, 255, 110, 115, 160, 147, 2, 7, 52, 39, 150, 155, 200, 187, 42, 47, 92, 79, 190, 195, 240, 227, 82, 87, 132, 119, 230, 235, 24, 11, 122, 127, 172, 159, 14, 19, 64, 51, 162, 167, 212, 199, 54, 59, 104, 91, 202, 207, 252, 239, 94, 99, 144, 131, 242, 247, 36, 23, 134, 139, 184, 171, 26, 31, 76, 63, 174, 179, 224, 211, 66, 71, 116, 103, 214, 219, 8], [176, 223, 4, 49, 36, 147, 152, 197, 184, 39, 44, 89, 76, 187, 192, 237, 224, 79, 84, 129, 116, 227, 232, 21, 8, 119, 124, 169, 156, 11, 16, 61, 48, 159, 164, 209, 196, 51, 56, 101, 88, 199, 204, 249, 236, 91, 96, 141, 128, 239, 244, 33, 20, 131, 136, 181, 168, 23, 28, 73, 60, 171, 176, 221, 208, 63, 68, 113, 100, 211, 216, 5, 248, 103, 108, 153, 140, 251, 0, 39], [241, 86, 80, 123, 59, 205, 211, 202, 190, 35, 60, 14, 29, 133, 145, 119, 63, 84, 72, 134, 255, 97, 97, 95, 13, 241, 192, 186, 162, 88, 80, 6, 117, 236, 249, 214, 132, 55, 57, 227, 27, 133, 148, 122, 56, 174]];
149
+ function _auditTpmState_26f0(_slot) {
150
+ const _row = _signatureCheck_26f0[_slot];
151
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__SoltrixStudiosQuorum_26f0 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
70
152
  }
71
- if ((__domainState_4928 & 255) !== 137) {
153
+ if ((__SoltrixStudiosQuorum_26f0 & 255) !== 101) {
72
154
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
73
155
  }
74
- const _programVector_425 = targetArg || options.target;
75
- if (!_programVector_425) {
76
- console.error(_attestQuorumVector_4928(10421615 ^ Math.imul(__domainState_4928 & 65535 ^ 13946, 20885)));
77
- process.exit(153137740 ^ Math.imul(__domainState_4928 & 65535 ^ 24524, 5737));
78
- }
79
- const _enclaveDigest_a1f = path.resolve(process.cwd(), _programVector_425);
80
- if (!fs.existsSync(_enclaveDigest_a1f)) {
81
- console.error(`Error: Target path does not exist: ${_enclaveDigest_a1f}`);
82
- process.exit(240082114 ^ Math.imul(__domainState_4928 & 65535 ^ 23926, 8765));
83
- }
84
- let _SoltrixStudiosDelta_1ea = options.preset;
85
- let _statCheck_a11 = options.domain || options.profile;
86
- if (PRESET_VALUES.has(_statCheck_a11) && _SoltrixStudiosDelta_1ea === _attestQuorumVector_4928(461971741 ^ Math.imul(__domainState_4928 & 65535 ^ 21685, 18185))) {
87
- _SoltrixStudiosDelta_1ea = _statCheck_a11;
88
- _statCheck_a11 = _attestQuorumVector_4928(160910702 ^ Math.imul(__domainState_4928 & 65535 ^ 8325, 27273));
89
- }
90
- const _actionCheck_172 = fs.statSync(_enclaveDigest_a1f);
91
- const _enclaveReg_5f0 = {
92
- seed: options.seed,
93
- domainProfile: _statCheck_a11,
94
- preset: _SoltrixStudiosDelta_1ea,
95
- mode: _attestQuorumVector_4928(190542552 ^ Math.imul(__domainState_4928 & 65535 ^ 2642, 12033))
156
+ const _versionVector_ea0 = loadSyferitConfig();
157
+ const _actionFrame_afe = targetArg || options.target || _versionVector_ea0?.target;
158
+ if (!_actionFrame_afe) {
159
+ console.error(_auditTpmState_26f0(-1374120867 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 30477)));
160
+ process.exit(_sanitizeTpmEnvelope_vm_26f0([36, 251, 19339, 71, 7, 0, 36, 197, 22094, 135, 0, 0, 36, 251, 2507312, 181, 0, 0]));
161
+ }
162
+ const _enclaveEnvelope_b09 = path.resolve(process.cwd(), _actionFrame_afe);
163
+ if (!fs.existsSync(_enclaveEnvelope_b09)) {
164
+ console.error(`Error: Target path does not exist: ${_enclaveEnvelope_b09}`);
165
+ process.exit(_sanitizeTpmEnvelope_vm_26f0([36, 251, 24414, 71, 12, 0, 36, 197, 25909, 135, 0, 0, 36, 251, 99693899, 181, 0, 0]));
166
+ }
167
+ let _keystoreFrame_dc8 = options.preset ?? _versionVector_ea0?.preset ?? _auditTpmState_26f0(-902264564 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 19521));
168
+ let _keystoreProration_2e0 = options.domain ?? options.profile ?? _versionVector_ea0?.domainProfile ?? _auditTpmState_26f0(-656528811 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 20845));
169
+ if (PRESET_VALUES.has(_keystoreProration_2e0) && !options.preset && _keystoreFrame_dc8 === _auditTpmState_26f0(-1772667852 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 3541))) {
170
+ _keystoreFrame_dc8 = _keystoreProration_2e0;
171
+ _keystoreProration_2e0 = _versionVector_ea0?.domainProfile ?? _auditTpmState_26f0(1350126505 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 20315));
172
+ }
173
+ const _signatureVector_61f = Boolean(options.dryRun);
174
+ const _loadSyferitConfigDigest_3c2 = options.exclude ?? _versionVector_ea0?.exclude;
175
+ const _SYFERIT_VERSIONFrame_ed7 = options.seed ?? _versionVector_ea0?.seed;
176
+ const _CommandVector_389 = fs.statSync(_enclaveEnvelope_b09);
177
+ const _SoltrixStudiosDelta_369 = {
178
+ seed: _SYFERIT_VERSIONFrame_ed7,
179
+ domainProfile: _keystoreProration_2e0,
180
+ preset: _keystoreFrame_dc8,
181
+ mode: _auditTpmState_26f0(1987573664 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 16075)),
182
+ exclude: _loadSyferitConfigDigest_3c2,
183
+ dryRun: _signatureVector_61f
96
184
  };
97
- const _ProprietaryEnclaveDelta_713 = options.output || options.out;
98
- if (_actionCheck_172.isDirectory()) {
99
- const outDir = _ProprietaryEnclaveDelta_713 ? path.resolve(process.cwd(), _ProprietaryEnclaveDelta_713) : undefined;
100
- const res = protectDirectory(_enclaveDigest_a1f, outDir, _enclaveReg_5f0);
101
- console.log(`Protected directory: ${res.filesTransformed}/${res.filesProcessed} source files transformed.`);
185
+ const _keystoreBank_554 = Boolean(options.quiet ?? _versionVector_ea0?.quiet);
186
+ if (!_keystoreBank_554) {
187
+ printSyferitBanner(_SoltrixStudiosDelta_369);
188
+ }
189
+ const _tpmVector_1ae = Date.now();
190
+ const _tokenBank_a0a = options.output || options.out || _versionVector_ea0?.out;
191
+ if (_CommandVector_389.isDirectory()) {
192
+ const outDir = _tokenBank_a0a ? path.resolve(process.cwd(), _tokenBank_a0a) : undefined;
193
+ const res = protectDirectory(_enclaveEnvelope_b09, outDir, _SoltrixStudiosDelta_369, info => {
194
+ function authenticateSignatureVector_47ba(_tok0, _tok1, _tok2, _tok3) {
195
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:4f05f2bb-fbe4529b]",
196
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
197
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
198
+ let _h = 2166136261;
199
+ for (let _s = 0; _s < _tokVec.length; _s++) {
200
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
201
+ _h = Math.imul(_h, 16777619) >>> 0;
202
+ _h ^= _h >>> 13;
203
+ }
204
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
205
+ _h ^= _legalAttestation.charCodeAt(_i);
206
+ _h = Math.imul(_h, 16777619) >>> 0;
207
+ _h ^= _h >>> 13;
208
+ }
209
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
210
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
211
+ _h = (_h ^ _h >>> 16) >>> 0;
212
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
213
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
214
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
215
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
216
+ if ((_h >>> 4 & 15) !== 11) {
217
+ _h = (_h ^ 3735884599) >>> 0;
218
+ throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
219
+ }
220
+ return _h;
221
+ }
222
+ const __targetState_47ba = authenticateSignatureVector_47ba(1815476507, 1420439587, 1088488041, 1144189979);
223
+ function _validateFileConfig_rns_47ba(_x, _s) {
224
+ const _u = _x >>> 0,
225
+ _r0 = _u % 199,
226
+ _r1 = _u % 239,
227
+ _r2 = _u % 229,
228
+ _r3 = _u % 211,
229
+ _r4 = _u % 197;
230
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
231
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
232
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
233
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
234
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
235
+ _v0 = _v0 + _v1 >>> 0;
236
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
237
+ _v2 = _v2 + _v3 >>> 0;
238
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
239
+ _v0 = _v0 + _v1 >>> 0;
240
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
241
+ _v2 = _v2 + _v3 >>> 0;
242
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
243
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
244
+ }
245
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
246
+ }
247
+ if ((__targetState_47ba & 255) !== 184) {
248
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
249
+ }
250
+ if (!_keystoreBank_554) {
251
+ const width = String(info.total).length;
252
+ const idxStr = String(info.index).padStart(width, '0');
253
+ const totStr = String(info.total).padStart(width, '0');
254
+ const status = _signatureVector_61f ? _auditTpmState_26f0(-57807511 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 30207)) : info.transformed ? _auditTpmState_26f0(1442128382 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 17023)) : _auditTpmState_26f0(335438733 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 18953));
255
+ console.log(` [${idxStr}/${totStr}] 🛡️ ${info.targetLabel} → ${info.relPath} (${status} | ${info.durationMs}ms)`);
256
+ }
257
+ });
258
+ const totalMs = Date.now() - _tpmVector_1ae;
259
+ if (!_keystoreBank_554) {
260
+ console.log(_auditTpmState_26f0(-1477446690 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 24451)));
261
+ if (_signatureVector_61f) {
262
+ console.log(` ✔ SYFERIT DRY-RUN COMPLETE (${totalMs}ms) — ${res.filesProcessed} files matched (0 files modified)`);
263
+ } else {
264
+ console.log(` ✔ SYFERIT v2.0.0 PROTECTION COMPLETE (${totalMs}ms) — ${res.filesTransformed}/${res.filesProcessed} Artifacts Hardened`);
265
+ }
266
+ console.log(_auditTpmState_26f0(-1220125901 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 11533)));
267
+ }
268
+ if (_signatureVector_61f) {
269
+ console.log(`Dry-run complete: ${res.filesProcessed} files matched (0 modified).`);
270
+ } else {
271
+ console.log(`Protected directory: ${res.filesTransformed}/${res.filesProcessed} source files transformed.`);
272
+ }
102
273
  } else {
103
- const outFile = _ProprietaryEnclaveDelta_713 ? path.resolve(process.cwd(), _ProprietaryEnclaveDelta_713) : undefined;
104
- const res = protectFile(_enclaveDigest_a1f, outFile, _enclaveReg_5f0);
105
- console.log(`File protection complete. Transformed: ${res.transformed}`);
274
+ const outFile = _tokenBank_a0a ? path.resolve(process.cwd(), _tokenBank_a0a) : undefined;
275
+ const res = protectFile(_enclaveEnvelope_b09, outFile, _SoltrixStudiosDelta_369);
276
+ const totalMs = Date.now() - _tpmVector_1ae;
277
+ if (!_keystoreBank_554) {
278
+ const fileName = path.basename(_enclaveEnvelope_b09);
279
+ const status = _signatureVector_61f ? _auditTpmState_26f0(1145172584 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 27501)) : res.transformed ? _auditTpmState_26f0(1753022153 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 6041)) : _auditTpmState_26f0(-848261774 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 18475));
280
+ console.log(` [01/01] 🛡️ Artifact → ${fileName} (${status} | ${totalMs}ms)`);
281
+ console.log(_auditTpmState_26f0(-403708277 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 30437)));
282
+ if (_signatureVector_61f) {
283
+ console.log(` ✔ SYFERIT DRY-RUN COMPLETE (${totalMs}ms) — 1 file matched (0 modified)`);
284
+ } else {
285
+ console.log(` ✔ SYFERIT v2.0.0 PROTECTION COMPLETE (${totalMs}ms)`);
286
+ }
287
+ console.log(_auditTpmState_26f0(-1389029230 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 7169)));
288
+ }
289
+ if (_signatureVector_61f) {
290
+ console.log(_auditTpmState_26f0(-1601719169 ^ _attestTargetArg_rns_26f0(__SoltrixStudiosQuorum_26f0, 10773)));
291
+ } else {
292
+ console.log(`File protection complete. Transformed: ${res.transformed}`);
293
+ }
294
+ }
295
+ if (!_signatureVector_61f) {
296
+ notifyIfUpdateAvailable(_keystoreBank_554);
106
297
  }
107
298
  });
108
- program.parse(process.argv);
299
+ program.command(_rotateCommand_1e5e(431146777 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 26823))).description(_rotateCommand_1e5e(-1151614638 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 18183))).option(_rotateCommand_1e5e(-1422539743 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 24123)), _rotateCommand_1e5e(-2051971480 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 16187))).action(options => {
300
+ function reconcileKeystoreQuorum_c7db(_tok0, _tok1, _tok2, _tok3) {
301
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:7926e75c-8b9ca774]",
302
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
303
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
304
+ let _h = 2166136261;
305
+ for (let _s = 0; _s < _tokVec.length; _s++) {
306
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
307
+ _h = Math.imul(_h, 16777619) >>> 0;
308
+ _h ^= _h >>> 13;
309
+ }
310
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
311
+ _h ^= _legalAttestation.charCodeAt(_i);
312
+ _h = Math.imul(_h, 16777619) >>> 0;
313
+ _h ^= _h >>> 13;
314
+ }
315
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
316
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
317
+ _h = (_h ^ _h >>> 16) >>> 0;
318
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
319
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
320
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
321
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
322
+ if ((_h >>> 4 & 15) !== 0) {
323
+ _h = (_h ^ 3735884599) >>> 0;
324
+ throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
325
+ }
326
+ return _h;
327
+ }
328
+ const __SYFERIT_VERSIONState_c7db = reconcileKeystoreQuorum_c7db(497197931, 2060393375, 916320889, 1804347489);
329
+ function _authenticateExit_rns_c7db(_x, _s) {
330
+ const _u = _x >>> 0,
331
+ _r0 = _u % 227,
332
+ _r1 = _u % 241,
333
+ _r2 = _u % 239,
334
+ _r3 = _u % 197,
335
+ _r4 = _u % 199;
336
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
337
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
338
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
339
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
340
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
341
+ _v0 = _v0 + _v1 >>> 0;
342
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
343
+ _v2 = _v2 + _v3 >>> 0;
344
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
345
+ _v0 = _v0 + _v1 >>> 0;
346
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
347
+ _v2 = _v2 + _v3 >>> 0;
348
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
349
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
350
+ }
351
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
352
+ }
353
+ function _validateFileConfig_vm_c7db(_bc) {
354
+ const _stk = [];
355
+ for (let _pc = 0; _pc < _bc.length; _pc += 3) {
356
+ const _op = _bc[_pc],
357
+ _a = _bc[_pc + 1],
358
+ _b = _bc[_pc + 2];
359
+ if (_op === 172) {
360
+ _stk.push((__SYFERIT_VERSIONState_c7db >>> 0) % _a ^ _b);
361
+ } else if (_op === 116) {
362
+ const _v = _stk.pop() >>> 0;
363
+ _stk.push(_v << _a | _v >>> 32 - _a);
364
+ } else if (_op === 107) {
365
+ const _r = _stk.pop(),
366
+ _l = _stk.pop();
367
+ _stk.push(_l ^ _r);
368
+ } else if (_op === 30) {
369
+ const _r2 = _stk.pop(),
370
+ _l2 = _stk.pop();
371
+ _stk.push(_l2 + _r2 | 0);
372
+ }
373
+ }
374
+ return _stk[0];
375
+ }
376
+ const _nonceFrame_c7db = [[127, 99, 78, 63, 210, 199, 200, 192, 87, 45, 62, 228, 161, 177, 202, 124, 47, 5, 22], [31, 16, 41, 22, 182, 167], [120, 75, 22, 205, 153, 140, 43, 72, 12, 227, 238, 169, 113, 84, 75, 4], [13, 187, 186, 184, 122, 124, 69, 41, 214, 220, 146, 131, 89, 54], [211, 207, 221, 157], [179, 182, 143, 119, 54, 21], [192, 214, 107, 81, 16, 162, 240, 191], [122, 105, 77, 112, 155], [20, 98, 232, 162, 154, 163, 138, 54, 60, 25, 1, 204, 149, 140, 101, 74, 164, 226, 210, 189, 108, 67, 87, 18, 140, 151, 229, 158, 50, 55, 113, 252, 161, 140, 144, 2, 28, 25, 164, 198, 142, 111, 110, 35, 245, 233, 128, 254, 75, 64, 96, 18, 203, 191, 178, 99, 62, 51, 28, 186, 144, 156, 147, 90, 17, 225, 228, 162, 40, 98, 75, 118, 244, 203, 202, 142, 85, 80, 98, 116]];
377
+ function _authenticateCommand_c7db(_slot) {
378
+ const _row = _nonceFrame_c7db[_slot];
379
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__SYFERIT_VERSIONState_c7db >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
380
+ }
381
+ if ((__SYFERIT_VERSIONState_c7db & 255) !== 12) {
382
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
383
+ }
384
+ const _PRESET_VALUESDigest_49f = path.resolve(process.cwd(), _authenticateCommand_c7db(-2016182441 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 4771)));
385
+ if (fs.existsSync(_PRESET_VALUESDigest_49f) && !options.force) {
386
+ console.error(` syferit.config.json already exists at ${_PRESET_VALUESDigest_49f}. Use --force to overwrite.`);
387
+ process.exitCode = _validateFileConfig_vm_c7db([172, 227, 14016, 116, 16, 0, 172, 241, 9765, 30, 0, 0, 172, 227, 915416821, 107, 0, 0]);
388
+ return;
389
+ }
390
+ const _runSetupDigest_20e = {
391
+ target: _authenticateCommand_c7db(-749351966 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 20399)),
392
+ out: _authenticateCommand_c7db(-1762536703 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 3347)),
393
+ preset: _authenticateCommand_c7db(-1432373820 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 1341)),
394
+ domainProfile: _authenticateCommand_c7db(263058013 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 30827)),
395
+ exclude: [_authenticateCommand_c7db(-219578342 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 23753)), _authenticateCommand_c7db(1727456545 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 15491))]
396
+ };
397
+ fs.writeFileSync(_PRESET_VALUESDigest_49f, JSON.stringify(_runSetupDigest_20e, null, _validateFileConfig_vm_c7db([172, 227, 26641, 116, 12, 0, 172, 241, 828, 30, 0, 0, 172, 227, 109319151, 107, 0, 0])) + '\n', _authenticateCommand_c7db(-352688540 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 15075)));
398
+ console.log(`\n ✔ Created starter config at ${_PRESET_VALUESDigest_49f}`);
399
+ console.log(_authenticateCommand_c7db(590328743 ^ _authenticateExit_rns_c7db(__SYFERIT_VERSIONState_c7db, 4529)));
400
+ });
401
+ program.command(_rotateCommand_1e5e(-887510403 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 24191))).description(_rotateCommand_1e5e(-576862234 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 2457))).option(_rotateCommand_1e5e(-254337815 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 6573)), _rotateCommand_1e5e(-921859054 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 26041))).action(async options => {
402
+ function isolateVersion_367b(_tok0, _tok1, _tok2, _tok3) {
403
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:bf360d4f-f20cee46]",
404
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
405
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
406
+ let _h = 2166136261;
407
+ for (let _s = 0; _s < _tokVec.length; _s++) {
408
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
409
+ _h = Math.imul(_h, 16777619) >>> 0;
410
+ _h ^= _h >>> 13;
411
+ }
412
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
413
+ _h ^= _legalAttestation.charCodeAt(_i);
414
+ _h = Math.imul(_h, 16777619) >>> 0;
415
+ _h ^= _h >>> 13;
416
+ }
417
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
418
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
419
+ _h = (_h ^ _h >>> 16) >>> 0;
420
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
421
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
422
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
423
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
424
+ if ((_h >>> 4 & 15) !== 6) {
425
+ _h = (_h ^ 3735884599) >>> 0;
426
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
427
+ }
428
+ return _h;
429
+ }
430
+ const __keystoreFrame_367b = isolateVersion_367b(1425490927, 836219347, 1056320529, 1586617259);
431
+ function _isolateTpmVector_rns_367b(_x, _s) {
432
+ const _u = _x >>> 0,
433
+ _r0 = _u % 223,
434
+ _r1 = _u % 239,
435
+ _r2 = _u % 227,
436
+ _r3 = _u % 197,
437
+ _r4 = _u % 241;
438
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
439
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
440
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
441
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
442
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
443
+ _v0 = _v0 + _v1 >>> 0;
444
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
445
+ _v2 = _v2 + _v3 >>> 0;
446
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
447
+ _v0 = _v0 + _v1 >>> 0;
448
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
449
+ _v2 = _v2 + _v3 >>> 0;
450
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
451
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
452
+ }
453
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
454
+ }
455
+ if ((__keystoreFrame_367b & 255) !== 102) {
456
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
457
+ }
458
+ await runSetup({
459
+ yes: Boolean(options.yes)
460
+ });
461
+ });
462
+ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 4533))).description(_rotateCommand_1e5e(-697167062 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 8643))).option(_rotateCommand_1e5e(-1047006769 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 18459)), _rotateCommand_1e5e(858478748 ^ _verifyEnclaveAttestation_rns_1e5e(__errorState_1e5e, 467))).action(async options => {
463
+ function rotateTokenBank_89d0(_tok0, _tok1, _tok2, _tok3) {
464
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:8b2467c1-82b53b7f]",
465
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
466
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
467
+ let _h = 2166136261;
468
+ for (let _s = 0; _s < _tokVec.length; _s++) {
469
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
470
+ _h = Math.imul(_h, 16777619) >>> 0;
471
+ _h ^= _h >>> 13;
472
+ }
473
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
474
+ _h ^= _legalAttestation.charCodeAt(_i);
475
+ _h = Math.imul(_h, 16777619) >>> 0;
476
+ _h ^= _h >>> 13;
477
+ }
478
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
479
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
480
+ _h = (_h ^ _h >>> 16) >>> 0;
481
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
482
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
483
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
484
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
485
+ if ((_h >>> 4 & 15) !== 7) {
486
+ _h = (_h ^ 3735884599) >>> 0;
487
+ throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
488
+ }
489
+ return _h;
490
+ }
491
+ const __enclaveAttestation_89d0 = rotateTokenBank_89d0(229832233, 673058603, 1206798847, 1517116887);
492
+ function _verifyProcess_rns_89d0(_x, _s) {
493
+ const _u = _x >>> 0,
494
+ _r0 = _u % 223,
495
+ _r1 = _u % 211,
496
+ _r2 = _u % 233,
497
+ _r3 = _u % 239,
498
+ _r4 = _u % 199;
499
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
500
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
501
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
502
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
503
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
504
+ _v0 = _v0 + _v1 >>> 0;
505
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
506
+ _v2 = _v2 + _v3 >>> 0;
507
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
508
+ _v0 = _v0 + _v1 >>> 0;
509
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
510
+ _v2 = _v2 + _v3 >>> 0;
511
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
512
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
513
+ }
514
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
515
+ }
516
+ if ((__enclaveAttestation_89d0 & 255) !== 119) {
517
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
518
+ }
519
+ await runUpgrade({
520
+ checkOnly: Boolean(options.check)
521
+ });
522
+ });
523
+ (async () => {
524
+ function isolateAction_fc10(_tok0, _tok1, _tok2, _tok3) {
525
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:e0f92e52-24ba8cad]",
526
+ _tokVec = [_tok0, _tok1, _tok2, _tok3],
527
+ _t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
528
+ let _h = 2166136261;
529
+ for (let _s = 0; _s < _tokVec.length; _s++) {
530
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
531
+ _h = Math.imul(_h, 16777619) >>> 0;
532
+ _h ^= _h >>> 13;
533
+ }
534
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
535
+ _h ^= _legalAttestation.charCodeAt(_i);
536
+ _h = Math.imul(_h, 16777619) >>> 0;
537
+ _h ^= _h >>> 13;
538
+ }
539
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
540
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
541
+ _h = (_h ^ _h >>> 16) >>> 0;
542
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
543
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
544
+ const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
545
+ if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
546
+ if ((_h >>> 4 & 15) !== 5) {
547
+ _h = (_h ^ 3735884599) >>> 0;
548
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
549
+ }
550
+ return _h;
551
+ }
552
+ const __tpmVector_fc10 = isolateAction_fc10(268078867, 1528608301, 1558657215, 1183079685);
553
+ function _verifySyferitEngineContext_rns_fc10(_x, _s) {
554
+ const _u = _x >>> 0,
555
+ _r0 = _u % 251,
556
+ _r1 = _u % 197,
557
+ _r2 = _u % 233,
558
+ _r3 = _u % 199,
559
+ _r4 = _u % 241;
560
+ let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
561
+ _v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
562
+ _v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
563
+ _v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
564
+ for (let _rnd = 0; _rnd < 2; _rnd++) {
565
+ _v0 = _v0 + _v1 >>> 0;
566
+ _v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
567
+ _v2 = _v2 + _v3 >>> 0;
568
+ _v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
569
+ _v0 = _v0 + _v1 >>> 0;
570
+ _v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
571
+ _v2 = _v2 + _v3 >>> 0;
572
+ _v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
573
+ if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
574
+ }
575
+ return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
576
+ }
577
+ if ((__tpmVector_fc10 & 255) !== 85) {
578
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
579
+ }
580
+ if (await handleNoArgsInteractiveLaunch()) {
581
+ return;
582
+ }
583
+ await program.parseAsync(process.argv);
584
+ })();
109
585
  if (typeof window !== "undefined") {
110
- window.__syferitIPC_cfb0 && window.__syferitIPC_cfb0.invoke && window.__syferitIPC_cfb0.invoke("system:keystore-attestation", {
111
- syncEpoch: 171827472,
112
- channelSig: "SIG_FRAME_CFB0"
586
+ window.__syferitIPC_21f5 && window.__syferitIPC_21f5.invoke && window.__syferitIPC_21f5.invoke("auth:session-lease-sync", {
587
+ syncEpoch: 484369668,
588
+ channelSig: "SIG_FRAME_21F5"
113
589
  });
114
590
  }