@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/bin.js
CHANGED
|
@@ -6,8 +6,8 @@ import path from 'node:path';
|
|
|
6
6
|
import { protectFile, protectDirectory, printSyferitBanner, loadSyferitConfig } from './index.js';
|
|
7
7
|
import { notifyIfUpdateAvailable, runUpgrade, cleanupOldBinaryOnWindows, SYFERIT_VERSION } from './updater.js';
|
|
8
8
|
import { runSetup, handleNoArgsInteractiveLaunch } from './setup.js';
|
|
9
|
-
function
|
|
10
|
-
const _legalAttestation = "
|
|
9
|
+
function verifySoltrixStudiosContext_602(_tok0, _tok1, _tok2, _tok3) {
|
|
10
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:c281c35c-0efb04b6]",
|
|
11
11
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
12
12
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
13
13
|
let _h = 2166136261;
|
|
@@ -28,20 +28,20 @@ function auditTpmCheck_1e5e(_tok0, _tok1, _tok2, _tok3) {
|
|
|
28
28
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
29
29
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
30
30
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
31
|
-
if ((_h >>> 4 & 15) !==
|
|
31
|
+
if ((_h >>> 4 & 15) !== 13) {
|
|
32
32
|
_h = (_h ^ 3735884599) >>> 0;
|
|
33
33
|
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
34
34
|
}
|
|
35
35
|
return _h;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
38
|
-
function
|
|
37
|
+
var __quorumCheck_602 = verifySoltrixStudiosContext_602(1335994381, 1090087733, 1169353583, 1037879949);
|
|
38
|
+
function _rotateCommand_rns_602(_x, _s) {
|
|
39
39
|
const _u = _x >>> 0,
|
|
40
|
-
_r0 = _u %
|
|
41
|
-
_r1 = _u %
|
|
42
|
-
_r2 = _u %
|
|
43
|
-
_r3 = _u %
|
|
44
|
-
_r4 = _u %
|
|
40
|
+
_r0 = _u % 197,
|
|
41
|
+
_r1 = _u % 239,
|
|
42
|
+
_r2 = _u % 227,
|
|
43
|
+
_r3 = _u % 223,
|
|
44
|
+
_r4 = _u % 241;
|
|
45
45
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
46
46
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
47
47
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -59,18 +59,18 @@ function _verifyEnclaveAttestation_rns_1e5e(_x, _s) {
|
|
|
59
59
|
}
|
|
60
60
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
function
|
|
64
|
-
const _row =
|
|
65
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
62
|
+
var _SyferitEngineDelta_602 = [[166, 233, 64, 125, 13, 80, 199, 195], [146, 163, 52, 92, 235, 56, 191, 168], [114, 134, 19, 52, 222, 14, 146], [50, 62, 189, 243, 173, 193, 74, 98, 25, 89, 149, 216, 110, 187], [26, 72, 211, 194, 143, 172, 61], [221, 47, 188, 169, 80, 131, 26, 64, 192, 76, 44, 196, 112, 50, 196, 198, 141, 139, 107, 78, 42, 26, 251, 222, 114, 175, 60, 35, 246, 7, 139, 189, 64, 130, 90, 74, 226, 217, 119, 109, 52, 113, 206, 253, 137, 146, 112, 77, 23, 53, 190, 217, 126, 250, 29, 63, 194, 11, 210, 160, 95, 100, 227, 22, 189, 243, 58, 73, 12, 77, 199, 206, 147, 158, 32, 77, 170, 1, 185, 164, 106, 148, 3, 36, 146, 41, 138, 133, 34, 103, 253, 247], [195, 9, 144, 133, 34, 108, 231, 165, 128, 215, 70, 107, 8, 82, 207, 240], [153, 208, 84, 122, 21, 20, 249, 249, 84, 232, 32, 81, 243, 53, 131, 242, 77, 158, 0, 7, 210, 227, 100, 159, 61, 125, 242, 250, 200, 140, 98, 108, 43, 109, 133, 228, 84, 244, 40, 37, 201, 6, 152, 254, 82, 137, 238, 17, 188, 249, 123, 104, 47, 8, 136, 251, 158, 220, 28, 93, 225, 33, 177, 172, 108, 137, 7, 118, 220, 6, 151, 158, 37, 107, 248, 23, 187, 242, 0, 102, 7, 16, 213, 134, 154, 173, 36, 95, 176, 55, 174, 238, 64, 133, 2, 7, 219, 244, 107, 132, 53], [208, 177, 101, 27, 188, 116, 169, 174, 87, 138, 20, 23, 153, 189, 117, 150, 57, 125, 167], [114, 139, 26, 8, 150, 10, 109, 212, 44, 123, 250, 237, 254, 201, 88, 60, 22, 83, 204, 213, 101, 186, 61, 54, 227, 66, 146, 183, 14, 134, 8, 3, 182, 239, 109, 116], [106, 96, 191, 165, 246, 142, 72, 108, 27, 23, 135, 221, 98, 191, 39, 127], [40, 81, 203, 222, 105, 166, 45, 74, 253, 51, 142, 242, 71, 133, 0, 22, 201, 240, 40, 138, 49, 108, 244, 174, 204, 200, 85, 68, 25, 53, 168, 194, 127, 244, 44, 37, 128, 1, 130, 243, 68, 144, 225, 17, 173, 176, 123, 112, 57, 86, 223, 232, 153, 204, 89, 7], [188, 116, 178, 186, 81, 157, 4, 23, 153, 189, 117, 150, 57, 125, 167], [247, 18, 107, 149, 57, 50, 240, 231, 172, 134, 7, 115, 94, 26, 147, 157, 105, 187, 38], [246, 142, 87, 107, 10, 68, 222, 217, 35, 247, 63, 51, 242, 44, 134, 161, 21], [80, 186, 35, 74, 241, 63, 148, 187, 71, 158, 84, 10, 217, 242, 109, 150, 106, 56, 239, 250, 133, 194, 84, 67, 10, 36, 232, 150, 100, 181, 42, 46, 197, 6, 137, 186, 24, 220, 237, 19, 176, 249, 121, 115, 49, 8, 136, 245, 130, 152, 74, 28, 169, 61, 165, 163, 118, 148, 17, 59, 129, 6, 150, 153, 96, 32, 232, 27, 178, 253, 85, 126, 28, 10, 148, 132, 138, 246, 101, 75, 229, 57, 178, 186, 81, 129, 93, 16, 214, 243, 38, 223], [8, 157, 93, 67, 148, 172, 117, 133, 34, 115, 240, 231, 132, 137, 17, 111, 7, 82, 167, 218, 101, 180, 107], [14, 125, 251, 233, 183, 200, 10, 120, 27, 89, 202, 217, 105, 160, 51, 54, 227, 66, 150, 170, 65, 144, 19, 0, 167, 176, 46, 115, 55, 127, 209, 184, 202, 212, 95, 70, 10, 35, 169, 212, 62, 250, 45, 53, 197, 27, 128, 141, 78, 123, 170, 88, 169, 247, 119, 101, 12, 77, 142, 136, 146, 219, 36, 85, 255, 62, 162, 242, 62, 196, 25, 61, 211, 9, 220, 217], [66, 83, 151, 141, 46, 230, 43, 46, 250, 62, 138, 187, 11, 207, 19, 6, 210, 230, 98, 147, 109], [213, 48, 137, 179, 91, 208, 18, 9, 206, 164, 37, 138, 124, 56, 177, 163, 148, 222, 95, 68, 17, 44, 161], [148, 242, 41, 215, 96, 56, 234, 238, 132, 205, 13, 35, 6, 88, 164, 215, 55], [154, 195, 94, 121, 0, 87, 215, 222, 111, 189, 38, 45, 249, 66, 132, 173, 71, 154, 30, 76, 177, 239, 107, 100, 118, 120, 205, 230, 202, 192, 83, 88, 12, 41, 174, 201, 113, 179, 60, 60, 195, 78, 130, 139, 86, 123, 235, 23, 188, 230, 114, 101, 17, 71], [46, 174, 99, 97, 186, 114, 134, 173, 72, 159, 2, 13, 218, 167, 55, 141, 50, 111, 235, 244, 149, 193, 64, 11, 85, 109, 249], [109, 136, 23, 10, 201, 224, 109, 218, 54, 113, 240, 235, 196, 195, 66, 2, 30, 47, 168, 210, 105, 166, 120, 58, 193, 28, 152, 187, 70, 146, 243, 82, 174, 226, 123, 107, 124, 84, 218, 245, 132, 221, 95, 90, 237, 35, 190, 226, 48, 133, 74, 49, 130, 84, 213, 143, 96, 126, 233, 16, 176, 243, 82, 50, 74, 26, 154, 203, 149, 170, 102, 80, 227, 122, 245], [96, 56, 253, 249, 152, 132, 95, 106, 27], [34, 72, 219, 198, 111, 171, 37, 100, 237, 10, 143, 187, 70, 214, 28, 5, 174, 239, 125, 32, 33, 113, 215, 248, 142, 146, 84, 77, 94, 54, 184, 211, 102, 191, 61, 36, 195, 10, 210, 147, 83, 118, 238, 23, 187, 226, 58, 97, 13, 78, 199, 198, 143, 215, 44, 83, 170, 51, 184, 177, 62, 128, 3, 48, 215, 9], [186, 46, 207, 245, 6, 222, 6, 28, 214, 226, 127], [239, 241, 120, 138, 34, 125, 239, 253, 196, 237, 99, 97, 49, 9, 228, 212, 109, 186, 54, 47, 210, 72, 141, 176, 80, 220, 240, 23, 186, 189, 114, 111, 48, 65, 136, 234, 130, 215, 91, 92, 225, 63, 163, 226, 119, 149, 16, 38, 217, 0], [136, 199, 68, 107], [69, 188, 55, 37, 238, 7, 198, 185, 14, 133, 14, 13, 176, 254, 107, 114, 118, 109, 219, 242, 143, 192, 95, 92, 80, 37, 165, 210, 116, 179, 57, 126, 204, 29, 157, 138, 26, 107, 232, 88, 186, 254, 127, 44, 1, 95, 220, 210, 147, 208, 54, 20, 238, 59, 164, 173, 125, 146, 5, 46, 203], [6, 149, 91, 73, 146, 170, 109, 146, 33, 120, 250], [31, 110, 249, 252, 147, 222, 89, 86, 29, 96, 161, 206, 101, 167, 44, 35, 206, 15, 204, 173, 77, 154, 229, 0, 161, 228, 58, 101, 51, 74, 206, 243, 151, 150, 86, 93, 235, 34], [6, 88, 181, 198, 121], [211, 12, 149, 172, 79, 154, 22, 76, 182, 226, 107, 32, 37, 106, 195, 250, 142, 211, 90, 71, 16, 35, 234, 239, 107, 188, 59, 34, 207, 26, 210, 134, 83, 108, 231, 10, 183, 182, 110, 99, 66, 84, 129, 142, 133, 199, 36, 81, 248, 59, 162, 231, 124, 143, 4, 124, 211, 20, 154, 208, 52, 107, 245, 237, 169, 214, 67, 106, 78, 95, 206, 140, 107, 164, 110, 57, 249, 43, 144, 244, 89, 139, 5, 28, 219, 235, 42, 172, 19, 78, 214], [146, 254, 39, 221, 126, 54, 230, 244, 148], [183, 199, 89, 82, 88, 41, 170, 194, 105, 166, 57, 41, 212, 1, 154, 187, 20, 159, 239, 28, 174, 249, 102, 107, 61, 80, 193, 245, 158, 152, 76, 92, 235, 33, 160, 182, 56, 129, 10, 50, 140, 6, 157, 141, 41, 123, 248, 27, 166, 188, 112, 83, 60, 120, 148, 199, 137, 176, 39, 87, 241, 44, 181, 173, 69, 128, 28, 27], [124, 161, 50, 53, 252, 1, 140], [109, 158, 31, 15, 169, 170, 104, 111, 36, 62, 195, 250, 142, 146, 95, 70, 13, 50, 171, 208, 126, 250, 42, 56, 195, 78, 158, 133, 78, 103, 245, 12, 238, 197, 99, 106, 7, 88, 199, 212, 214, 204, 39, 88, 239, 51, 165, 173, 62, 149, 15, 61, 223, 22, 155, 131, 53, 98, 235], [126, 54, 252, 249, 130, 204, 88], [55, 46, 168, 207, 44, 183, 48, 47, 195, 3, 204, 183, 82, 220, 225, 82, 166, 245, 99, 99, 46, 4, 222, 255, 130, 203, 85, 65, 234, 108, 185, 177, 56, 129, 18, 55, 197, 24, 153, 136, 44, 109, 172, 9, 189, 232, 72, 125, 29, 68, 148, 207, 146, 183, 60, 91, 252, 52, 181, 160, 67]];
|
|
63
|
+
function _verifySyferitEngineContext_602(_slot) {
|
|
64
|
+
const _row = _SyferitEngineDelta_602[_slot];
|
|
65
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__quorumCheck_602 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
66
66
|
}
|
|
67
67
|
cleanupOldBinaryOnWindows();
|
|
68
|
-
const PRESET_VALUES = new Set([
|
|
68
|
+
const PRESET_VALUES = new Set([_verifySyferitEngineContext_602(-1020658143 ^ _rotateCommand_rns_602(__quorumCheck_602, 9525)), _verifySyferitEngineContext_602(-1217626240 ^ _rotateCommand_rns_602(__quorumCheck_602, 14909)), _verifySyferitEngineContext_602(-1091946445 ^ _rotateCommand_rns_602(__quorumCheck_602, 19351)), _verifySyferitEngineContext_602(663628704 ^ _rotateCommand_rns_602(__quorumCheck_602, 26075))]);
|
|
69
69
|
const program = new Command();
|
|
70
|
-
program.name(
|
|
71
|
-
program.command(
|
|
72
|
-
function
|
|
73
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
70
|
+
program.name(_verifySyferitEngineContext_602(1570320625 ^ _rotateCommand_rns_602(__quorumCheck_602, 15479))).description(_verifySyferitEngineContext_602(-440232578 ^ _rotateCommand_rns_602(__quorumCheck_602, 26827))).version(SYFERIT_VERSION);
|
|
71
|
+
program.command(_verifySyferitEngineContext_602(-6275535 ^ _rotateCommand_rns_602(__quorumCheck_602, 28381))).description(_verifySyferitEngineContext_602(-2095619258 ^ _rotateCommand_rns_602(__quorumCheck_602, 28191))).option(_verifySyferitEngineContext_602(-62778937 ^ _rotateCommand_rns_602(__quorumCheck_602, 18167)), _verifySyferitEngineContext_602(-1678871496 ^ _rotateCommand_rns_602(__quorumCheck_602, 6547))).option(_verifySyferitEngineContext_602(-1320504941 ^ _rotateCommand_rns_602(__quorumCheck_602, 28497)), _verifySyferitEngineContext_602(-600336030 ^ _rotateCommand_rns_602(__quorumCheck_602, 11175))).option(_verifySyferitEngineContext_602(550739231 ^ _rotateCommand_rns_602(__quorumCheck_602, 7261)), _verifySyferitEngineContext_602(-176587108 ^ _rotateCommand_rns_602(__quorumCheck_602, 4565))).option(_verifySyferitEngineContext_602(976342437 ^ _rotateCommand_rns_602(__quorumCheck_602, 27719)), _verifySyferitEngineContext_602(736722436 ^ _rotateCommand_rns_602(__quorumCheck_602, 21005))).option(_verifySyferitEngineContext_602(-1645220037 ^ _rotateCommand_rns_602(__quorumCheck_602, 27701)), _verifySyferitEngineContext_602(-327689420 ^ _rotateCommand_rns_602(__quorumCheck_602, 10367))).option(_verifySyferitEngineContext_602(-402812069 ^ _rotateCommand_rns_602(__quorumCheck_602, 6579)), _verifySyferitEngineContext_602(-2021183452 ^ _rotateCommand_rns_602(__quorumCheck_602, 12877))).option(_verifySyferitEngineContext_602(735377221 ^ _rotateCommand_rns_602(__quorumCheck_602, 16087)), _verifySyferitEngineContext_602(2050053854 ^ _rotateCommand_rns_602(__quorumCheck_602, 27955))).option(_verifySyferitEngineContext_602(2009767579 ^ _rotateCommand_rns_602(__quorumCheck_602, 13851)), _verifySyferitEngineContext_602(-1359587176 ^ _rotateCommand_rns_602(__quorumCheck_602, 31353))).option(_verifySyferitEngineContext_602(397671369 ^ _rotateCommand_rns_602(__quorumCheck_602, 17281)), _verifySyferitEngineContext_602(1676175330 ^ _rotateCommand_rns_602(__quorumCheck_602, 19965))).option(_verifySyferitEngineContext_602(-408957041 ^ _rotateCommand_rns_602(__quorumCheck_602, 22925)), _verifySyferitEngineContext_602(115078122 ^ _rotateCommand_rns_602(__quorumCheck_602, 2347))).action((targetArg, options) => {
|
|
72
|
+
function auditPresetVal_3297(_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:fcb75d36-c2dd657b]",
|
|
74
74
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
75
75
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
76
76
|
let _h = 2166136261;
|
|
@@ -91,19 +91,19 @@ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1
|
|
|
91
91
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
92
92
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
93
93
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
94
|
-
if ((_h >>> 4 & 15) !==
|
|
94
|
+
if ((_h >>> 4 & 15) !== 14) {
|
|
95
95
|
_h = (_h ^ 3735884599) >>> 0;
|
|
96
96
|
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
97
97
|
}
|
|
98
98
|
return _h;
|
|
99
99
|
}
|
|
100
|
-
const
|
|
101
|
-
function
|
|
100
|
+
const __nonceContext_3297 = auditPresetVal_3297(1661961857, 1417407709, 111490921, 309532059);
|
|
101
|
+
function _validateConsole_rns_3297(_x, _s) {
|
|
102
102
|
const _u = _x >>> 0,
|
|
103
|
-
_r0 = _u %
|
|
104
|
-
_r1 = _u %
|
|
105
|
-
_r2 = _u %
|
|
106
|
-
_r3 = _u %
|
|
103
|
+
_r0 = _u % 229,
|
|
104
|
+
_r1 = _u % 227,
|
|
105
|
+
_r2 = _u % 197,
|
|
106
|
+
_r3 = _u % 223,
|
|
107
107
|
_r4 = _u % 233;
|
|
108
108
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
109
109
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -122,22 +122,22 @@ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1
|
|
|
122
122
|
}
|
|
123
123
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function _authenticateVersion_vm_3297(_bc) {
|
|
126
126
|
const _stk = [];
|
|
127
127
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
128
128
|
const _op = _bc[_pc],
|
|
129
129
|
_a = _bc[_pc + 1],
|
|
130
130
|
_b = _bc[_pc + 2];
|
|
131
|
-
if (_op ===
|
|
132
|
-
_stk.push((
|
|
133
|
-
} else if (_op ===
|
|
131
|
+
if (_op === 17) {
|
|
132
|
+
_stk.push((__nonceContext_3297 >>> 0) % _a ^ _b);
|
|
133
|
+
} else if (_op === 138) {
|
|
134
134
|
const _v = _stk.pop() >>> 0;
|
|
135
135
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
136
|
-
} else if (_op ===
|
|
136
|
+
} else if (_op === 188) {
|
|
137
137
|
const _r = _stk.pop(),
|
|
138
138
|
_l = _stk.pop();
|
|
139
139
|
_stk.push(_l ^ _r);
|
|
140
|
-
} else if (_op ===
|
|
140
|
+
} else if (_op === 92) {
|
|
141
141
|
const _r2 = _stk.pop(),
|
|
142
142
|
_l2 = _stk.pop();
|
|
143
143
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -145,54 +145,54 @@ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1
|
|
|
145
145
|
}
|
|
146
146
|
return _stk[0];
|
|
147
147
|
}
|
|
148
|
-
const
|
|
149
|
-
function
|
|
150
|
-
const _row =
|
|
151
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
148
|
+
const _programFrame_3297 = [[164, 14, 4, 178, 7, 42, 42, 33, 101, 193, 255, 118, 248, 24, 65, 233, 84, 175, 175, 75, 188, 64, 59, 225, 45, 149, 156, 50, 136, 252, 162, 143, 232, 112, 115, 93, 122, 194, 138, 117, 192, 54, 91, 198, 73, 183, 160, 64, 241, 24, 9, 237, 21, 114, 149, 21, 156, 247, 250, 213, 165, 77, 12, 238, 15, 156, 214, 110, 204, 54, 47, 195, 32, 144, 254, 53, 175, 23, 6, 188, 18, 120, 38, 67, 42, 196, 243, 114, 237, 84, 14, 250, 95, 232, 162, 90, 184, 58, 51, 207, 60, 132, 202, 33, 155, 235, 10, 128, 30, 108, 50, 84, 101, 140, 136, 34, 193, 41, 73, 213, 89, 253], [112, 147, 182, 115, 239, 84, 65, 226, 91, 164, 238, 88, 172, 46], [88, 167, 161, 84], [38, 217, 200, 61, 145, 30, 23, 148, 13, 126, 32, 6, 98, 212], [6, 113, 107, 2], [234, 71, 64, 242, 91, 170, 183, 67, 173, 51], [251, 40, 45, 150, 1, 155, 134, 111], [172, 30, 11, 132, 29, 125, 104, 16], [90, 207, 247, 117, 237, 93, 86, 185], [36, 233, 227, 42, 194, 93, 87, 190, 86, 241, 235, 82, 234, 133, 127, 230, 126, 25, 19, 122, 18, 173, 167, 14, 166, 65, 59, 162, 58, 213, 207, 54, 206, 105, 99, 202, 98, 253, 247, 94, 246, 145, 139, 242, 138, 37, 31, 134, 30, 185, 179, 26, 178, 77, 71, 174, 70, 225, 219, 66, 218, 117, 111, 214, 110, 9, 3, 106, 2, 157, 151, 254, 150, 49, 43, 146, 42, 197, 191, 38], [115, 206, 232, 79, 231, 130, 124, 227, 123, 22, 16, 119, 15, 170, 164, 11, 163, 62, 56, 159, 55, 210, 204, 51, 203, 102, 96, 199, 95, 250, 244, 91, 243, 142, 136, 239, 135, 34, 28, 131, 27, 182, 176, 23, 175, 74, 68, 171, 67, 222, 216, 63, 215, 114, 108, 211, 107, 6, 0, 103, 255, 154, 148, 251, 147, 46, 40, 143, 39, 194, 188, 35, 187, 86, 80, 183, 79, 234, 228, 65], [60, 97, 116, 89, 94, 210, 207], [213, 89, 64, 253, 84, 162, 163, 73], [145, 54, 62, 206, 38, 148, 143], [237, 162, 92, 227, 123, 22, 16, 119, 15, 170, 164, 11, 163, 62, 56, 159, 55, 210, 204, 51, 203, 102, 96, 199, 95, 250, 244, 91, 243, 142, 136, 239, 135, 34, 28, 131, 27, 182, 176, 23, 175, 74, 68, 171, 67, 222, 216, 63, 215, 114, 108, 211, 107, 6, 0, 103, 255, 154, 148, 251, 147, 46, 40, 143, 39, 194, 188, 35, 187, 86, 80, 183, 79, 234, 228, 75, 227, 126, 120, 223], [44, 135, 161, 8, 160, 59, 53, 156, 52, 207, 201, 48, 200, 99, 93, 196, 92, 247, 241, 88, 240, 139, 133, 236, 132, 31, 25, 128, 24, 179, 173, 20, 172, 71, 65, 168, 64, 219, 213, 60, 212, 111, 105, 208, 104, 3, 253, 100, 252, 151, 145, 248, 144, 43, 37, 140, 36, 191, 185, 32, 184, 83, 77, 180, 76, 231, 225, 72, 224, 123, 117, 220, 116, 15, 9, 112, 8, 163, 157, 14], [117, 190, 191, 0, 183, 21, 52, 225, 58, 155, 131, 37, 129, 237, 246, 140, 187, 60, 39, 93, 115, 217, 198, 116, 137, 41, 95, 209, 94, 176, 183, 93, 241, 68, 86, 237, 8, 111, 158, 8, 159, 253, 235, 145, 164, 6]];
|
|
149
|
+
function _rotateProtectFile_3297(_slot) {
|
|
150
|
+
const _row = _programFrame_3297[_slot];
|
|
151
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__nonceContext_3297 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
152
152
|
}
|
|
153
|
-
if ((
|
|
153
|
+
if ((__nonceContext_3297 & 255) !== 225) {
|
|
154
154
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
const
|
|
158
|
-
if (!
|
|
159
|
-
console.error(
|
|
160
|
-
process.exit(
|
|
156
|
+
const _tpmVector_cbe = loadSyferitConfig();
|
|
157
|
+
const _fileConfigProof_3ad = targetArg || options.target || _tpmVector_cbe?.target;
|
|
158
|
+
if (!_fileConfigProof_3ad) {
|
|
159
|
+
console.error(_rotateProtectFile_3297(1027316985 ^ _validateConsole_rns_3297(__nonceContext_3297, 5515)));
|
|
160
|
+
process.exit(_authenticateVersion_vm_3297([17, 229, 16122, 138, 12, 0, 17, 227, 6604, 92, 0, 0, 17, 229, 66050376, 188, 0, 0]));
|
|
161
161
|
}
|
|
162
|
-
const
|
|
163
|
-
if (!fs.existsSync(
|
|
164
|
-
console.error(`Error: Target path does not exist: ${
|
|
165
|
-
process.exit(
|
|
162
|
+
const _optionsAttestation_11d = path.resolve(process.cwd(), _fileConfigProof_3ad);
|
|
163
|
+
if (!fs.existsSync(_optionsAttestation_11d)) {
|
|
164
|
+
console.error(`Error: Target path does not exist: ${_optionsAttestation_11d}`);
|
|
165
|
+
process.exit(_authenticateVersion_vm_3297([17, 229, 9146, 138, 8, 0, 17, 227, 14194, 92, 0, 0, 17, 229, 2356214, 188, 0, 0]));
|
|
166
166
|
}
|
|
167
|
-
let
|
|
168
|
-
let
|
|
169
|
-
if (PRESET_VALUES.has(
|
|
170
|
-
|
|
171
|
-
|
|
167
|
+
let _PRESET_VALUESAttestation_5a7 = options.preset ?? _tpmVector_cbe?.preset ?? _rotateProtectFile_3297(764856352 ^ _validateConsole_rns_3297(__nonceContext_3297, 19525));
|
|
168
|
+
let _consoleFrame_128 = options.domain ?? options.profile ?? _tpmVector_cbe?.domainProfile ?? _rotateProtectFile_3297(2122179647 ^ _validateConsole_rns_3297(__nonceContext_3297, 409));
|
|
169
|
+
if (PRESET_VALUES.has(_consoleFrame_128) && !options.preset && _PRESET_VALUESAttestation_5a7 === _rotateProtectFile_3297(898699118 ^ _validateConsole_rns_3297(__nonceContext_3297, 30183))) {
|
|
170
|
+
_PRESET_VALUESAttestation_5a7 = _consoleFrame_128;
|
|
171
|
+
_consoleFrame_128 = _tpmVector_cbe?.domainProfile ?? _rotateProtectFile_3297(1662759165 ^ _validateConsole_rns_3297(__nonceContext_3297, 26629));
|
|
172
172
|
}
|
|
173
|
-
const
|
|
174
|
-
const
|
|
175
|
-
const
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
seed:
|
|
179
|
-
domainProfile:
|
|
180
|
-
preset:
|
|
181
|
-
mode:
|
|
182
|
-
exclude:
|
|
183
|
-
dryRun:
|
|
173
|
+
const _runSetupCheck_4 = Boolean(options.dryRun);
|
|
174
|
+
const _commandEnvelope_feb = options.exclude ?? _tpmVector_cbe?.exclude;
|
|
175
|
+
const _enclaveReg_52f = options.seed ?? _tpmVector_cbe?.seed;
|
|
176
|
+
const _exitProof_b97 = fs.statSync(_optionsAttestation_11d);
|
|
177
|
+
const _nameEnvelope_997 = {
|
|
178
|
+
seed: _enclaveReg_52f,
|
|
179
|
+
domainProfile: _consoleFrame_128,
|
|
180
|
+
preset: _PRESET_VALUESAttestation_5a7,
|
|
181
|
+
mode: _rotateProtectFile_3297(140914726 ^ _validateConsole_rns_3297(__nonceContext_3297, 23587)),
|
|
182
|
+
exclude: _commandEnvelope_feb,
|
|
183
|
+
dryRun: _runSetupCheck_4
|
|
184
184
|
};
|
|
185
|
-
const
|
|
186
|
-
if (!
|
|
187
|
-
printSyferitBanner(
|
|
185
|
+
const _descriptionDigest_46d = Boolean(options.quiet ?? _tpmVector_cbe?.quiet);
|
|
186
|
+
if (!_descriptionDigest_46d) {
|
|
187
|
+
printSyferitBanner(_nameEnvelope_997);
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
const
|
|
191
|
-
if (
|
|
192
|
-
const outDir =
|
|
193
|
-
const res = protectDirectory(
|
|
194
|
-
function
|
|
195
|
-
const _legalAttestation = "
|
|
189
|
+
const _programFrame_3c3 = Date.now();
|
|
190
|
+
const _errorBank_a34 = options.output || options.out || _tpmVector_cbe?.out;
|
|
191
|
+
if (_exitProof_b97.isDirectory()) {
|
|
192
|
+
const outDir = _errorBank_a34 ? path.resolve(process.cwd(), _errorBank_a34) : undefined;
|
|
193
|
+
const res = protectDirectory(_optionsAttestation_11d, outDir, _nameEnvelope_997, info => {
|
|
194
|
+
function reconcileKeystoreQuorum_d55c(_tok0, _tok1, _tok2, _tok3) {
|
|
195
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:e6b8ebc4-25e05da2]",
|
|
196
196
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
197
197
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
198
198
|
let _h = 2166136261;
|
|
@@ -213,20 +213,20 @@ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1
|
|
|
213
213
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
214
214
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
215
215
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
216
|
-
if ((_h >>> 4 & 15) !==
|
|
216
|
+
if ((_h >>> 4 & 15) !== 2) {
|
|
217
217
|
_h = (_h ^ 3735884599) >>> 0;
|
|
218
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
218
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
219
219
|
}
|
|
220
220
|
return _h;
|
|
221
221
|
}
|
|
222
|
-
const
|
|
223
|
-
function
|
|
222
|
+
const __errorState_d55c = reconcileKeystoreQuorum_d55c(1406565313, 1358041029, 1390024303, 276544551);
|
|
223
|
+
function _rotateResolve_rns_d55c(_x, _s) {
|
|
224
224
|
const _u = _x >>> 0,
|
|
225
|
-
_r0 = _u %
|
|
225
|
+
_r0 = _u % 251,
|
|
226
226
|
_r1 = _u % 239,
|
|
227
|
-
_r2 = _u %
|
|
228
|
-
_r3 = _u %
|
|
229
|
-
_r4 = _u %
|
|
227
|
+
_r2 = _u % 233,
|
|
228
|
+
_r3 = _u % 223,
|
|
229
|
+
_r4 = _u % 241;
|
|
230
230
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
231
231
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
232
232
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -244,61 +244,61 @@ program.command(_rotateCommand_1e5e(1255940235 ^ _verifyEnclaveAttestation_rns_1
|
|
|
244
244
|
}
|
|
245
245
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
246
246
|
}
|
|
247
|
-
if ((
|
|
247
|
+
if ((__errorState_d55c & 255) !== 45) {
|
|
248
248
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
249
249
|
}
|
|
250
|
-
if (!
|
|
250
|
+
if (!_descriptionDigest_46d) {
|
|
251
251
|
const width = String(info.total).length;
|
|
252
252
|
const idxStr = String(info.index).padStart(width, '0');
|
|
253
253
|
const totStr = String(info.total).padStart(width, '0');
|
|
254
|
-
const status =
|
|
254
|
+
const status = _runSetupCheck_4 ? _rotateProtectFile_3297(-491295193 ^ _validateConsole_rns_3297(__nonceContext_3297, 27173)) : info.transformed ? _rotateProtectFile_3297(-1392032710 ^ _validateConsole_rns_3297(__nonceContext_3297, 13779)) : _rotateProtectFile_3297(-1090759613 ^ _validateConsole_rns_3297(__nonceContext_3297, 24167));
|
|
255
255
|
console.log(` [${idxStr}/${totStr}] 🛡️ ${info.targetLabel} → ${info.relPath} (${status} | ${info.durationMs}ms)`);
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
|
-
const totalMs = Date.now() -
|
|
259
|
-
if (!
|
|
260
|
-
console.log(
|
|
261
|
-
if (
|
|
258
|
+
const totalMs = Date.now() - _programFrame_3c3;
|
|
259
|
+
if (!_descriptionDigest_46d) {
|
|
260
|
+
console.log(_rotateProtectFile_3297(-1487740016 ^ _validateConsole_rns_3297(__nonceContext_3297, 9693)));
|
|
261
|
+
if (_runSetupCheck_4) {
|
|
262
262
|
console.log(` ✔ SYFERIT DRY-RUN COMPLETE (${totalMs}ms) — ${res.filesProcessed} files matched (0 files modified)`);
|
|
263
263
|
} else {
|
|
264
|
-
console.log(` ✔ SYFERIT
|
|
264
|
+
console.log(` ✔ SYFERIT v${SYFERIT_VERSION} PROTECTION COMPLETE (${totalMs}ms) — ${res.filesTransformed}/${res.filesProcessed} Artifacts Hardened`);
|
|
265
265
|
}
|
|
266
|
-
console.log(
|
|
266
|
+
console.log(_rotateProtectFile_3297(1726308635 ^ _validateConsole_rns_3297(__nonceContext_3297, 4375)));
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
268
|
+
if (_runSetupCheck_4) {
|
|
269
269
|
console.log(`Dry-run complete: ${res.filesProcessed} files matched (0 modified).`);
|
|
270
270
|
} else {
|
|
271
271
|
console.log(`Protected directory: ${res.filesTransformed}/${res.filesProcessed} source files transformed.`);
|
|
272
272
|
}
|
|
273
273
|
} else {
|
|
274
|
-
const outFile =
|
|
275
|
-
const res = protectFile(
|
|
276
|
-
const totalMs = Date.now() -
|
|
277
|
-
if (!
|
|
278
|
-
const fileName = path.basename(
|
|
279
|
-
const status =
|
|
274
|
+
const outFile = _errorBank_a34 ? path.resolve(process.cwd(), _errorBank_a34) : undefined;
|
|
275
|
+
const res = protectFile(_optionsAttestation_11d, outFile, _nameEnvelope_997);
|
|
276
|
+
const totalMs = Date.now() - _programFrame_3c3;
|
|
277
|
+
if (!_descriptionDigest_46d) {
|
|
278
|
+
const fileName = path.basename(_optionsAttestation_11d);
|
|
279
|
+
const status = _runSetupCheck_4 ? _rotateProtectFile_3297(235801232 ^ _validateConsole_rns_3297(__nonceContext_3297, 31709)) : res.transformed ? _rotateProtectFile_3297(-35341133 ^ _validateConsole_rns_3297(__nonceContext_3297, 3069)) : _rotateProtectFile_3297(1793493316 ^ _validateConsole_rns_3297(__nonceContext_3297, 20937));
|
|
280
280
|
console.log(` [01/01] 🛡️ Artifact → ${fileName} (${status} | ${totalMs}ms)`);
|
|
281
|
-
console.log(
|
|
282
|
-
if (
|
|
281
|
+
console.log(_rotateProtectFile_3297(-1630689537 ^ _validateConsole_rns_3297(__nonceContext_3297, 25335)));
|
|
282
|
+
if (_runSetupCheck_4) {
|
|
283
283
|
console.log(` ✔ SYFERIT DRY-RUN COMPLETE (${totalMs}ms) — 1 file matched (0 modified)`);
|
|
284
284
|
} else {
|
|
285
|
-
console.log(` ✔ SYFERIT
|
|
285
|
+
console.log(` ✔ SYFERIT v${SYFERIT_VERSION} PROTECTION COMPLETE (${totalMs}ms)`);
|
|
286
286
|
}
|
|
287
|
-
console.log(
|
|
287
|
+
console.log(_rotateProtectFile_3297(-1184543912 ^ _validateConsole_rns_3297(__nonceContext_3297, 27099)));
|
|
288
288
|
}
|
|
289
|
-
if (
|
|
290
|
-
console.log(
|
|
289
|
+
if (_runSetupCheck_4) {
|
|
290
|
+
console.log(_rotateProtectFile_3297(1981685571 ^ _validateConsole_rns_3297(__nonceContext_3297, 21807)));
|
|
291
291
|
} else {
|
|
292
292
|
console.log(`File protection complete. Transformed: ${res.transformed}`);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
if (!
|
|
296
|
-
notifyIfUpdateAvailable(
|
|
295
|
+
if (!_runSetupCheck_4) {
|
|
296
|
+
notifyIfUpdateAvailable(_descriptionDigest_46d);
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
|
-
program.command(
|
|
300
|
-
function
|
|
301
|
-
const _legalAttestation = "
|
|
299
|
+
program.command(_verifySyferitEngineContext_602(-1179489133 ^ _rotateCommand_rns_602(__quorumCheck_602, 26957))).description(_verifySyferitEngineContext_602(-1086797396 ^ _rotateCommand_rns_602(__quorumCheck_602, 19393))).option(_verifySyferitEngineContext_602(-1672036635 ^ _rotateCommand_rns_602(__quorumCheck_602, 21879)), _verifySyferitEngineContext_602(-517846372 ^ _rotateCommand_rns_602(__quorumCheck_602, 7111))).action(options => {
|
|
300
|
+
function verifySyferitEngineContext_f596(_tok0, _tok1, _tok2, _tok3) {
|
|
301
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:b5ebcdf0-6e0021d9]",
|
|
302
302
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
303
303
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
304
304
|
let _h = 2166136261;
|
|
@@ -319,20 +319,20 @@ program.command(_rotateCommand_1e5e(431146777 ^ _verifyEnclaveAttestation_rns_1e
|
|
|
319
319
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
320
320
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
321
321
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
322
|
-
if ((_h >>> 4 & 15) !==
|
|
322
|
+
if ((_h >>> 4 & 15) !== 4) {
|
|
323
323
|
_h = (_h ^ 3735884599) >>> 0;
|
|
324
324
|
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
325
325
|
}
|
|
326
326
|
return _h;
|
|
327
327
|
}
|
|
328
|
-
const
|
|
329
|
-
function
|
|
328
|
+
const __commandState_f596 = verifySyferitEngineContext_f596(2102106743, 1855958309, 573706211, 1571905875);
|
|
329
|
+
function _normalizeQuorumVector_rns_f596(_x, _s) {
|
|
330
330
|
const _u = _x >>> 0,
|
|
331
|
-
_r0 = _u %
|
|
332
|
-
_r1 = _u %
|
|
333
|
-
_r2 = _u %
|
|
334
|
-
_r3 = _u %
|
|
335
|
-
_r4 = _u %
|
|
331
|
+
_r0 = _u % 211,
|
|
332
|
+
_r1 = _u % 197,
|
|
333
|
+
_r2 = _u % 223,
|
|
334
|
+
_r3 = _u % 241,
|
|
335
|
+
_r4 = _u % 229;
|
|
336
336
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
337
337
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
338
338
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -350,22 +350,22 @@ program.command(_rotateCommand_1e5e(431146777 ^ _verifyEnclaveAttestation_rns_1e
|
|
|
350
350
|
}
|
|
351
351
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function _authenticateOptions_vm_f596(_bc) {
|
|
354
354
|
const _stk = [];
|
|
355
355
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
356
356
|
const _op = _bc[_pc],
|
|
357
357
|
_a = _bc[_pc + 1],
|
|
358
358
|
_b = _bc[_pc + 2];
|
|
359
|
-
if (_op ===
|
|
360
|
-
_stk.push((
|
|
361
|
-
} else if (_op ===
|
|
359
|
+
if (_op === 210) {
|
|
360
|
+
_stk.push((__commandState_f596 >>> 0) % _a ^ _b);
|
|
361
|
+
} else if (_op === 151) {
|
|
362
362
|
const _v = _stk.pop() >>> 0;
|
|
363
363
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
364
|
-
} else if (_op ===
|
|
364
|
+
} else if (_op === 47) {
|
|
365
365
|
const _r = _stk.pop(),
|
|
366
366
|
_l = _stk.pop();
|
|
367
367
|
_stk.push(_l ^ _r);
|
|
368
|
-
} else if (_op ===
|
|
368
|
+
} else if (_op === 84) {
|
|
369
369
|
const _r2 = _stk.pop(),
|
|
370
370
|
_l2 = _stk.pop();
|
|
371
371
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -373,34 +373,34 @@ program.command(_rotateCommand_1e5e(431146777 ^ _verifyEnclaveAttestation_rns_1e
|
|
|
373
373
|
}
|
|
374
374
|
return _stk[0];
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
function
|
|
378
|
-
const _row =
|
|
379
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
376
|
+
const _programFrame_f596 = [[58, 197, 73, 22, 175, 57, 183, 41, 18, 139, 57, 253, 108, 31, 197, 69, 234, 99, 17], [64, 206, 48, 241, 113, 1], [189, 41, 29, 212, 84, 238, 32, 33, 201, 65, 213, 128, 44, 182, 80, 29], [206, 25, 179, 147, 57, 222, 92, 2, 149, 62, 235, 120, 26, 148], [174, 49, 162, 116], [116, 16, 134, 72, 249, 123], [13, 180, 96, 56, 213, 0, 203, 150], [57, 203, 84, 91, 216], [81, 196, 239, 187, 87, 13, 133, 15, 249, 127, 6, 165, 72, 210, 122, 35, 225, 68, 213, 132, 33, 173, 88, 11, 201, 113, 226, 119, 15, 137, 78, 213, 100, 234, 151, 27, 209, 119, 171, 191, 75, 201, 105, 10, 168, 55, 159, 215, 14, 166, 103, 235, 134, 17, 189, 122, 251, 149, 27, 147, 109, 226, 108, 51, 212, 71, 227, 187, 101, 204, 68, 79, 177, 45, 205, 103, 8, 142, 125, 157]];
|
|
377
|
+
function _rotateDescription_f596(_slot) {
|
|
378
|
+
const _row = _programFrame_f596[_slot];
|
|
379
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__commandState_f596 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
380
380
|
}
|
|
381
|
-
if ((
|
|
381
|
+
if ((__commandState_f596 & 255) !== 73) {
|
|
382
382
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
383
383
|
}
|
|
384
|
-
const
|
|
385
|
-
if (fs.existsSync(
|
|
386
|
-
console.error(` syferit.config.json already exists at ${
|
|
387
|
-
process.exitCode =
|
|
384
|
+
const _quorumAttestation_4d5 = path.resolve(process.cwd(), _rotateDescription_f596(1032433857 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 1145)));
|
|
385
|
+
if (fs.existsSync(_quorumAttestation_4d5) && !options.force) {
|
|
386
|
+
console.error(` syferit.config.json already exists at ${_quorumAttestation_4d5}. Use --force to overwrite.`);
|
|
387
|
+
process.exitCode = _authenticateOptions_vm_f596([210, 211, 31359, 151, 12, 0, 210, 197, 14367, 84, 0, 0, 210, 211, 128829593, 47, 0, 0]);
|
|
388
388
|
return;
|
|
389
389
|
}
|
|
390
|
-
const
|
|
391
|
-
target:
|
|
392
|
-
out:
|
|
393
|
-
preset:
|
|
394
|
-
domainProfile:
|
|
395
|
-
exclude: [
|
|
390
|
+
const _optionProof_94b = {
|
|
391
|
+
target: _rotateDescription_f596(1229231486 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 27495)),
|
|
392
|
+
out: _rotateDescription_f596(-678359193 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 6307)),
|
|
393
|
+
preset: _rotateDescription_f596(-2102086952 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 7043)),
|
|
394
|
+
domainProfile: _rotateDescription_f596(-1019104365 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 11759)),
|
|
395
|
+
exclude: [_rotateDescription_f596(-1865017302 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 6985)), _rotateDescription_f596(-1476515967 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 13281))]
|
|
396
396
|
};
|
|
397
|
-
fs.writeFileSync(
|
|
398
|
-
console.log(`\n ✔ Created starter config at ${
|
|
399
|
-
console.log(
|
|
397
|
+
fs.writeFileSync(_quorumAttestation_4d5, JSON.stringify(_optionProof_94b, null, _authenticateOptions_vm_f596([210, 211, 7018, 151, 8, 0, 210, 197, 13876, 84, 0, 0, 210, 211, 1835697, 47, 0, 0])) + '\n', _rotateDescription_f596(-1531767616 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 13659)));
|
|
398
|
+
console.log(`\n ✔ Created starter config at ${_quorumAttestation_4d5}`);
|
|
399
|
+
console.log(_rotateDescription_f596(-325942139 ^ _normalizeQuorumVector_rns_f596(__commandState_f596, 10113)));
|
|
400
400
|
});
|
|
401
|
-
program.command(
|
|
402
|
-
function
|
|
403
|
-
const _legalAttestation = "
|
|
401
|
+
program.command(_verifySyferitEngineContext_602(1060340611 ^ _rotateCommand_rns_602(__quorumCheck_602, 26803))).description(_verifySyferitEngineContext_602(1851577728 ^ _rotateCommand_rns_602(__quorumCheck_602, 22767))).option(_verifySyferitEngineContext_602(-2103986209 ^ _rotateCommand_rns_602(__quorumCheck_602, 6117)), _verifySyferitEngineContext_602(483930652 ^ _rotateCommand_rns_602(__quorumCheck_602, 32437))).action(async options => {
|
|
402
|
+
function verifyOption_3f93(_tok0, _tok1, _tok2, _tok3) {
|
|
403
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:c248bc77-f5e49880]",
|
|
404
404
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
405
405
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
406
406
|
let _h = 2166136261;
|
|
@@ -421,20 +421,20 @@ program.command(_rotateCommand_1e5e(-887510403 ^ _verifyEnclaveAttestation_rns_1
|
|
|
421
421
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
422
422
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
423
423
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
424
|
-
if ((_h >>> 4 & 15) !==
|
|
424
|
+
if ((_h >>> 4 & 15) !== 2) {
|
|
425
425
|
_h = (_h ^ 3735884599) >>> 0;
|
|
426
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
426
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
427
427
|
}
|
|
428
428
|
return _h;
|
|
429
429
|
}
|
|
430
|
-
const
|
|
431
|
-
function
|
|
430
|
+
const __PRESET_VALUESState_3f93 = verifyOption_3f93(1930942579, 935149195, 1833651885, 1112779079);
|
|
431
|
+
function _isolateResolvedPath_rns_3f93(_x, _s) {
|
|
432
432
|
const _u = _x >>> 0,
|
|
433
|
-
_r0 = _u %
|
|
434
|
-
_r1 = _u %
|
|
433
|
+
_r0 = _u % 233,
|
|
434
|
+
_r1 = _u % 199,
|
|
435
435
|
_r2 = _u % 227,
|
|
436
|
-
_r3 = _u %
|
|
437
|
-
_r4 = _u %
|
|
436
|
+
_r3 = _u % 211,
|
|
437
|
+
_r4 = _u % 223;
|
|
438
438
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
439
439
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
440
440
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -452,16 +452,16 @@ program.command(_rotateCommand_1e5e(-887510403 ^ _verifyEnclaveAttestation_rns_1
|
|
|
452
452
|
}
|
|
453
453
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
454
454
|
}
|
|
455
|
-
if ((
|
|
455
|
+
if ((__PRESET_VALUESState_3f93 & 255) !== 36) {
|
|
456
456
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
457
457
|
}
|
|
458
458
|
await runSetup({
|
|
459
459
|
yes: Boolean(options.yes)
|
|
460
460
|
});
|
|
461
461
|
});
|
|
462
|
-
program.command(
|
|
463
|
-
function
|
|
464
|
-
const _legalAttestation = "
|
|
462
|
+
program.command(_verifySyferitEngineContext_602(-1117568157 ^ _rotateCommand_rns_602(__quorumCheck_602, 10695))).description(_verifySyferitEngineContext_602(1376720190 ^ _rotateCommand_rns_602(__quorumCheck_602, 8337))).option(_verifySyferitEngineContext_602(-1140579249 ^ _rotateCommand_rns_602(__quorumCheck_602, 20775)), _verifySyferitEngineContext_602(-271676476 ^ _rotateCommand_rns_602(__quorumCheck_602, 17781))).action(async options => {
|
|
463
|
+
function authenticatePRESET_VALUES_c177(_tok0, _tok1, _tok2, _tok3) {
|
|
464
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:4ddead5c-742bfb14]",
|
|
465
465
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
466
466
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
467
467
|
let _h = 2166136261;
|
|
@@ -482,19 +482,19 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
482
482
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
483
483
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
484
484
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
485
|
-
if ((_h >>> 4 & 15) !==
|
|
485
|
+
if ((_h >>> 4 & 15) !== 0) {
|
|
486
486
|
_h = (_h ^ 3735884599) >>> 0;
|
|
487
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
487
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
488
488
|
}
|
|
489
489
|
return _h;
|
|
490
490
|
}
|
|
491
|
-
const
|
|
492
|
-
function
|
|
491
|
+
const __signatureEnvelope_c177 = authenticatePRESET_VALUES_c177(1977677587, 427691565, 632080003, 1985545717);
|
|
492
|
+
function _auditPresetVal_rns_c177(_x, _s) {
|
|
493
493
|
const _u = _x >>> 0,
|
|
494
|
-
_r0 = _u %
|
|
495
|
-
_r1 = _u %
|
|
496
|
-
_r2 = _u %
|
|
497
|
-
_r3 = _u %
|
|
494
|
+
_r0 = _u % 241,
|
|
495
|
+
_r1 = _u % 233,
|
|
496
|
+
_r2 = _u % 251,
|
|
497
|
+
_r3 = _u % 229,
|
|
498
498
|
_r4 = _u % 199;
|
|
499
499
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
500
500
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -513,7 +513,7 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
513
513
|
}
|
|
514
514
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
515
515
|
}
|
|
516
|
-
if ((
|
|
516
|
+
if ((__signatureEnvelope_c177 & 255) !== 7) {
|
|
517
517
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
518
518
|
}
|
|
519
519
|
await runUpgrade({
|
|
@@ -521,8 +521,8 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
521
521
|
});
|
|
522
522
|
});
|
|
523
523
|
(async () => {
|
|
524
|
-
function
|
|
525
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
524
|
+
function rotateCommand_6f74(_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:2209b333-2d5e8c43]",
|
|
526
526
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
527
527
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
528
528
|
let _h = 2166136261;
|
|
@@ -543,20 +543,20 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
543
543
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
544
544
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
545
545
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
546
|
-
if ((_h >>> 4 & 15) !==
|
|
546
|
+
if ((_h >>> 4 & 15) !== 8) {
|
|
547
547
|
_h = (_h ^ 3735884599) >>> 0;
|
|
548
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
548
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
549
549
|
}
|
|
550
550
|
return _h;
|
|
551
551
|
}
|
|
552
|
-
const
|
|
553
|
-
function
|
|
552
|
+
const __keystoreAttestation_6f74 = rotateCommand_6f74(524125679, 879089449, 315638467, 336427591);
|
|
553
|
+
function _authenticateOptions_rns_6f74(_x, _s) {
|
|
554
554
|
const _u = _x >>> 0,
|
|
555
|
-
_r0 = _u %
|
|
556
|
-
_r1 = _u %
|
|
555
|
+
_r0 = _u % 223,
|
|
556
|
+
_r1 = _u % 241,
|
|
557
557
|
_r2 = _u % 233,
|
|
558
|
-
_r3 = _u %
|
|
559
|
-
_r4 = _u %
|
|
558
|
+
_r3 = _u % 251,
|
|
559
|
+
_r4 = _u % 197;
|
|
560
560
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
561
561
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
562
562
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -574,7 +574,7 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
574
574
|
}
|
|
575
575
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
576
576
|
}
|
|
577
|
-
if ((
|
|
577
|
+
if ((__keystoreAttestation_6f74 & 255) !== 143) {
|
|
578
578
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
579
579
|
}
|
|
580
580
|
if (await handleNoArgsInteractiveLaunch()) {
|
|
@@ -583,8 +583,8 @@ program.command(_rotateCommand_1e5e(-401394599 ^ _verifyEnclaveAttestation_rns_1
|
|
|
583
583
|
await program.parseAsync(process.argv);
|
|
584
584
|
})();
|
|
585
585
|
if (typeof window !== "undefined") {
|
|
586
|
-
window.
|
|
587
|
-
syncEpoch:
|
|
588
|
-
channelSig: "
|
|
586
|
+
window.__syferitIPC_a90 && window.__syferitIPC_a90.invoke && window.__syferitIPC_a90.invoke("crypto:tpm-enclave-verify", {
|
|
587
|
+
syncEpoch: 958705545,
|
|
588
|
+
channelSig: "SIG_FRAME_A90"
|
|
589
589
|
});
|
|
590
590
|
}
|