@syferit/python 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/README.md +11 -10
- package/dist/index.js +498 -195
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://syferit.soltrixstudios.com">
|
|
3
|
-
<img src="
|
|
3
|
+
<img src="https://syferit.soltrixstudios.com/icon.png" alt="Syferit Logo" width="80" height="80" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<h1 align="center">@syferit/python</h1>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<strong>
|
|
10
|
+
<strong>Python 3 Code Defense & Dynamic S-Box Keystream Engine (v2.0.0)</strong><br>
|
|
11
11
|
<em>“Don't Just Ship it. Syferit.”</em>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
@@ -18,27 +18,28 @@
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm i @syferit/python
|
|
21
|
+
npm i -D @syferit/python
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Quickstart
|
|
25
25
|
|
|
26
26
|
```typescript
|
|
27
|
-
import { PythonTransformer } from '@syferit/python';
|
|
27
|
+
import { protectPython, PythonTransformer } from '@syferit/python';
|
|
28
28
|
|
|
29
29
|
const transformer = new PythonTransformer({
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
preset: 'v2-quantum-rns',
|
|
31
|
+
domainProfile: 'security',
|
|
32
|
+
encryptStrings: true
|
|
32
33
|
});
|
|
33
34
|
|
|
34
|
-
const
|
|
35
|
+
const result = transformer.transform(rawPythonCode);
|
|
36
|
+
console.log(result.code);
|
|
35
37
|
```
|
|
36
38
|
|
|
37
39
|
## Features
|
|
38
40
|
|
|
39
|
-
- **
|
|
40
|
-
- **
|
|
41
|
-
- **Zero Runtime Dependencies:** Lean and production-ready for mission-critical deployments.
|
|
41
|
+
- **32-Bit RNS Tuples & 4-Round ARX Mixing:** Eliminates plaintext secrets from Python source and compiled `.pyc` `co_consts` tables.
|
|
42
|
+
- **Zero Runtime Dependencies:** Hardened modules run natively across Python 3.9–3.13 with standard library built-ins only.
|
|
42
43
|
|
|
43
44
|
## Documentation & Support
|
|
44
45
|
|
package/dist/index.js
CHANGED
|
@@ -11,9 +11,10 @@ export class PythonTransformer {
|
|
|
11
11
|
this.mathCore = WasmMathCore.getInstance();
|
|
12
12
|
}
|
|
13
13
|
transform(pythonCode) {
|
|
14
|
-
function
|
|
15
|
-
const _legalAttestation = "
|
|
16
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
14
|
+
function validateQuorumVector_846f(_tok0, _tok1, _tok2, _tok3) {
|
|
15
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:51c7f429-e2fc1ed8]",
|
|
16
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
17
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
17
18
|
let _h = 2166136261;
|
|
18
19
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
19
20
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -30,72 +31,123 @@ export class PythonTransformer {
|
|
|
30
31
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
31
32
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
32
33
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
35
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
36
|
+
if ((_h >>> 4 & 15) !== 7) {
|
|
37
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
38
|
+
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
35
39
|
}
|
|
36
40
|
return _h;
|
|
37
41
|
}
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
const __nonceAttestation_846f = validateQuorumVector_846f(929398311, 714289949, 1919470099, 726087861);
|
|
43
|
+
function _verifyCertificateProof_rns_846f(_x, _s) {
|
|
44
|
+
const _u = _x >>> 0,
|
|
45
|
+
_r0 = _u % 241,
|
|
46
|
+
_r1 = _u % 251,
|
|
47
|
+
_r2 = _u % 197,
|
|
48
|
+
_r3 = _u % 233,
|
|
49
|
+
_r4 = _u % 199;
|
|
50
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
51
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
52
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
53
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
54
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
55
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
56
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
57
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
58
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
59
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
60
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
61
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
62
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
63
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
64
|
+
}
|
|
65
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
43
66
|
}
|
|
44
|
-
|
|
67
|
+
function _rotateEnclaveBank_vm_846f(_bc) {
|
|
68
|
+
const _stk = [];
|
|
69
|
+
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
70
|
+
const _op = _bc[_pc],
|
|
71
|
+
_a = _bc[_pc + 1],
|
|
72
|
+
_b = _bc[_pc + 2];
|
|
73
|
+
if (_op === 118) {
|
|
74
|
+
_stk.push((__nonceAttestation_846f >>> 0) % _a ^ _b);
|
|
75
|
+
} else if (_op === 69) {
|
|
76
|
+
const _v = _stk.pop() >>> 0;
|
|
77
|
+
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
78
|
+
} else if (_op === 211) {
|
|
79
|
+
const _r = _stk.pop(),
|
|
80
|
+
_l = _stk.pop();
|
|
81
|
+
_stk.push(_l ^ _r);
|
|
82
|
+
} else if (_op === 26) {
|
|
83
|
+
const _r2 = _stk.pop(),
|
|
84
|
+
_l2 = _stk.pop();
|
|
85
|
+
_stk.push(_l2 + _r2 | 0);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return _stk[0];
|
|
89
|
+
}
|
|
90
|
+
const _enclaveBank_846f = [[29, 47, 245, 241, 126, 189, 77, 123, 197, 13, 159, 217, 72, 147], [199, 0, 203, 195, 91, 150, 33, 87, 174, 227, 145], [187, 233, 131, 167, 57], [158, 206, 102, 131], [119, 186, 88, 112, 212, 24, 178, 192, 73, 153], [68, 154, 48, 86, 174]];
|
|
91
|
+
function _authenticateInoculationInjected_846f(_slot) {
|
|
92
|
+
const _row = _enclaveBank_846f[_slot];
|
|
93
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__nonceAttestation_846f >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
94
|
+
}
|
|
95
|
+
if (this.options.mode === _authenticateInoculationInjected_846f(-734843387 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 28633)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 48 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 48 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 48 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 48 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 11387) & 255) === 180) {
|
|
45
96
|
return {
|
|
46
97
|
code: pythonCode,
|
|
47
|
-
transformedCount: (
|
|
98
|
+
transformedCount: (27683 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 16363) & 65535) / (60419 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 16363) >>> 16 & 65535),
|
|
48
99
|
seedUsed: this.seed,
|
|
49
100
|
inoculationInjected: false,
|
|
50
|
-
stateKeyDerived: (
|
|
101
|
+
stateKeyDerived: (65453 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 3309) & 65535) / (46820 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 3309) >>> 16 & 65535)
|
|
51
102
|
};
|
|
52
|
-
} else if (this.options.mode ===
|
|
103
|
+
} else if (this.options.mode === _authenticateInoculationInjected_846f(1965147606 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 16741)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 105 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 105 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 105 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 105 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20799) & 255) === 82) {
|
|
53
104
|
return {
|
|
54
105
|
code: pythonCode,
|
|
55
|
-
transformedCount:
|
|
106
|
+
transformedCount: _rotateEnclaveBank_vm_846f([118, 241, 12999, 69, 8, 0, 118, 251, 24879, 26, 0, 0, 118, 241, 3358965, 211, 0, 0]),
|
|
56
107
|
seedUsed: this.seed,
|
|
57
108
|
inoculationInjected: false,
|
|
58
|
-
stateKeyDerived:
|
|
109
|
+
stateKeyDerived: _rotateEnclaveBank_vm_846f([118, 241, 19111, 69, 12, 0, 118, 251, 11444, 26, 0, 0, 118, 241, 78388334, 211, 0, 0])
|
|
59
110
|
};
|
|
60
|
-
} else if (this.options.mode ===
|
|
111
|
+
} else if (this.options.mode === _authenticateInoculationInjected_846f(343814967 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12001)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 88 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 88 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 88 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 88 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 15665) & 255) === 238) {
|
|
61
112
|
return {
|
|
62
113
|
code: pythonCode,
|
|
63
|
-
transformedCount: (
|
|
114
|
+
transformedCount: (57579 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 27539) & 65535) / (17204 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 27539) >>> 16 & 65535),
|
|
64
115
|
seedUsed: this.seed,
|
|
65
116
|
inoculationInjected: false,
|
|
66
|
-
stateKeyDerived: (
|
|
117
|
+
stateKeyDerived: (44261 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 929) & 65535) / (9529 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 929) >>> 16 & 65535)
|
|
67
118
|
};
|
|
68
119
|
}
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
let
|
|
72
|
-
while ((
|
|
73
|
-
if (
|
|
74
|
-
|
|
120
|
+
const _nonceFrame_d02 = [];
|
|
121
|
+
const _SeededPRNGAttestation_6eb = /\bdef\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
|
|
122
|
+
let _quorumDigest_f8d;
|
|
123
|
+
while ((_quorumDigest_f8d = _SeededPRNGAttestation_6eb.exec(pythonCode)) !== null) {
|
|
124
|
+
if (_quorumDigest_f8d[_rotateEnclaveBank_vm_846f([118, 241, 29533, 69, 8, 0, 118, 251, 10253, 26, 0, 0, 118, 241, 7564758, 211, 0, 0])] && _quorumDigest_f8d[_rotateEnclaveBank_vm_846f([118, 241, 2671, 69, 7, 0, 118, 251, 9718, 26, 0, 0, 118, 241, 352429, 211, 0, 0])].length >= (1765241889 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22817)) && !_quorumDigest_f8d[-562970720 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 15765)].startsWith('__')) {
|
|
125
|
+
_nonceFrame_d02.push(_quorumDigest_f8d[-1405102606 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 9185)]);
|
|
75
126
|
}
|
|
76
127
|
}
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
const
|
|
89
|
-
const
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
function
|
|
97
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
98
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
128
|
+
const _SyferitEngineDelta_10e = buildPolymorphicDictionary(this.options.domainProfile ?? _authenticateInoculationInjected_846f(1427312442 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 1171)), this.prng, _nonceFrame_d02, this.options.customDictionary ?? []);
|
|
129
|
+
const _dictProof_bc7 = this.prng.pick(_SyferitEngineDelta_10e.legalInoculations);
|
|
130
|
+
const _quorumVector_86e = `${this.prng.nextUint32().toString(1017389071 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20829)).padStart(1594084781 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 16221), '0')}-${this.prng.nextUint32().toString(-882552465 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 17401)).padStart(-2073829505 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 3059), '0')}`;
|
|
131
|
+
const _pushBank_1b0 = `${_dictProof_bc7} [ATTESTATION_ID:${_quorumVector_86e}]`;
|
|
132
|
+
const _WasmMathCoreCheck_152 = (this.prng.nextUint32() & (1830377424 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23409))).toString(1244562105 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20243));
|
|
133
|
+
const _signatureBank_cee = `_${this.prng.pick(_SyferitEngineDelta_10e.stateKeys).replace(/^_+/, '')}_attestation_${_WasmMathCoreCheck_152}`;
|
|
134
|
+
const _transformBank_364 = `_${this.prng.pick(_SyferitEngineDelta_10e.symbols)}_${_WasmMathCoreCheck_152}`;
|
|
135
|
+
const _seedUsedDigest_38a = `_${this.prng.pick(_SyferitEngineDelta_10e.stateKeys).replace(/^_+/, '')}_${_WasmMathCoreCheck_152}`;
|
|
136
|
+
const _keystoreVector_124 = `_enclave_matrix_${_WasmMathCoreCheck_152}`;
|
|
137
|
+
const _tokenFrame_be8 = `_unseal_slot_${_WasmMathCoreCheck_152}`;
|
|
138
|
+
const _PythonTransformerBank_fe0 = `_verify_quorum_${_WasmMathCoreCheck_152}`;
|
|
139
|
+
const _defRegexCheck_bc3 = `_fold_carry_${_WasmMathCoreCheck_152}`;
|
|
140
|
+
const _enclaveBank_5c1 = `_${this.prng.pick(_SyferitEngineDelta_10e.symbols)}_decoy_${_WasmMathCoreCheck_152}`;
|
|
141
|
+
const _modeDigest_4b3 = [this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | 306737392 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12687), this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | 907553546 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 29199), this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | -1269457508 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 24485), this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | 2065354300 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 19159)];
|
|
142
|
+
const _signatureVector_219 = this.mathCore.computeStringKey(_pushBank_1b0, _modeDigest_4b3);
|
|
143
|
+
const _mathCoreProof_f89 = _signatureVector_219 >>> (463613241 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 30653)) & (-1819877876 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23417));
|
|
144
|
+
const _tpmEnvelope_349 = this.prng.pick(_SyferitEngineDelta_10e.assertions);
|
|
145
|
+
const _hashStringAttestation_288 = [];
|
|
146
|
+
const _certificateProof_49c = rawStr => {
|
|
147
|
+
function sanitizeNonceBank_be46(_tok0, _tok1, _tok2, _tok3) {
|
|
148
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:b6ca6df6-440ea2a2]",
|
|
149
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
150
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
99
151
|
let _h = 2166136261;
|
|
100
152
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
101
153
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -112,17 +164,45 @@ export class PythonTransformer {
|
|
|
112
164
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
113
165
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
114
166
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
115
|
-
|
|
116
|
-
|
|
167
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
168
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
169
|
+
if ((_h >>> 4 & 15) !== 8) {
|
|
170
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
171
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
117
172
|
}
|
|
118
173
|
return _h;
|
|
119
174
|
}
|
|
120
|
-
const
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
175
|
+
const __customDictionaryState_be46 = sanitizeNonceBank_be46(146874463, 1551829917, 791301719, 1513702481);
|
|
176
|
+
function _validateSeed_rns_be46(_x, _s) {
|
|
177
|
+
const _u = _x >>> 0,
|
|
178
|
+
_r0 = _u % 233,
|
|
179
|
+
_r1 = _u % 241,
|
|
180
|
+
_r2 = _u % 211,
|
|
181
|
+
_r3 = _u % 199,
|
|
182
|
+
_r4 = _u % 251;
|
|
183
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
184
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
185
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
186
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
187
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
188
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
189
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
190
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
191
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
192
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
193
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
194
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
195
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
196
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
197
|
+
}
|
|
198
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
199
|
+
}
|
|
200
|
+
const _mathCoreProof_c2b = _hashStringAttestation_288.length;
|
|
201
|
+
const _nonceFrame_a30 = rawStr.split('').map((ch, charIdx) => {
|
|
202
|
+
function attestStateKeyDerived_2df8(_tok0, _tok1, _tok2, _tok3) {
|
|
203
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:7abb8762-b0e9a94a]",
|
|
204
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
205
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
126
206
|
let _h = 2166136261;
|
|
127
207
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
128
208
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -139,17 +219,45 @@ export class PythonTransformer {
|
|
|
139
219
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
140
220
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
141
221
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
142
|
-
|
|
143
|
-
|
|
222
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
223
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
224
|
+
if ((_h >>> 4 & 15) !== 7) {
|
|
225
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
226
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
144
227
|
}
|
|
145
228
|
return _h;
|
|
146
229
|
}
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
230
|
+
const __stateKeyDerivedState_2df8 = attestStateKeyDerived_2df8(2079177289, 883206157, 1138330409, 42261357);
|
|
231
|
+
function _verifySyferitEngineContext_rns_2df8(_x, _s) {
|
|
232
|
+
const _u = _x >>> 0,
|
|
233
|
+
_r0 = _u % 241,
|
|
234
|
+
_r1 = _u % 233,
|
|
235
|
+
_r2 = _u % 199,
|
|
236
|
+
_r3 = _u % 239,
|
|
237
|
+
_r4 = _u % 223;
|
|
238
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
239
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
240
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
241
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
242
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
243
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
244
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
245
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
246
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
247
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
248
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
249
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
250
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
251
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
252
|
+
}
|
|
253
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
254
|
+
}
|
|
255
|
+
const _keystoreVector_8ed = (_signatureVector_219 >>> (charIdx & (1771394420 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 11577))) * (815226629 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 6031))) + Math.imul(charIdx + _mathCoreProof_c2b, -469687882 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 25671)) & (970434942 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23199));
|
|
256
|
+
return (__stateKeyDerivedState_2df8 & 255) === 113 ? (ch.charCodeAt(-850128977 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20465)) ^ _keystoreVector_8ed) & (2107450632 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 9601)) : (() => {
|
|
257
|
+
function attestCustomDictionary_3d06(_tok0, _tok1, _tok2, _tok3) {
|
|
258
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a62c9ce0-02f9e8f9]",
|
|
259
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
260
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
153
261
|
let _h = 2166136261;
|
|
154
262
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
155
263
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -166,26 +274,54 @@ export class PythonTransformer {
|
|
|
166
274
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
167
275
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
168
276
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
169
|
-
|
|
277
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
278
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
279
|
+
if ((_h >>> 4 & 15) !== 0) {
|
|
280
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
170
281
|
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
171
282
|
}
|
|
172
283
|
return _h;
|
|
173
284
|
}
|
|
174
|
-
const
|
|
175
|
-
|
|
285
|
+
const __stateKeyDerivedState_3d06 = attestCustomDictionary_3d06(1634339721, 2106324421, 532656467, 1465420803);
|
|
286
|
+
function _sanitizeNonceBank_rns_3d06(_x, _s) {
|
|
287
|
+
const _u = _x >>> 0,
|
|
288
|
+
_r0 = _u % 197,
|
|
289
|
+
_r1 = _u % 223,
|
|
290
|
+
_r2 = _u % 241,
|
|
291
|
+
_r3 = _u % 211,
|
|
292
|
+
_r4 = _u % 229;
|
|
293
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
294
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
295
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
296
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
297
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
298
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
299
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
300
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
301
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
302
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
303
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
304
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
305
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
306
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
307
|
+
}
|
|
308
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
309
|
+
}
|
|
310
|
+
if ((__stateKeyDerivedState_3d06 & 255) !== 11) {
|
|
176
311
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
177
312
|
}
|
|
178
313
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
179
314
|
})();
|
|
180
315
|
});
|
|
181
|
-
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
const
|
|
185
|
-
return (
|
|
186
|
-
function
|
|
187
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
188
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
316
|
+
_hashStringAttestation_288.push(_nonceFrame_a30);
|
|
317
|
+
const _tpmVector_708 = _signatureVector_219 & (2109882986 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23551)) ^ this.prng.nextRange(-593630909 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 28665), 1989748326 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22171));
|
|
318
|
+
const _certificateVector_2c0 = _mathCoreProof_c2b ^ _tpmVector_708;
|
|
319
|
+
const _hashStringAttestation_92c = _tpmVector_708 ^ _signatureVector_219 & (1073325406 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12769));
|
|
320
|
+
return (__customDictionaryState_be46 & 255) === 137 ? `${_tokenFrame_be8}(${_certificateVector_2c0} ^ ((${_seedUsedDigest_38a} & 0xFFFF) ^ ${_hashStringAttestation_92c}), ${_seedUsedDigest_38a})` : (() => {
|
|
321
|
+
function rotateBaseLegalNotice_dc76(_tok0, _tok1, _tok2, _tok3) {
|
|
322
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:acaff183-4301d57a]",
|
|
323
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
324
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
189
325
|
let _h = 2166136261;
|
|
190
326
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
191
327
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -202,109 +338,137 @@ export class PythonTransformer {
|
|
|
202
338
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
203
339
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
204
340
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
205
|
-
|
|
206
|
-
|
|
341
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
342
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
343
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
344
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
345
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
207
346
|
}
|
|
208
347
|
return _h;
|
|
209
348
|
}
|
|
210
|
-
const
|
|
211
|
-
|
|
349
|
+
const __mathCoreState_dc76 = rotateBaseLegalNotice_dc76(851928515, 1220941847, 2052702257, 1832800281);
|
|
350
|
+
function _attestCustomDictionary_rns_dc76(_x, _s) {
|
|
351
|
+
const _u = _x >>> 0,
|
|
352
|
+
_r0 = _u % 211,
|
|
353
|
+
_r1 = _u % 241,
|
|
354
|
+
_r2 = _u % 197,
|
|
355
|
+
_r3 = _u % 229,
|
|
356
|
+
_r4 = _u % 199;
|
|
357
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
358
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
359
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
360
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
361
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
362
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
363
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
364
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
365
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
366
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
367
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
368
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
369
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
370
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
371
|
+
}
|
|
372
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
373
|
+
}
|
|
374
|
+
if ((__mathCoreState_dc76 & 255) !== 82) {
|
|
212
375
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
213
376
|
}
|
|
214
377
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
215
378
|
})();
|
|
216
379
|
};
|
|
217
|
-
let
|
|
218
|
-
const
|
|
219
|
-
const
|
|
220
|
-
let
|
|
221
|
-
let
|
|
222
|
-
while (
|
|
223
|
-
|
|
380
|
+
let _getInstanceAttestation_5d1 = 392688423 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 32021);
|
|
381
|
+
const _SoltrixStudiosDelta_758 = pythonCode.split(/\r?\n/);
|
|
382
|
+
const _optionsDigest_96 = [];
|
|
383
|
+
let _transformedCountEnvelope_b10 = -(1812040254 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 26247));
|
|
384
|
+
let _nonceAttestation_dfd = 872465621 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 15835);
|
|
385
|
+
while (_nonceAttestation_dfd < _SoltrixStudiosDelta_758.length && (/^\s*#!/.test(_SoltrixStudiosDelta_758[_nonceAttestation_dfd]) || /^\s*#\s*-\*-/.test(_SoltrixStudiosDelta_758[_nonceAttestation_dfd]) || /^\s*from\s+__future__\s+import\b/.test(_SoltrixStudiosDelta_758[_nonceAttestation_dfd]) || /^\s*$/.test(_SoltrixStudiosDelta_758[_nonceAttestation_dfd]))) {
|
|
386
|
+
_nonceAttestation_dfd++;
|
|
224
387
|
}
|
|
225
|
-
if (
|
|
226
|
-
const quoteType =
|
|
227
|
-
const trimmedFirst =
|
|
228
|
-
|
|
229
|
-
if (!trimmedFirst.slice(
|
|
230
|
-
|
|
231
|
-
while (
|
|
232
|
-
const cur =
|
|
233
|
-
|
|
388
|
+
if (_nonceAttestation_dfd < _SoltrixStudiosDelta_758.length && /^\s*("""|''')/.test(_SoltrixStudiosDelta_758[_nonceAttestation_dfd])) {
|
|
389
|
+
const quoteType = _SoltrixStudiosDelta_758[_nonceAttestation_dfd].match(/^\s*("""|''')/)[-1465884734 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 14195)];
|
|
390
|
+
const trimmedFirst = _SoltrixStudiosDelta_758[_nonceAttestation_dfd].trim();
|
|
391
|
+
_SoltrixStudiosDelta_758[_nonceAttestation_dfd] = '';
|
|
392
|
+
if (!trimmedFirst.slice(55339616 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 6577)).includes(quoteType)) {
|
|
393
|
+
_nonceAttestation_dfd++;
|
|
394
|
+
while (_nonceAttestation_dfd < _SoltrixStudiosDelta_758.length) {
|
|
395
|
+
const cur = _SoltrixStudiosDelta_758[_nonceAttestation_dfd];
|
|
396
|
+
_SoltrixStudiosDelta_758[_nonceAttestation_dfd] = '';
|
|
234
397
|
if (cur.includes(quoteType)) break;
|
|
235
|
-
|
|
398
|
+
_nonceAttestation_dfd++;
|
|
236
399
|
}
|
|
237
400
|
}
|
|
238
401
|
}
|
|
239
|
-
for (let i =
|
|
240
|
-
let line =
|
|
402
|
+
for (let i = -1420195741 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20921); i < _SoltrixStudiosDelta_758.length; i++) {
|
|
403
|
+
let line = _SoltrixStudiosDelta_758[i];
|
|
241
404
|
if (/^\s*#/.test(line) && !/^\s*#!/.test(line) && !/^\s*#\s*-\*-/.test(line)) {
|
|
242
405
|
continue;
|
|
243
406
|
}
|
|
244
407
|
if (line.includes('#') && !/^\s*#!/.test(line) && !/^\s*#\s*-\*-/.test(line)) {
|
|
245
408
|
let inSingle = false;
|
|
246
409
|
let inDouble = false;
|
|
247
|
-
for (let c =
|
|
410
|
+
for (let c = -1856361167 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23755); c < line.length; c++) {
|
|
248
411
|
const ch = line[c];
|
|
249
|
-
if (ch === "'" && !inDouble && line[c - (
|
|
250
|
-
line = line.slice(
|
|
412
|
+
if (ch === "'" && !inDouble && line[c - (1180796824 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 24813))] !== '\\') inSingle = !inSingle;else if (ch === '"' && !inSingle && line[c - (1497695626 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 25743))] !== '\\') inDouble = !inDouble;else if (ch === '#' && !inSingle && !inDouble) {
|
|
413
|
+
line = line.slice(1413998509 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 6013), c).trimEnd();
|
|
251
414
|
break;
|
|
252
415
|
}
|
|
253
416
|
}
|
|
254
417
|
}
|
|
255
418
|
const defMatch = line.match(/^(\s*)def\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(([^)]*)\)(\s*(?:->\s*[^:]+)?):(\s*)$/);
|
|
256
419
|
if (defMatch) {
|
|
257
|
-
|
|
258
|
-
const defIndent = defMatch[
|
|
259
|
-
|
|
420
|
+
_getInstanceAttestation_5d1++;
|
|
421
|
+
const defIndent = defMatch[215296274 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 9561)];
|
|
422
|
+
_transformedCountEnvelope_b10 = defIndent.length;
|
|
260
423
|
const bodyIndent = `${defIndent} `;
|
|
261
|
-
|
|
262
|
-
while (i + (
|
|
424
|
+
_optionsDigest_96.push(line);
|
|
425
|
+
while (i + (1010865014 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20797)) < _SoltrixStudiosDelta_758.length && /^\s*$/.test(_SoltrixStudiosDelta_758[i + (-2053298198 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 305))])) {
|
|
263
426
|
i++;
|
|
264
427
|
}
|
|
265
|
-
if (i + (
|
|
266
|
-
const quoteType =
|
|
428
|
+
if (i + (-813068936 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 1381)) < _SoltrixStudiosDelta_758.length && /^\s*("""|''')/.test(_SoltrixStudiosDelta_758[i + (-156374276 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 30345))])) {
|
|
429
|
+
const quoteType = _SoltrixStudiosDelta_758[i + (315726242 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12289))].match(/^\s*("""|''')/)[505643696 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 10087)];
|
|
267
430
|
i++;
|
|
268
|
-
const trimmedDoc =
|
|
269
|
-
if (!trimmedDoc.slice(
|
|
270
|
-
while (i + (
|
|
431
|
+
const trimmedDoc = _SoltrixStudiosDelta_758[i].trim();
|
|
432
|
+
if (!trimmedDoc.slice(745946348 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2807)).includes(quoteType)) {
|
|
433
|
+
while (i + (1346456364 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 24167)) < _SoltrixStudiosDelta_758.length) {
|
|
271
434
|
i++;
|
|
272
|
-
if (
|
|
435
|
+
if (_SoltrixStudiosDelta_758[i].includes(quoteType)) break;
|
|
273
436
|
}
|
|
274
437
|
}
|
|
275
438
|
}
|
|
276
|
-
const mask = this.prng.nextUint32() & 2147483646 + ((
|
|
277
|
-
const c1 = (
|
|
278
|
-
const c2 = (mask ^
|
|
279
|
-
|
|
280
|
-
|
|
439
|
+
const mask = this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | 1275685870 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 32729);
|
|
440
|
+
const c1 = (1118522446 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 13961) ^ mask) >>> (-2105277717 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 18077));
|
|
441
|
+
const c2 = (mask ^ _signatureVector_219) >>> (1893571769 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2233));
|
|
442
|
+
_optionsDigest_96.push(`${bodyIndent}${_seedUsedDigest_38a} = ${_transformBank_364}(${_modeDigest_4b3[1124534945 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 21323)]}, ${_modeDigest_4b3[691838596 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 8483)]}, ${_modeDigest_4b3[340073019 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22719)]}, ${_modeDigest_4b3[-1930919538 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 25897)]})`);
|
|
443
|
+
_optionsDigest_96.push(`${bodyIndent}if not ${_PythonTransformerBank_fe0}(${_seedUsedDigest_38a}, ${c1}, ${c2}): return ${_enclaveBank_5c1}(${_seedUsedDigest_38a})`);
|
|
281
444
|
continue;
|
|
282
445
|
}
|
|
283
|
-
if (line.trim().length > (
|
|
284
|
-
const indent = line.match(/^(\s*)/)[(
|
|
285
|
-
if (indent <=
|
|
286
|
-
|
|
446
|
+
if (line.trim().length > (1404199631 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 17129)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 75 | 1, (line.trim().length | 0) ^ 75 | 1), Math.imul((line.trim().length | 0) ^ 75 | 1, (line.trim().length | 0) ^ 75 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2301) & 255) === 144) {
|
|
447
|
+
const indent = line.match(/^(\s*)/)[(32553 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12019) & 65535) / (62740 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 12019) >>> 16 & 65535)].length;
|
|
448
|
+
if (indent <= _transformedCountEnvelope_b10) {
|
|
449
|
+
_transformedCountEnvelope_b10 = -((25441 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 1039) & 65535) / (49299 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 1039) >>> 16 & 65535));
|
|
287
450
|
}
|
|
288
|
-
} else if (line.trim().length > (
|
|
289
|
-
const indent = line.match(/^(\s*)/)[
|
|
290
|
-
if (indent <=
|
|
291
|
-
|
|
451
|
+
} else if (line.trim().length > (-1609510229 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2877)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 64 | 1, (line.trim().length | 0) ^ 64 | 1), Math.imul((line.trim().length | 0) ^ 64 | 1, (line.trim().length | 0) ^ 64 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 7705) & 255) === 6) {
|
|
452
|
+
const indent = line.match(/^(\s*)/)[570644950 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 26205)].length;
|
|
453
|
+
if (indent <= _transformedCountEnvelope_b10) {
|
|
454
|
+
_transformedCountEnvelope_b10 = -(-1627473140 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22079));
|
|
292
455
|
}
|
|
293
|
-
} else if (line.trim().length > (
|
|
294
|
-
const indent = line.match(/^(\s*)/)[(
|
|
295
|
-
if (indent <=
|
|
296
|
-
|
|
456
|
+
} else if (line.trim().length > (1722924726 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22093)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 90 | 1, (line.trim().length | 0) ^ 90 | 1), Math.imul((line.trim().length | 0) ^ 90 | 1, (line.trim().length | 0) ^ 90 | 1)) & 15 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 14591) & 255) === 200) {
|
|
457
|
+
const indent = line.match(/^(\s*)/)[(27925 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 18357) & 65535) / (21807 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 18357) >>> 16 & 65535)].length;
|
|
458
|
+
if (indent <= _transformedCountEnvelope_b10) {
|
|
459
|
+
_transformedCountEnvelope_b10 = -((33507 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 28759) & 65535) / (752 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 28759) >>> 16 & 65535));
|
|
297
460
|
}
|
|
298
461
|
}
|
|
299
|
-
if (
|
|
462
|
+
if (_transformedCountEnvelope_b10 >= (1630559655 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 8195)) && /^\s{4,}\S/.test(line) && !/^\s*#/.test(line) && !/^\s*@/.test(line)) {
|
|
300
463
|
let modifiedLine = line;
|
|
301
464
|
if (this.options.encryptStrings !== false) {
|
|
302
|
-
modifiedLine = modifiedLine.replace(/(?<![fFrRbB])"([^"\\\n]{3,40})"/g, (_m, strContent) =>
|
|
465
|
+
modifiedLine = modifiedLine.replace(/(?<![fFrRbB])"([^"\\\n]{3,40})"/g, (_m, strContent) => _certificateProof_49c(strContent));
|
|
303
466
|
}
|
|
304
467
|
modifiedLine = modifiedLine.replace(/(\breturn\s+|\s=\s*|\s\+\s*|\s-\s*|\s\*\s*)([1-9]\d{0,6})\b(?!\s*\.)/g, (_m, prefix, numStr) => {
|
|
305
|
-
function
|
|
306
|
-
const _legalAttestation = "
|
|
307
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
468
|
+
function validateTransform_1ce6(_tok0, _tok1, _tok2, _tok3) {
|
|
469
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:cb8a0d80-f14a29fe]",
|
|
470
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
471
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
308
472
|
let _h = 2166136261;
|
|
309
473
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
310
474
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -321,21 +485,49 @@ export class PythonTransformer {
|
|
|
321
485
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
322
486
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
323
487
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
324
|
-
|
|
325
|
-
|
|
488
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
489
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
490
|
+
if ((_h >>> 4 & 15) !== 12) {
|
|
491
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
492
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
326
493
|
}
|
|
327
494
|
return _h;
|
|
328
495
|
}
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
496
|
+
const __certificateProof_1ce6 = validateTransform_1ce6(93988661, 1561263615, 815003849, 99503039);
|
|
497
|
+
function _verifySyferitEngineContext_rns_1ce6(_x, _s) {
|
|
498
|
+
const _u = _x >>> 0,
|
|
499
|
+
_r0 = _u % 241,
|
|
500
|
+
_r1 = _u % 211,
|
|
501
|
+
_r2 = _u % 223,
|
|
502
|
+
_r3 = _u % 233,
|
|
503
|
+
_r4 = _u % 229;
|
|
504
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
505
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
506
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
507
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
508
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
509
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
510
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
511
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
512
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
513
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
514
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
515
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
516
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
517
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
518
|
+
}
|
|
519
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
520
|
+
}
|
|
521
|
+
const _PythonTransformerBank_b8f = parseInt(numStr, -1689392147 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 7187));
|
|
522
|
+
const _certificateProof_a62 = (_signatureVector_219 & (-1235416542 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 29647))) >>> (-309861237 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 13097));
|
|
523
|
+
const _dictProof_18 = _certificateProof_a62 ^ this.prng.nextRange(-1307238739 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 5403), -190932642 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 13549));
|
|
524
|
+
const _transformBank_cae = _PythonTransformerBank_b8f ^ _dictProof_18;
|
|
525
|
+
const _transformedCountEnvelope_775 = _dictProof_18 ^ _certificateProof_a62;
|
|
526
|
+
return (__certificateProof_1ce6 & 255) === 207 ? `${prefix}(${_transformBank_cae} ^ ((${_seedUsedDigest_38a} & 0xFFFF) ^ ${_transformedCountEnvelope_775}))` : (() => {
|
|
527
|
+
function auditPush_ff5d(_tok0, _tok1, _tok2, _tok3) {
|
|
528
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:68d3fafb-608bb126]",
|
|
529
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
530
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
339
531
|
let _h = 2166136261;
|
|
340
532
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
341
533
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -352,59 +544,87 @@ export class PythonTransformer {
|
|
|
352
544
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
353
545
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
354
546
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
355
|
-
|
|
547
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
548
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
549
|
+
if ((_h >>> 4 & 15) !== 7) {
|
|
550
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
356
551
|
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
357
552
|
}
|
|
358
553
|
return _h;
|
|
359
554
|
}
|
|
360
|
-
const
|
|
361
|
-
|
|
555
|
+
const __certificateProof_ff5d = auditPush_ff5d(2130464993, 1572690863, 2034953531, 1263507047);
|
|
556
|
+
function _validateQuorumVector_rns_ff5d(_x, _s) {
|
|
557
|
+
const _u = _x >>> 0,
|
|
558
|
+
_r0 = _u % 239,
|
|
559
|
+
_r1 = _u % 241,
|
|
560
|
+
_r2 = _u % 223,
|
|
561
|
+
_r3 = _u % 227,
|
|
562
|
+
_r4 = _u % 199;
|
|
563
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
564
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
565
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
566
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
567
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
568
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
569
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
570
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
571
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
572
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
573
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
574
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
575
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
576
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
577
|
+
}
|
|
578
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
579
|
+
}
|
|
580
|
+
if ((__certificateProof_ff5d & 255) !== 113) {
|
|
362
581
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
363
582
|
}
|
|
364
583
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
365
584
|
})();
|
|
366
585
|
});
|
|
367
|
-
|
|
586
|
+
_optionsDigest_96.push(modifiedLine);
|
|
368
587
|
} else {
|
|
369
|
-
|
|
588
|
+
_optionsDigest_96.push(line);
|
|
370
589
|
}
|
|
371
590
|
}
|
|
372
|
-
if (
|
|
591
|
+
if (_getInstanceAttestation_5d1 === (561955527 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 24837))) {
|
|
373
592
|
return {
|
|
374
593
|
code: pythonCode,
|
|
375
|
-
transformedCount:
|
|
594
|
+
transformedCount: 1643836597 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 22283),
|
|
376
595
|
seedUsed: this.seed,
|
|
377
596
|
inoculationInjected: false,
|
|
378
|
-
stateKeyDerived:
|
|
597
|
+
stateKeyDerived: -1170743389 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 32007)
|
|
379
598
|
};
|
|
380
599
|
}
|
|
381
|
-
if (
|
|
382
|
-
for (const decoyStr of
|
|
383
|
-
|
|
600
|
+
if (_hashStringAttestation_288.length < (49947643 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 26585))) {
|
|
601
|
+
for (const decoyStr of _SyferitEngineDelta_10e.decoyTierStrings.slice(990614995 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 14883), -951805313 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 18281))) {
|
|
602
|
+
_certificateProof_49c(decoyStr);
|
|
384
603
|
}
|
|
385
604
|
}
|
|
386
|
-
const
|
|
387
|
-
const
|
|
388
|
-
const
|
|
389
|
-
const
|
|
390
|
-
const
|
|
391
|
-
const
|
|
392
|
-
const
|
|
393
|
-
let
|
|
394
|
-
while (
|
|
395
|
-
|
|
605
|
+
const _generateCryptoSeedCheck_e4 = _pushBank_1b0.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
|
|
606
|
+
const _trimFrame_49f = _tpmEnvelope_349.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
|
|
607
|
+
const _certificateVector_6e9 = JSON.stringify(_hashStringAttestation_288);
|
|
608
|
+
const _stateKeyDerivedProof_95c = this.prng.nextUint32() & 2147483646 + ((__nonceAttestation_846f & 255) - 126) | -558836266 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23449);
|
|
609
|
+
const _enclaveVector_590 = (-781459154 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2979) ^ _stateKeyDerivedProof_95c) >>> (1988558895 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 9035));
|
|
610
|
+
const _codeBank_aa4 = (_stateKeyDerivedProof_95c ^ _signatureVector_219) >>> (-1970575107 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 21347));
|
|
611
|
+
const _domainProfileVector_e80 = [`# [Protected by Soltrix Studios: Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `${_signatureBank_cee} = "${_generateCryptoSeedCheck_e4}"`, `${_keystoreVector_124} = ${_certificateVector_6e9}`, ``, `def ${_transformBank_364}(_tok0, _tok1, _tok2, _tok3):`, ` _h = 0x811C9DC5`, ` for _s in (_tok0, _tok1, _tok2, _tok3):`, ` _h = (_h ^ (_s & 0xFFFFFFFF)) & 0xFFFFFFFF`, ` _h = ((_h * 0x01000193) & 0xFFFFFFFF)`, ` _h = (_h ^ (_h >> 13)) & 0xFFFFFFFF`, ` for _ch in ${_signatureBank_cee}:`, ` _h = (_h ^ ord(_ch)) & 0xFFFFFFFF`, ` _h = ((_h * 0x01000193) & 0xFFFFFFFF)`, ` _h = (_h ^ (_h >> 13)) & 0xFFFFFFFF`, ` _h = (((_h ^ (_h >> 16)) * 0x85EBCA6B) & 0xFFFFFFFF)`, ` _h = (((_h ^ (_h >> 13)) * 0xC2B2AE35) & 0xFFFFFFFF)`, ` _h = (_h ^ (_h >> 16)) & 0xFFFFFFFF`, ` if (_h & 0xFFFF) == 0:`, ` _h = (_h | 0x1337) & 0xFFFFFFFF`, ` if ((_h >> 16) & 0xFFFF) == 0:`, ` _h = (_h | 0x73310000) & 0xFFFFFFFF`, ` if ((_h >> 4) & 0xF) != ${_mathCoreProof_f89}:`, ` raise RuntimeError("${_trimFrame_49f}")`, ` return _h`, ``, `def ${_tokenFrame_be8}(_slot, _k):`, ` _row = ${_keystoreVector_124}[_slot]`, ` return "".join(chr((_b ^ (((_k >> ((_idx & 3) * 8)) + (((_idx + _slot) * 37) & 0xFFFFFFFF)) & 0xFF)) & 0xFF) for _idx, _b in enumerate(_row))`, ``, `def ${_defRegexCheck_bc3}(_x, _y):`, ` return (((_x ^ _y) + ((_x & _y) << 1)) & 0xFFFFFFFF)`, ``, `def ${_PythonTransformerBank_fe0}(_k, _c1, _c2):`, ` _r0 = (_k & 0xFFFFFFFF) % 251`, ` _r1 = (_k & 0xFFFFFFFF) % 241`, ` _r2 = (_k & 0xFFFFFFFF) % 239`, ` _arx = ((((_r0 + _r1) << 16) | ((_r0 + _r1) >> 16)) ^ _r2) & 0xFFFFFFFF`, ` _u = ((_k ^ (_arx - _arx)) | 1) & 0xFFFFFFFF`, ` _u2 = (_u * _u) & 0xFFFFFFFF`, ` _u4 = (_u2 * _u2) & 0xFFFFFFFF`, ` _expected = (_c1 ^ (_k ^ _c2)) & 0xFFFFFFFF`, ` return (_u4 & 15) == _expected`, ``, `def ${_enclaveBank_5c1}(_k):`, ` return ${_defRegexCheck_bc3}(_k, 0x5A17E9B3) ^ 0xDEADBEEF`, ``, `${_seedUsedDigest_38a} = ${_transformBank_364}(${_modeDigest_4b3[-203713631 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 2703)]}, ${_modeDigest_4b3[1041182732 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 16225)]}, ${_modeDigest_4b3[-189177529 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 23241)]}, ${_modeDigest_4b3[-1410804880 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 4305)]})`, `if not ${_PythonTransformerBank_fe0}(${_seedUsedDigest_38a}, ${_enclaveVector_590}, ${_codeBank_aa4}):`, ` raise RuntimeError("${_trimFrame_49f}")`, ``].join('\n');
|
|
612
|
+
let _keystoreEnvelope_3df = 1419950387 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 20765);
|
|
613
|
+
while (_keystoreEnvelope_3df < _optionsDigest_96.length && (/^\s*#!/.test(_optionsDigest_96[_keystoreEnvelope_3df]) || /^\s*#\s*-\*-/.test(_optionsDigest_96[_keystoreEnvelope_3df]) || /^\s*from\s+__future__\s+import\b/.test(_optionsDigest_96[_keystoreEnvelope_3df]))) {
|
|
614
|
+
_keystoreEnvelope_3df++;
|
|
396
615
|
}
|
|
397
|
-
const
|
|
398
|
-
return (
|
|
399
|
-
code:
|
|
400
|
-
transformedCount:
|
|
616
|
+
const _enclaveReg_434 = [..._optionsDigest_96.slice(898884437 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 29167), _keystoreEnvelope_3df), _domainProfileVector_e80, ..._optionsDigest_96.slice(_keystoreEnvelope_3df)];
|
|
617
|
+
return (__nonceAttestation_846f & 255) === 126 ? {
|
|
618
|
+
code: _enclaveReg_434.join('\n'),
|
|
619
|
+
transformedCount: _getInstanceAttestation_5d1,
|
|
401
620
|
seedUsed: this.seed,
|
|
402
621
|
inoculationInjected: true,
|
|
403
|
-
stateKeyDerived:
|
|
622
|
+
stateKeyDerived: _signatureVector_219 >>> (-1461805035 ^ _verifyCertificateProof_rns_846f(__nonceAttestation_846f, 30169))
|
|
404
623
|
} : (() => {
|
|
405
|
-
function
|
|
406
|
-
const _legalAttestation = "
|
|
407
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
624
|
+
function verifyGenerateCryptoSeed_26bf(_tok0, _tok1, _tok2, _tok3) {
|
|
625
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:fdef0249-b0057d36]",
|
|
626
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
627
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
408
628
|
let _h = 2166136261;
|
|
409
629
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
410
630
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -421,13 +641,40 @@ export class PythonTransformer {
|
|
|
421
641
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
422
642
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
423
643
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
424
|
-
|
|
425
|
-
|
|
644
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
645
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
646
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
647
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
648
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
426
649
|
}
|
|
427
650
|
return _h;
|
|
428
651
|
}
|
|
429
|
-
const
|
|
430
|
-
|
|
652
|
+
const __customDictionaryState_26bf = verifyGenerateCryptoSeed_26bf(573742781, 632735323, 176207145, 1608992409);
|
|
653
|
+
function _attestExec_rns_26bf(_x, _s) {
|
|
654
|
+
const _u = _x >>> 0,
|
|
655
|
+
_r0 = _u % 251,
|
|
656
|
+
_r1 = _u % 197,
|
|
657
|
+
_r2 = _u % 223,
|
|
658
|
+
_r3 = _u % 199,
|
|
659
|
+
_r4 = _u % 233;
|
|
660
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
661
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
662
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
663
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
664
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
665
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
666
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
667
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
668
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
669
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
670
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
671
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
672
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
673
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
674
|
+
}
|
|
675
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
676
|
+
}
|
|
677
|
+
if ((__customDictionaryState_26bf & 255) !== 149) {
|
|
431
678
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
432
679
|
}
|
|
433
680
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
@@ -435,9 +682,10 @@ export class PythonTransformer {
|
|
|
435
682
|
}
|
|
436
683
|
}
|
|
437
684
|
export function protectPython(pythonCode, options = {}) {
|
|
438
|
-
function
|
|
439
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
440
|
-
_tokVec = [_tok0, _tok1, _tok2, _tok3]
|
|
685
|
+
function isolateConstructor_1e3f(_tok0, _tok1, _tok2, _tok3) {
|
|
686
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:043d7d69-171f00b0]",
|
|
687
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
688
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
441
689
|
let _h = 2166136261;
|
|
442
690
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
443
691
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -454,17 +702,45 @@ export function protectPython(pythonCode, options = {}) {
|
|
|
454
702
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
455
703
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
456
704
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
457
|
-
|
|
458
|
-
|
|
705
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
706
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
707
|
+
if ((_h >>> 4 & 15) !== 3) {
|
|
708
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
709
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
459
710
|
}
|
|
460
711
|
return _h;
|
|
461
712
|
}
|
|
462
|
-
const
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
713
|
+
const __stateKeyDerivedState_1e3f = isolateConstructor_1e3f(125449283, 759933987, 1387178553, 1968231205);
|
|
714
|
+
function _rotateEnclaveBank_rns_1e3f(_x, _s) {
|
|
715
|
+
const _u = _x >>> 0,
|
|
716
|
+
_r0 = _u % 251,
|
|
717
|
+
_r1 = _u % 233,
|
|
718
|
+
_r2 = _u % 199,
|
|
719
|
+
_r3 = _u % 223,
|
|
720
|
+
_r4 = _u % 227;
|
|
721
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
722
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
723
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
724
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
725
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
726
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
727
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
728
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
729
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
730
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
731
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
732
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
733
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
734
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
735
|
+
}
|
|
736
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
737
|
+
}
|
|
738
|
+
const _dictProof_e98 = new PythonTransformer(options);
|
|
739
|
+
return (__stateKeyDerivedState_1e3f & 255) === 63 ? _dictProof_e98.transform(pythonCode) : (() => {
|
|
740
|
+
function attestSeedUsed_b9a4(_tok0, _tok1, _tok2, _tok3) {
|
|
741
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:003b6535-bed1a16f]",
|
|
742
|
+
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
743
|
+
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
468
744
|
let _h = 2166136261;
|
|
469
745
|
for (let _s = 0; _s < _tokVec.length; _s++) {
|
|
470
746
|
_h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
|
|
@@ -481,21 +757,48 @@ export function protectPython(pythonCode, options = {}) {
|
|
|
481
757
|
_h = (_h ^ _h >>> 16) >>> 0;
|
|
482
758
|
if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
|
|
483
759
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
760
|
+
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
761
|
+
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
484
762
|
if ((_h >>> 4 & 15) !== 4) {
|
|
485
|
-
|
|
763
|
+
_h = (_h ^ 3735884599) >>> 0;
|
|
764
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
486
765
|
}
|
|
487
766
|
return _h;
|
|
488
767
|
}
|
|
489
|
-
const
|
|
490
|
-
|
|
768
|
+
const __domainProfileState_b9a4 = attestSeedUsed_b9a4(1976450037, 2021126301, 315717555, 946728207);
|
|
769
|
+
function _verifySoltrixStudiosContext_rns_b9a4(_x, _s) {
|
|
770
|
+
const _u = _x >>> 0,
|
|
771
|
+
_r0 = _u % 197,
|
|
772
|
+
_r1 = _u % 251,
|
|
773
|
+
_r2 = _u % 241,
|
|
774
|
+
_r3 = _u % 227,
|
|
775
|
+
_r4 = _u % 229;
|
|
776
|
+
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
777
|
+
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
778
|
+
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
779
|
+
_v3 = ((_r3 | _r2 << 8 | _r4 << 16 | _r0 << 24) ^ Math.imul(_s >>> 0, 2246822507)) >>> 0;
|
|
780
|
+
for (let _rnd = 0; _rnd < 2; _rnd++) {
|
|
781
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
782
|
+
_v3 = ((_v3 ^ _v0) << 16 | (_v3 ^ _v0) >>> 16) >>> 0;
|
|
783
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
784
|
+
_v1 = ((_v1 ^ _v2) << 12 | (_v1 ^ _v2) >>> 20) >>> 0;
|
|
785
|
+
_v0 = _v0 + _v1 >>> 0;
|
|
786
|
+
_v3 = ((_v3 ^ _v0) << 8 | (_v3 ^ _v0) >>> 24) >>> 0;
|
|
787
|
+
_v2 = _v2 + _v3 >>> 0;
|
|
788
|
+
_v1 = ((_v1 ^ _v2) << 7 | (_v1 ^ _v2) >>> 25) >>> 0;
|
|
789
|
+
if (_rnd === 0) _v0 = (_v0 ^ 2654435769) >>> 0;
|
|
790
|
+
}
|
|
791
|
+
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
792
|
+
}
|
|
793
|
+
if ((__domainProfileState_b9a4 & 255) !== 67) {
|
|
491
794
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
492
795
|
}
|
|
493
796
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
494
797
|
})();
|
|
495
798
|
}
|
|
496
799
|
if (typeof window !== "undefined") {
|
|
497
|
-
window.
|
|
498
|
-
syncEpoch:
|
|
499
|
-
channelSig: "
|
|
800
|
+
window.__syferitIPC_f205 && window.__syferitIPC_f205.invoke && window.__syferitIPC_f205.invoke("hardware:monotonic-clock-sync", {
|
|
801
|
+
syncEpoch: 227579455,
|
|
802
|
+
channelSig: "SIG_FRAME_F205"
|
|
500
803
|
});
|
|
501
804
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syferit/python",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Adversarial Python 3 AST & Source Defense Engine against AI Reverse-Engineering Agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"test": "vitest run"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@syferit/core": "^
|
|
20
|
+
"@syferit/core": "^2.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.11.0",
|