@syferit/python 0.4.5 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]
1
+ // [Protected by Soltrix Studios | Syferit Code Defense Engine | https://syferit.soltrixstudios.com]
2
2
  import type { SyferitOptions } from '@syferit/core';
3
3
  export interface PythonProtectionOptions extends SyferitOptions {
4
4
  encryptStrings?: boolean;
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import { SeededPRNG, MBASynthesizer, buildPolymorphicDictionary } from '@syferit/core';
1
+ import { SeededPRNG, WasmMathCore, buildPolymorphicDictionary } from '@syferit/core';
2
2
  export class PythonTransformer {
3
3
  options;
4
4
  prng;
5
- mba;
5
+ mathCore;
6
6
  seed;
7
7
  constructor(options = {}) {
8
8
  this.options = options;
9
9
  this.seed = typeof options.seed === 'number' ? options.seed : typeof options.seed === 'string' && options.seed.trim() !== '' ? SeededPRNG.hashString(options.seed) : SeededPRNG.generateCryptoSeed();
10
10
  this.prng = new SeededPRNG(this.seed);
11
- this.mba = new MBASynthesizer(this.prng);
11
+ this.mathCore = WasmMathCore.getInstance();
12
12
  }
13
13
  transform(pythonCode) {
14
- function isolateKeyDerivationStateBitmask_5b8f(_tok0, _tok1, _tok2, _tok3) {
15
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:73e91145-0fc10756]",
14
+ function attestKeystoreBank_77ec(_tok0, _tok1, _tok2, _tok3) {
15
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:03022d1c-d3459b62]",
16
16
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
17
17
  let _h = 2166136261;
18
18
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -30,73 +30,98 @@ export class PythonTransformer {
30
30
  _h = (_h ^ _h >>> 16) >>> 0;
31
31
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
32
32
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
33
- if ((_h >>> 4 & 15) !== 2) {
34
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
33
+ if ((_h >>> 4 & 15) !== 4) {
34
+ throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
35
35
  }
36
36
  return _h;
37
37
  }
38
- const __tpmPcrBankSequence_5b8f = isolateKeyDerivationStateBitmask_5b8f(483541637, 1072088557, 2045474779, 599884757);
39
- const _defRegexProof_5b8f = [[77, 248, 105, 105, 221, 92, 251, 198, 57, 205, 93, 65, 133, 38, 163, 165], [41, 222, 89, 79, 141, 32, 179, 211, 16, 141, 35], [20, 137, 36, 60, 89, 69, 220, 211, 197, 59, 35, 4, 90, 238, 121, 104, 182], [228, 100, 24, 7], [218, 67, 238, 234, 15, 143, 6, 29, 187, 97, 153, 178, 12, 148, 51, 54, 120], [132, 33, 160, 210, 20, 149, 50, 13, 96, 4, 132, 138, 252, 127, 26, 30]];
40
- function _rotateSgxBoundaryProof_5b8f(_slot) {
41
- const _row = _defRegexProof_5b8f[_slot];
42
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__tpmPcrBankSequence_5b8f >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
38
+ const __certificateDigest_77ec = attestKeystoreBank_77ec(1891598057, 459073203, 1288212413, 958740605);
39
+ const _lengthDigest_77ec = [[50, 149, 163, 106, 176], [2, 126, 145, 78, 150, 192, 11, 210, 235, 45, 123], [232, 47, 97, 32, 115, 189, 193, 138, 208, 13, 107, 8, 53, 147], [195, 4, 80, 6], [176, 228, 34, 255, 27, 110, 152, 71, 142, 215], [137, 204, 26, 211, 235]];
40
+ function _rotateTransform_77ec(_slot) {
41
+ const _row = _lengthDigest_77ec[_slot];
42
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__certificateDigest_77ec >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
43
43
  }
44
- if (this.options.mode === _rotateSgxBoundaryProof_5b8f(25099 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 4899)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 93 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 93 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 93 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 93 | 1)) & 15 ^ (__tpmPcrBankSequence_5b8f >>> 5 & 255 ^ 176)) === 60) {
44
+ if (this.options.mode === _rotateTransform_77ec(935875200 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 29633, 22497)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 89 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 89 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 89 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 89 | 1)) & 15 ^ (__certificateDigest_77ec >>> 12 & 255 ^ 43)) === 163) {
45
45
  return {
46
46
  code: pythonCode,
47
- transformedCount: (29112 ^ __tpmPcrBankSequence_5b8f & 65535) / (38408 ^ __tpmPcrBankSequence_5b8f >>> 16 & 65535),
47
+ transformedCount: (54119 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535),
48
48
  seedUsed: this.seed,
49
49
  inoculationInjected: false,
50
- stateKeyDerived: (29112 ^ __tpmPcrBankSequence_5b8f & 65535) / (38408 ^ __tpmPcrBankSequence_5b8f >>> 16 & 65535)
50
+ stateKeyDerived: (53699 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535)
51
51
  };
52
- } else if (this.options.mode === _rotateSgxBoundaryProof_5b8f(28281 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 8016)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 99 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 99 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 99 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 99 | 1)) & 15 ^ (__tpmPcrBankSequence_5b8f >>> 1 & 255 ^ 92)) === 201) {
52
+ } else if (this.options.mode === _rotateTransform_77ec(678552995 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 12059, 10421)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 76 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 76 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 76 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 76 | 1)) & 15 ^ (__certificateDigest_77ec >>> 5 & 255 ^ 156)) === 23) {
53
53
  return {
54
54
  code: pythonCode,
55
- transformedCount: 21519 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 9511),
55
+ transformedCount: 973776855 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 7308, 18483),
56
56
  seedUsed: this.seed,
57
57
  inoculationInjected: false,
58
- stateKeyDerived: 15087 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 19399)
58
+ stateKeyDerived: 1109610615 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 18042, 28661)
59
59
  };
60
- } else if (this.options.mode === _rotateSgxBoundaryProof_5b8f(13039 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 17349)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 69 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 69 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 69 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 69 | 1)) & 15 ^ (__tpmPcrBankSequence_5b8f >>> 21 & 255 ^ 106)) === 211) {
60
+ } else if (this.options.mode === _rotateTransform_77ec(764386309 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 32146, 17277)) && (Math.imul(Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 113 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 113 | 1), Math.imul(((pythonCode.seats || pythonCode | 0) | 0) ^ 113 | 1, ((pythonCode.seats || pythonCode | 0) | 0) ^ 113 | 1)) & 15 ^ (__certificateDigest_77ec >>> 7 & 255 ^ 124)) === 211) {
61
61
  return {
62
62
  code: pythonCode,
63
- transformedCount: (28710 ^ __tpmPcrBankSequence_5b8f & 65535) / (38408 ^ __tpmPcrBankSequence_5b8f >>> 16 & 65535),
63
+ transformedCount: (53699 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535),
64
64
  seedUsed: this.seed,
65
65
  inoculationInjected: false,
66
- stateKeyDerived: (28710 ^ __tpmPcrBankSequence_5b8f & 65535) / (38408 ^ __tpmPcrBankSequence_5b8f >>> 16 & 65535)
66
+ stateKeyDerived: (53299 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535)
67
67
  };
68
68
  }
69
- const _generateCryptoSeedProof_d97 = [];
70
- const _tpmUnsealOffset_770 = /\bdef\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
71
- let _sgxEcallCounter_e40;
72
- while ((_sgxEcallCounter_e40 = _tpmUnsealOffset_770.exec(pythonCode)) !== null) {
73
- if (_sgxEcallCounter_e40[32670 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 3767)] && _sgxEcallCounter_e40[18454 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 14655)].length >= (15444 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 19832)) && !_sgxEcallCounter_e40[21978 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 9459)].startsWith('__')) {
74
- _generateCryptoSeedProof_d97.push(_sgxEcallCounter_e40[6449 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 26648)]);
69
+ const _hashStringEnvelope_414 = [];
70
+ const _enclaveVector_5bf = /\bdef\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
71
+ let _startsWithAttestation_100;
72
+ while ((_startsWithAttestation_100 = _enclaveVector_5bf.exec(pythonCode)) !== null) {
73
+ if (_startsWithAttestation_100[1770388881 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 2545, 31915)] && _startsWithAttestation_100[877443285 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 14789, 14741)].length >= (882455731 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 28494, 18137)) && !_startsWithAttestation_100[1176869821 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 31517, 26985)].startsWith('__')) {
74
+ _hashStringEnvelope_414.push(_startsWithAttestation_100[1446131611 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 14759, 24255)]);
75
75
  }
76
76
  }
77
- const _modeSequence_cb4 = buildPolymorphicDictionary(this.options.domainProfile ?? _rotateSgxBoundaryProof_5b8f(19265 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 14954)), this.prng, _generateCryptoSeedProof_d97, this.options.customDictionary ?? []);
78
- const _defRegexProof_177 = this.prng.pick(_modeSequence_cb4.legalInoculations);
79
- const _trimEnvelope_74f = `${this.prng.nextUint32().toString(23822 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 11318)).padStart(12784 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 16592), '0')}-${this.prng.nextUint32().toString(22235 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 10211)).padStart(23465 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 10889), '0')}`;
80
- const _seedUsedSequence_851 = `${_defRegexProof_177} [ATTESTATION_ID:${_trimEnvelope_74f}]`;
81
- const _keyDerivationStateBitmask_207 = (this.prng.nextUint32() & (62137 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 31854))).toString(26981 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 6237));
82
- const _enclaveDigestAttestation_147 = `_${this.prng.pick(_modeSequence_cb4.stateKeys).replace(/^_+/, '')}_attestation_${_keyDerivationStateBitmask_207}`;
83
- const _entropyNonceBitmask_f4d = `_${this.prng.pick(_modeSequence_cb4.symbols)}_${_keyDerivationStateBitmask_207}`;
84
- const _hmacFrameIntegrity_3a0 = `_${this.prng.pick(_modeSequence_cb4.stateKeys).replace(/^_+/, '')}_${_keyDerivationStateBitmask_207}`;
85
- const _tpmPcrBankSequence_ff2 = `_enclave_matrix_${_keyDerivationStateBitmask_207}`;
86
- const _prngVector_623 = `_unseal_slot_${_keyDerivationStateBitmask_207}`;
87
- const _hashStringAttestation_b9e = `_verify_quorum_${_keyDerivationStateBitmask_207}`;
88
- const _hkdfSaltRotation_1bb = `_fold_carry_${_keyDerivationStateBitmask_207}`;
89
- const _monotonicNonceDrift_826 = `_${this.prng.pick(_modeSequence_cb4.symbols)}_decoy_${_keyDerivationStateBitmask_207}`;
90
- const _ProprietaryEnclaveDelta_504 = [this.prng.nextUint32() & 2147483646 + ((__tpmPcrBankSequence_5b8f & 255) - 40) | 30013 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 1044), this.prng.nextUint32() & 2147483646 + ((__tpmPcrBankSequence_5b8f & 255) - 40) | 24259 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 12266), this.prng.nextUint32() & 2147483646 + ((__tpmPcrBankSequence_5b8f & 255) - 40) | 31457 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 3016), this.prng.nextUint32() & 2147483646 + ((__tpmPcrBankSequence_5b8f & 255) - 40) | 29747 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 1306)];
91
- const _stateKeyDerivedIntegrity_39f = this.mba.computeStringKey(_seedUsedSequence_851, _ProprietaryEnclaveDelta_504);
92
- const _transformedCountProof_b79 = _stateKeyDerivedIntegrity_39f >>> (18739 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 14367)) & (21989 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 9410));
93
- const _ringBufferBitmask_b46 = this.prng.pick(_modeSequence_cb4.assertions);
94
- const _inoculationInjectedEnvelope_e37 = [];
95
- const _keyDerivationStateAttestation_d4b = rawStr => {
96
- const entryIdx = _inoculationInjectedEnvelope_e37.length;
97
- const encryptedBytes = rawStr.split('').map((ch, charIdx) => {
98
- function auditConstructor_3924(_tok0, _tok1, _tok2, _tok3) {
99
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:9718d5dd-83f63861]",
77
+ const _codeCheck_4e9 = buildPolymorphicDictionary(this.options.domainProfile ?? _rotateTransform_77ec(550416765 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13283, 9487)), this.prng, _hashStringEnvelope_414, this.options.customDictionary ?? []);
78
+ const _certificateBank_265 = this.prng.pick(_codeCheck_4e9.legalInoculations);
79
+ const _SyferitEngineDelta_f54 = `${this.prng.nextUint32().toString(432144241 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 32324, 9645)).padStart(443526940 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 18541, 11311), '0')}-${this.prng.nextUint32().toString(239575219 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 4072, 4203)).padStart(701602212 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 16205, 11513), '0')}`;
80
+ const _trimBank_f3 = `${_certificateBank_265} [ATTESTATION_ID:${_SyferitEngineDelta_f54}]`;
81
+ const _inoculationInjectedDigest_e92 = (this.prng.nextUint32() & (756881215 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22529, 21543))).toString(491741928 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 16585, 13199));
82
+ const _dictProof_42b = `_${this.prng.pick(_codeCheck_4e9.stateKeys).replace(/^_+/, '')}_attestation_${_inoculationInjectedDigest_e92}`;
83
+ const _WasmMathCoreProof_abb = `_${this.prng.pick(_codeCheck_4e9.symbols)}_${_inoculationInjectedDigest_e92}`;
84
+ const _tokenAttestation_1d6 = `_${this.prng.pick(_codeCheck_4e9.stateKeys).replace(/^_+/, '')}_${_inoculationInjectedDigest_e92}`;
85
+ const _nonceScalar_651 = `_enclave_matrix_${_inoculationInjectedDigest_e92}`;
86
+ const _transformedCountEnvelope_f3e = `_unseal_slot_${_inoculationInjectedDigest_e92}`;
87
+ const _defRegexCheck_10c = `_verify_quorum_${_inoculationInjectedDigest_e92}`;
88
+ const _quorumFrame_653 = `_fold_carry_${_inoculationInjectedDigest_e92}`;
89
+ const _tpmCheck_f1d = `_${this.prng.pick(_codeCheck_4e9.symbols)}_decoy_${_inoculationInjectedDigest_e92}`;
90
+ const _SoltrixStudiosDelta_eb6 = [this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 907405465 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22745, 25761), this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 1111791500 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 26874, 23383), this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 1177308292 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 1112, 21581), this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 274532224 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 24976, 6065)];
91
+ const _mathCoreCheck_5ee = this.mathCore.computeStringKey(_trimBank_f3, _SoltrixStudiosDelta_eb6);
92
+ const _certificateDigest_d7f = _mathCoreCheck_5ee >>> (1675622336 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 12285, 25695)) & (1157010797 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 18647, 29427));
93
+ const _prngFrame_eb1 = this.prng.pick(_codeCheck_4e9.assertions);
94
+ const _constructorProof_221 = [];
95
+ const _quorumDigest_598 = rawStr => {
96
+ function reconcileKeystoreQuorum_4558(_tok0, _tok1, _tok2, _tok3) {
97
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:8b8b49d8-f938b3f2]",
98
+ _tokVec = [_tok0, _tok1, _tok2, _tok3];
99
+ let _h = 2166136261;
100
+ for (let _s = 0; _s < _tokVec.length; _s++) {
101
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
102
+ _h = Math.imul(_h, 16777619) >>> 0;
103
+ _h ^= _h >>> 13;
104
+ }
105
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
106
+ _h ^= _legalAttestation.charCodeAt(_i);
107
+ _h = Math.imul(_h, 16777619) >>> 0;
108
+ _h ^= _h >>> 13;
109
+ }
110
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
111
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
112
+ _h = (_h ^ _h >>> 16) >>> 0;
113
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
114
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
115
+ if ((_h >>> 4 & 15) !== 9) {
116
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
117
+ }
118
+ return _h;
119
+ }
120
+ const __nonceProof_4558 = reconcileKeystoreQuorum_4558(160385991, 1100360389, 982020985, 563855957);
121
+ const _defRegexCheck_f69 = _constructorProof_221.length;
122
+ const _SyferitEngineDelta_38d = rawStr.split('').map((ch, charIdx) => {
123
+ function sanitizeGenerateCryptoSeed_88a2(_tok0, _tok1, _tok2, _tok3) {
124
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:3e6e9bdd-cd81a55c]",
100
125
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
101
126
  let _h = 2166136261;
102
127
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -114,95 +139,171 @@ export class PythonTransformer {
114
139
  _h = (_h ^ _h >>> 16) >>> 0;
115
140
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
116
141
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
117
- if ((_h >>> 4 & 15) !== 7) {
118
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
142
+ if ((_h >>> 4 & 15) !== 15) {
143
+ throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
119
144
  }
120
145
  return _h;
121
146
  }
122
- const __sgxBoundaryIntegrity_3924 = auditConstructor_3924(1450533051, 1158531527, 2137594069, 1616792809);
123
- const _MBASynthesizerProof_5bf = (_stateKeyDerivedIntegrity_39f >>> (charIdx & (17049 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 13234))) * (32076 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 3180))) + Math.imul(charIdx + entryIdx, 27321 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 7092)) & (27683 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 7668));
124
- return (__sgxBoundaryIntegrity_3924 & 255) === 123 ? (ch.charCodeAt(29648 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 760)) ^ _MBASynthesizerProof_5bf) & (18411 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 13884)) : (() => {
147
+ const __tpmCheck_88a2 = sanitizeGenerateCryptoSeed_88a2(181582889, 1849387051, 1585548903, 1947008499);
148
+ const _dictProof_163 = (_mathCoreCheck_5ee >>> (charIdx & (1008980362 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 32174, 22791))) * (665531777 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13184, 11465))) + Math.imul(charIdx + _defRegexCheck_f69, 1592895139 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 7099, 30655)) & (912209748 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 19084, 22871));
149
+ return (__tpmCheck_88a2 & 255) === 249 ? (ch.charCodeAt(1684256328 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13801, 28773)) ^ _dictProof_163) & (535001949 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 9003, 8621)) : (() => {
150
+ function verifyCustomDictionary_4b19(_tok0, _tok1, _tok2, _tok3) {
151
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:24d76fb9-0d5eb9b7]",
152
+ _tokVec = [_tok0, _tok1, _tok2, _tok3];
153
+ let _h = 2166136261;
154
+ for (let _s = 0; _s < _tokVec.length; _s++) {
155
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
156
+ _h = Math.imul(_h, 16777619) >>> 0;
157
+ _h ^= _h >>> 13;
158
+ }
159
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
160
+ _h ^= _legalAttestation.charCodeAt(_i);
161
+ _h = Math.imul(_h, 16777619) >>> 0;
162
+ _h ^= _h >>> 13;
163
+ }
164
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
165
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
166
+ _h = (_h ^ _h >>> 16) >>> 0;
167
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
168
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
169
+ if ((_h >>> 4 & 15) !== 5) {
170
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
171
+ }
172
+ return _h;
173
+ }
174
+ const __lengthState_4b19 = verifyCustomDictionary_4b19(1434262037, 1157882951, 943318519, 275021773);
175
+ if ((__lengthState_4b19 & 255) !== 82) {
176
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
177
+ }
125
178
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
126
179
  })();
127
180
  });
128
- _inoculationInjectedEnvelope_e37.push(encryptedBytes);
129
- const mask = _stateKeyDerivedIntegrity_39f & (42884 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 10579)) ^ this.prng.nextRange(26866 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 6362), 30767 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 30456));
130
- const encodedIdx = entryIdx ^ mask;
131
- const recoverMask = mask ^ _stateKeyDerivedIntegrity_39f & (44638 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 8329));
132
- return `${_prngVector_623}(${encodedIdx} ^ ((${_hmacFrameIntegrity_3a0} & 0xFFFF) ^ ${recoverMask}), ${_hmacFrameIntegrity_3a0})`;
181
+ _constructorProof_221.push(_SyferitEngineDelta_38d);
182
+ const _tpmProof_951 = _mathCoreCheck_5ee & (1723655680 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 15204, 28755)) ^ this.prng.nextRange(1415975525 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 6582, 27523), 1160840448 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 10466, 18165));
183
+ const _generateCryptoSeedVector_1b3 = _defRegexCheck_f69 ^ _tpmProof_951;
184
+ const _customDictionaryProof_c26 = _tpmProof_951 ^ _mathCoreCheck_5ee & (1284347819 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 4445, 26115));
185
+ return (__nonceProof_4558 & 255) === 150 ? `${_transformedCountEnvelope_f3e}(${_generateCryptoSeedVector_1b3} ^ ((${_tokenAttestation_1d6} & 0xFFFF) ^ ${_customDictionaryProof_c26}), ${_tokenAttestation_1d6})` : (() => {
186
+ function validateTpmProof_4662(_tok0, _tok1, _tok2, _tok3) {
187
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:6174775c-2ba5dd36]",
188
+ _tokVec = [_tok0, _tok1, _tok2, _tok3];
189
+ let _h = 2166136261;
190
+ for (let _s = 0; _s < _tokVec.length; _s++) {
191
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
192
+ _h = Math.imul(_h, 16777619) >>> 0;
193
+ _h ^= _h >>> 13;
194
+ }
195
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
196
+ _h ^= _legalAttestation.charCodeAt(_i);
197
+ _h = Math.imul(_h, 16777619) >>> 0;
198
+ _h ^= _h >>> 13;
199
+ }
200
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
201
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
202
+ _h = (_h ^ _h >>> 16) >>> 0;
203
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
204
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
205
+ if ((_h >>> 4 & 15) !== 3) {
206
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
207
+ }
208
+ return _h;
209
+ }
210
+ const __PythonTransformerState_4662 = validateTpmProof_4662(1500975095, 1687122573, 223019997, 190389323);
211
+ if ((__PythonTransformerState_4662 & 255) !== 49) {
212
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
213
+ }
214
+ throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
215
+ })();
133
216
  };
134
- let _enclaveDigestVector_39 = 10861 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 23365);
135
- const _constructorVector_dbe = pythonCode.split(/\r?\n/);
136
- const _sgxBoundaryProof_961 = [];
137
- let _harvestedSequence_3c1 = 15601 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 19929);
138
- while (_harvestedSequence_3c1 < _constructorVector_dbe.length && (/^\s*#!/.test(_constructorVector_dbe[_harvestedSequence_3c1]) || /^\s*#\s*-\*-/.test(_constructorVector_dbe[_harvestedSequence_3c1]) || /^\s*from\s+__future__\s+import\b/.test(_constructorVector_dbe[_harvestedSequence_3c1]) || /^\s*$/.test(_constructorVector_dbe[_harvestedSequence_3c1]))) {
139
- _harvestedSequence_3c1++;
217
+ let _tokenBank_fe8 = 578541019 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 11664, 8939);
218
+ const _ProprietaryEnclaveDelta_220 = pythonCode.split(/\r?\n/);
219
+ const _customDictionaryProof_e16 = [];
220
+ let _SeededPRNGBank_9c4 = -(1070688394 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 2504, 19315));
221
+ let _harvestedCheck_f2 = 981399438 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 27407, 20577);
222
+ while (_harvestedCheck_f2 < _ProprietaryEnclaveDelta_220.length && (/^\s*#!/.test(_ProprietaryEnclaveDelta_220[_harvestedCheck_f2]) || /^\s*#\s*-\*-/.test(_ProprietaryEnclaveDelta_220[_harvestedCheck_f2]) || /^\s*from\s+__future__\s+import\b/.test(_ProprietaryEnclaveDelta_220[_harvestedCheck_f2]) || /^\s*$/.test(_ProprietaryEnclaveDelta_220[_harvestedCheck_f2]))) {
223
+ _harvestedCheck_f2++;
140
224
  }
141
- if (_harvestedSequence_3c1 < _constructorVector_dbe.length && /^\s*("""|''')/.test(_constructorVector_dbe[_harvestedSequence_3c1])) {
142
- const quoteType = _constructorVector_dbe[_harvestedSequence_3c1].match(/^\s*("""|''')/)[9632 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 21641)];
143
- const trimmedFirst = _constructorVector_dbe[_harvestedSequence_3c1].trim();
144
- _constructorVector_dbe[_harvestedSequence_3c1] = '';
145
- if (!trimmedFirst.slice(32143 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 3236)).includes(quoteType)) {
146
- _harvestedSequence_3c1++;
147
- while (_harvestedSequence_3c1 < _constructorVector_dbe.length) {
148
- const cur = _constructorVector_dbe[_harvestedSequence_3c1];
149
- _constructorVector_dbe[_harvestedSequence_3c1] = '';
225
+ if (_harvestedCheck_f2 < _ProprietaryEnclaveDelta_220.length && /^\s*("""|''')/.test(_ProprietaryEnclaveDelta_220[_harvestedCheck_f2])) {
226
+ const quoteType = _ProprietaryEnclaveDelta_220[_harvestedCheck_f2].match(/^\s*("""|''')/)[359718994 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 10944, 5587)];
227
+ const trimmedFirst = _ProprietaryEnclaveDelta_220[_harvestedCheck_f2].trim();
228
+ _ProprietaryEnclaveDelta_220[_harvestedCheck_f2] = '';
229
+ if (!trimmedFirst.slice(460741037 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 27787, 9483)).includes(quoteType)) {
230
+ _harvestedCheck_f2++;
231
+ while (_harvestedCheck_f2 < _ProprietaryEnclaveDelta_220.length) {
232
+ const cur = _ProprietaryEnclaveDelta_220[_harvestedCheck_f2];
233
+ _ProprietaryEnclaveDelta_220[_harvestedCheck_f2] = '';
150
234
  if (cur.includes(quoteType)) break;
151
- _harvestedSequence_3c1++;
235
+ _harvestedCheck_f2++;
152
236
  }
153
237
  }
154
238
  }
155
- for (let i = 1801 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 30241); i < _constructorVector_dbe.length; i++) {
156
- let line = _constructorVector_dbe[i];
239
+ for (let i = 292721359 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22392, 8519); i < _ProprietaryEnclaveDelta_220.length; i++) {
240
+ let line = _ProprietaryEnclaveDelta_220[i];
157
241
  if (/^\s*#/.test(line) && !/^\s*#!/.test(line) && !/^\s*#\s*-\*-/.test(line)) {
158
242
  continue;
159
243
  }
160
244
  if (line.includes('#') && !/^\s*#!/.test(line) && !/^\s*#\s*-\*-/.test(line)) {
161
245
  let inSingle = false;
162
246
  let inDouble = false;
163
- for (let c = 24629 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 4381); c < line.length; c++) {
247
+ for (let c = 1425953829 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 2002, 25959); c < line.length; c++) {
164
248
  const ch = line[c];
165
- if (ch === "'" && !inDouble && line[c - (14328 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 18129))] !== '\\') inSingle = !inSingle;else if (ch === '"' && !inSingle && line[c - (4597 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 24796))] !== '\\') inDouble = !inDouble;else if (ch === '#' && !inSingle && !inDouble) {
166
- line = line.slice(20476 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 16084), c).trimEnd();
249
+ if (ch === "'" && !inDouble && line[c - (1551155889 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 15793, 25573))] !== '\\') inSingle = !inSingle;else if (ch === '"' && !inSingle && line[c - (1010599171 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 23659, 27965))] !== '\\') inDouble = !inDouble;else if (ch === '#' && !inSingle && !inDouble) {
250
+ line = line.slice(412878270 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22191, 11865), c).trimEnd();
167
251
  break;
168
252
  }
169
253
  }
170
254
  }
171
255
  const defMatch = line.match(/^(\s*)def\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(([^)]*)\)(\s*(?:->\s*[^:]+)?):(\s*)$/);
172
256
  if (defMatch) {
173
- _enclaveDigestVector_39++;
174
- const defIndent = defMatch[15834 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 19699)];
257
+ _tokenBank_fe8++;
258
+ const defIndent = defMatch[740944279 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 1087, 13557)];
259
+ _SeededPRNGBank_9c4 = defIndent.length;
175
260
  const bodyIndent = `${defIndent} `;
176
- _sgxBoundaryProof_961.push(line);
177
- while (i + (23687 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 11694)) < _constructorVector_dbe.length && /^\s*$/.test(_constructorVector_dbe[i + (17911 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 13534))])) {
261
+ _customDictionaryProof_e16.push(line);
262
+ while (i + (1144698985 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 12441, 19799)) < _ProprietaryEnclaveDelta_220.length && /^\s*$/.test(_ProprietaryEnclaveDelta_220[i + (251311633 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 30257, 5863))])) {
178
263
  i++;
179
264
  }
180
- if (i + (26943 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 6166)) < _constructorVector_dbe.length && /^\s*("""|''')/.test(_constructorVector_dbe[i + (26082 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 5323))])) {
181
- const quoteType = _constructorVector_dbe[i + (21762 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 9259))].match(/^\s*("""|''')/)[31633 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 2744)];
265
+ if (i + (1139754637 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 29677, 27369)) < _ProprietaryEnclaveDelta_220.length && /^\s*("""|''')/.test(_ProprietaryEnclaveDelta_220[i + (1181284613 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 25501, 25799))])) {
266
+ const quoteType = _ProprietaryEnclaveDelta_220[i + (731299824 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22104, 21145))].match(/^\s*("""|''')/)[1268183253 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 9181, 20419)];
182
267
  i++;
183
- const trimmedDoc = _constructorVector_dbe[i].trim();
184
- if (!trimmedDoc.slice(11954 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 24473)).includes(quoteType)) {
185
- while (i + (23963 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 11442)) < _constructorVector_dbe.length) {
268
+ const trimmedDoc = _ProprietaryEnclaveDelta_220[i].trim();
269
+ if (!trimmedDoc.slice(414652445 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 11395, 6383)).includes(quoteType)) {
270
+ while (i + (1090723527 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13459, 18539)) < _ProprietaryEnclaveDelta_220.length) {
186
271
  i++;
187
- if (_constructorVector_dbe[i].includes(quoteType)) break;
272
+ if (_ProprietaryEnclaveDelta_220[i].includes(quoteType)) break;
188
273
  }
189
274
  }
190
275
  }
191
- const mask = this.prng.nextUint32() & 2147483646 + ((__tpmPcrBankSequence_5b8f & 255) - 40) | 31606 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 2655);
192
- const c1 = (19203 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 14890) ^ mask) >>> (6006 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 26206));
193
- const c2 = (mask ^ _stateKeyDerivedIntegrity_39f) >>> (19794 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 15482));
194
- _sgxBoundaryProof_961.push(`${bodyIndent}${_hmacFrameIntegrity_3a0} = ${_entropyNonceBitmask_f4d}(${_ProprietaryEnclaveDelta_504[32722 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 3834)]}, ${_ProprietaryEnclaveDelta_504[23733 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 11676)]}, ${_ProprietaryEnclaveDelta_504[24144 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 12154)]}, ${_ProprietaryEnclaveDelta_504[11422 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 23989)]})`);
195
- _sgxBoundaryProof_961.push(`${bodyIndent}if not ${_hashStringAttestation_b9e}(${_hmacFrameIntegrity_3a0}, ${c1}, ${c2}): return ${_monotonicNonceDrift_826}(${_hmacFrameIntegrity_3a0})`);
276
+ const mask = this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 1542120555 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 6727, 29671);
277
+ const c1 = (327194209 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 5089, 6567) ^ mask) >>> (528526456 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 23625, 14639));
278
+ const c2 = (mask ^ _mathCoreCheck_5ee) >>> (647579628 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 10061, 10281));
279
+ _customDictionaryProof_e16.push(`${bodyIndent}${_tokenAttestation_1d6} = ${_WasmMathCoreProof_abb}(${_SoltrixStudiosDelta_eb6[540229653 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 8180, 10209)]}, ${_SoltrixStudiosDelta_eb6[1311493417 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 26537, 28009)]}, ${_SoltrixStudiosDelta_eb6[1030301688 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 3335, 18271)]}, ${_SoltrixStudiosDelta_eb6[410577938 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 7214, 7807)]})`);
280
+ _customDictionaryProof_e16.push(`${bodyIndent}if not ${_defRegexCheck_10c}(${_tokenAttestation_1d6}, ${c1}, ${c2}): return ${_tpmCheck_f1d}(${_tokenAttestation_1d6})`);
196
281
  continue;
197
282
  }
198
- if (_enclaveDigestVector_39 > (25979 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 5203)) && /^\s{4,}\S/.test(line) && !/^\s*#/.test(line) && !/^\s*@/.test(line)) {
283
+ if (line.trim().length > (306818559 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 28680, 7431)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 105 | 1, (line.trim().length | 0) ^ 105 | 1), Math.imul((line.trim().length | 0) ^ 105 | 1, (line.trim().length | 0) ^ 105 | 1)) & 15 ^ (__certificateDigest_77ec >>> 16 & 255 ^ 48)) === 79) {
284
+ const indent = line.match(/^(\s*)/)[(53671 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535)].length;
285
+ if (indent <= _SeededPRNGBank_9c4) {
286
+ _SeededPRNGBank_9c4 = -((53671 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535));
287
+ }
288
+ } else if (line.trim().length > (572268060 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 21885, 16905)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 50 | 1, (line.trim().length | 0) ^ 50 | 1), Math.imul((line.trim().length | 0) ^ 50 | 1, (line.trim().length | 0) ^ 50 | 1)) & 15 ^ (__certificateDigest_77ec >>> 4 & 255 ^ 116)) === 97) {
289
+ const indent = line.match(/^(\s*)/)[583074625 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 16513, 15627)].length;
290
+ if (indent <= _SeededPRNGBank_9c4) {
291
+ _SeededPRNGBank_9c4 = -(1316209898 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 9578, 21057));
292
+ }
293
+ } else if (line.trim().length > (604285601 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 19035, 15219)) && (Math.imul(Math.imul((line.trim().length | 0) ^ 127 | 1, (line.trim().length | 0) ^ 127 | 1), Math.imul((line.trim().length | 0) ^ 127 | 1, (line.trim().length | 0) ^ 127 | 1)) & 15 ^ (__certificateDigest_77ec >>> 0 & 255 ^ 229)) === 169) {
294
+ const indent = line.match(/^(\s*)/)[(53665 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535)].length;
295
+ if (indent <= _SeededPRNGBank_9c4) {
296
+ _SeededPRNGBank_9c4 = -((53665 ^ __certificateDigest_77ec & 65535) / (38832 ^ __certificateDigest_77ec >>> 16 & 65535));
297
+ }
298
+ }
299
+ if (_SeededPRNGBank_9c4 >= (1342085654 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 28287, 27413)) && /^\s{4,}\S/.test(line) && !/^\s*#/.test(line) && !/^\s*@/.test(line)) {
199
300
  let modifiedLine = line;
200
301
  if (this.options.encryptStrings !== false) {
201
- modifiedLine = modifiedLine.replace(/(?<![fFrRbB])"([^"\\\n]{3,40})"/g, (_m, strContent) => _keyDerivationStateAttestation_d4b(strContent));
302
+ modifiedLine = modifiedLine.replace(/(?<![fFrRbB])"([^"\\\n]{3,40})"/g, (_m, strContent) => _quorumDigest_598(strContent));
202
303
  }
203
304
  modifiedLine = modifiedLine.replace(/(\breturn\s+|\s=\s*|\s\+\s*|\s-\s*|\s\*\s*)([1-9]\d{0,6})\b(?!\s*\.)/g, (_m, prefix, numStr) => {
204
- function evaluateKeyDerivationStateAttestation_9f82(_tok0, _tok1, _tok2, _tok3) {
205
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:9bcdaa06-bcf07760]",
305
+ function sanitizePythonTransformer_da84(_tok0, _tok1, _tok2, _tok3) {
306
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:085368b0-692f4338]",
206
307
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
207
308
  let _h = 2166136261;
208
309
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -220,58 +321,89 @@ export class PythonTransformer {
220
321
  _h = (_h ^ _h >>> 16) >>> 0;
221
322
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
222
323
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
223
- if ((_h >>> 4 & 15) !== 8) {
224
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
324
+ if ((_h >>> 4 & 15) !== 13) {
325
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
225
326
  }
226
327
  return _h;
227
328
  }
228
- const __hmacRingSequence_9f82 = evaluateKeyDerivationStateAttestation_9f82(1596947451, 2132867467, 1755111167, 320048981);
229
- const _ProprietaryEnclaveDelta_211 = parseInt(numStr, 27186 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 6928));
230
- const _sgxEcallCounter_ade = (_stateKeyDerivedIntegrity_39f & (56474 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 21069))) >>> (30256 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 1816));
231
- const _SoltrixStudiosDelta_85f = _sgxEcallCounter_ade ^ this.prng.nextRange(22934 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 10686), 30461 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 30762));
232
- const _modeSequence_602 = _ProprietaryEnclaveDelta_211 ^ _SoltrixStudiosDelta_85f;
233
- const _hkdfSaltRotation_a0a = _SoltrixStudiosDelta_85f ^ _sgxEcallCounter_ade;
234
- return (__hmacRingSequence_9f82 & 255) === 136 ? `${prefix}(${_modeSequence_602} ^ ((${_hmacFrameIntegrity_3a0} & 0xFFFF) ^ ${_hkdfSaltRotation_a0a}))` : (() => {
329
+ const __nonceFrame_da84 = sanitizePythonTransformer_da84(2139826735, 1775729931, 598562617, 1378487073);
330
+ const _keystoreProration_3ad = parseInt(numStr, 1053566854 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 18549, 26863));
331
+ const _tpmCheck_6b4 = (_mathCoreCheck_5ee & (604888801 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 21027, 17983))) >>> (923068315 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 25724, 19895));
332
+ const _tokenBank_1a9 = _tpmCheck_6b4 ^ this.prng.nextRange(751961095 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22042, 21701), 269425818 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 20750, 8203));
333
+ const _nonceFrame_eba = _keystoreProration_3ad ^ _tokenBank_1a9;
334
+ const _nonceScalar_339 = _tokenBank_1a9 ^ _tpmCheck_6b4;
335
+ return (__nonceFrame_da84 & 255) === 222 ? `${prefix}(${_nonceFrame_eba} ^ ((${_tokenAttestation_1d6} & 0xFFFF) ^ ${_nonceScalar_339}))` : (() => {
336
+ function auditDefRegex_a75a(_tok0, _tok1, _tok2, _tok3) {
337
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:cbe4b3c6-3d41d668]",
338
+ _tokVec = [_tok0, _tok1, _tok2, _tok3];
339
+ let _h = 2166136261;
340
+ for (let _s = 0; _s < _tokVec.length; _s++) {
341
+ _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
342
+ _h = Math.imul(_h, 16777619) >>> 0;
343
+ _h ^= _h >>> 13;
344
+ }
345
+ for (let _i = 0; _i < _legalAttestation.length; _i++) {
346
+ _h ^= _legalAttestation.charCodeAt(_i);
347
+ _h = Math.imul(_h, 16777619) >>> 0;
348
+ _h ^= _h >>> 13;
349
+ }
350
+ _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
351
+ _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
352
+ _h = (_h ^ _h >>> 16) >>> 0;
353
+ if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
354
+ if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
355
+ if ((_h >>> 4 & 15) !== 3) {
356
+ throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
357
+ }
358
+ return _h;
359
+ }
360
+ const __baseLegalNoticeState_a75a = auditDefRegex_a75a(1517133199, 1474409365, 1376817765, 100315979);
361
+ if ((__baseLegalNoticeState_a75a & 255) !== 58) {
362
+ throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
363
+ }
235
364
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
236
365
  })();
237
366
  });
238
- _sgxBoundaryProof_961.push(modifiedLine);
367
+ _customDictionaryProof_e16.push(modifiedLine);
239
368
  } else {
240
- _sgxBoundaryProof_961.push(line);
369
+ _customDictionaryProof_e16.push(line);
241
370
  }
242
371
  }
243
- if (_enclaveDigestVector_39 === (8829 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 21333))) {
372
+ if (_tokenBank_fe8 === (614511517 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 22344, 17909))) {
244
373
  return {
245
374
  code: pythonCode,
246
- transformedCount: 15926 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 20254),
375
+ transformedCount: 1412488818 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 25939, 30641),
247
376
  seedUsed: this.seed,
248
377
  inoculationInjected: false,
249
- stateKeyDerived: 21656 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 9648)
378
+ stateKeyDerived: 1926394659 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13950, 32541)
250
379
  };
251
380
  }
252
- if (_inoculationInjectedEnvelope_e37.length < (22598 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 10602))) {
253
- for (const decoyStr of _modeSequence_cb4.decoyTierStrings.slice(12656 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 16472), 4539 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 24721))) {
254
- _keyDerivationStateAttestation_d4b(decoyStr);
381
+ if (_constructorProof_221.length < (496885202 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 20879, 15069))) {
382
+ for (const decoyStr of _codeCheck_4e9.decoyTierStrings.slice(1720904517 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 3004, 30697), 328953702 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 28053, 6805))) {
383
+ _quorumDigest_598(decoyStr);
255
384
  }
256
385
  }
257
- const _codeSequence_adc = _seedUsedSequence_851.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
258
- const _keyDerivationStateProof_35a = _ringBufferBitmask_b46.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
259
- const _seedEnvelope_4eb = JSON.stringify(_inoculationInjectedEnvelope_e37);
260
- const _optionsVector_e2c = [`# [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `${_enclaveDigestAttestation_147} = "${_codeSequence_adc}"`, `${_tpmPcrBankSequence_ff2} = ${_seedEnvelope_4eb}`, ``, `def ${_entropyNonceBitmask_f4d}(_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 ${_enclaveDigestAttestation_147}:`, ` _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) != ${_transformedCountProof_b79}:`, ` raise RuntimeError("${_keyDerivationStateProof_35a}")`, ` return _h`, ``, `def ${_prngVector_623}(_slot, _k):`, ` _row = ${_tpmPcrBankSequence_ff2}[_slot]`, ` return "".join(chr((_b ^ (((_k >> ((_idx & 3) * 8)) + (((_idx + _slot) * 37) & 0xFFFFFFFF)) & 0xFF)) & 0xFF) for _idx, _b in enumerate(_row))`, ``, `def ${_hkdfSaltRotation_1bb}(_x, _y):`, ` return (((_x ^ _y) + ((_x & _y) << 1)) & 0xFFFFFFFF)`, ``, `def ${_hashStringAttestation_b9e}(_k, _c1, _c2):`, ` _u = (_k | 1) & 0xFFFFFFFF`, ` _u2 = (_u * _u) & 0xFFFFFFFF`, ` _u4 = (_u2 * _u2) & 0xFFFFFFFF`, ` _expected = (_c1 ^ (_k ^ _c2)) & 0xFFFFFFFF`, ` return (_u4 & 15) == _expected`, ``, `def ${_monotonicNonceDrift_826}(_k):`, ` return ${_hkdfSaltRotation_1bb}(_k, 0x5A17E9B3) ^ 0xDEADBEEF`, ``].join('\n');
261
- let _entropyNonceVector_ad8 = 14625 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 18441);
262
- while (_entropyNonceVector_ad8 < _sgxBoundaryProof_961.length && (/^\s*#!/.test(_sgxBoundaryProof_961[_entropyNonceVector_ad8]) || /^\s*#\s*-\*-/.test(_sgxBoundaryProof_961[_entropyNonceVector_ad8]) || /^\s*from\s+__future__\s+import\b/.test(_sgxBoundaryProof_961[_entropyNonceVector_ad8]))) {
263
- _entropyNonceVector_ad8++;
386
+ const _tpmProof_55 = _trimBank_f3.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
387
+ const _modeAttestation_ac5 = _prngFrame_eb1.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
388
+ const _lengthDigest_8e1 = JSON.stringify(_constructorProof_221);
389
+ const _enclaveReg_66c = this.prng.nextUint32() & 2147483646 + ((__certificateDigest_77ec & 255) - 65) | 1566625884 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 2988, 27953);
390
+ const _generateCryptoSeedVector_f0e = (1661281334 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 6466, 32445) ^ _enclaveReg_66c) >>> (923967510 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 17099, 24463));
391
+ const _pushAttestation_4ce = (_enclaveReg_66c ^ _mathCoreCheck_5ee) >>> (1141064526 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 15511, 18741));
392
+ const _PythonTransformerBank_3ce = [`# [Protected by Soltrix Studios: Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `${_dictProof_42b} = "${_tpmProof_55}"`, `${_nonceScalar_651} = ${_lengthDigest_8e1}`, ``, `def ${_WasmMathCoreProof_abb}(_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 ${_dictProof_42b}:`, ` _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) != ${_certificateDigest_d7f}:`, ` raise RuntimeError("${_modeAttestation_ac5}")`, ` return _h`, ``, `def ${_transformedCountEnvelope_f3e}(_slot, _k):`, ` _row = ${_nonceScalar_651}[_slot]`, ` return "".join(chr((_b ^ (((_k >> ((_idx & 3) * 8)) + (((_idx + _slot) * 37) & 0xFFFFFFFF)) & 0xFF)) & 0xFF) for _idx, _b in enumerate(_row))`, ``, `def ${_quorumFrame_653}(_x, _y):`, ` return (((_x ^ _y) + ((_x & _y) << 1)) & 0xFFFFFFFF)`, ``, `def ${_defRegexCheck_10c}(_k, _c1, _c2):`, ` _u = (_k | 1) & 0xFFFFFFFF`, ` _u2 = (_u * _u) & 0xFFFFFFFF`, ` _u4 = (_u2 * _u2) & 0xFFFFFFFF`, ` _expected = (_c1 ^ (_k ^ _c2)) & 0xFFFFFFFF`, ` return (_u4 & 15) == _expected`, ``, `def ${_tpmCheck_f1d}(_k):`, ` return ${_quorumFrame_653}(_k, 0x5A17E9B3) ^ 0xDEADBEEF`, ``, `${_tokenAttestation_1d6} = ${_WasmMathCoreProof_abb}(${_SoltrixStudiosDelta_eb6[996610230 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 1883, 18183)]}, ${_SoltrixStudiosDelta_eb6[635743340 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 18418, 16479)]}, ${_SoltrixStudiosDelta_eb6[1249335488 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 26323, 26585)]}, ${_SoltrixStudiosDelta_eb6[1196199084 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 32258, 26661)]})`, `if not ${_defRegexCheck_10c}(${_tokenAttestation_1d6}, ${_generateCryptoSeedVector_f0e}, ${_pushAttestation_4ce}):`, ` raise RuntimeError("${_modeAttestation_ac5}")`, ``].join('\n');
393
+ let _tokenVector_aa9 = 1177367148 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 25157, 25691);
394
+ while (_tokenVector_aa9 < _customDictionaryProof_e16.length && (/^\s*#!/.test(_customDictionaryProof_e16[_tokenVector_aa9]) || /^\s*#\s*-\*-/.test(_customDictionaryProof_e16[_tokenVector_aa9]) || /^\s*from\s+__future__\s+import\b/.test(_customDictionaryProof_e16[_tokenVector_aa9]))) {
395
+ _tokenVector_aa9++;
264
396
  }
265
- const _tpmPcrBankEnvelope_d8d = [..._sgxBoundaryProof_961.slice(25548 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 4836), _entropyNonceVector_ad8), _optionsVector_e2c, ..._sgxBoundaryProof_961.slice(_entropyNonceVector_ad8)];
266
- return (__tpmPcrBankSequence_5b8f & 255) === 40 ? {
267
- code: _tpmPcrBankEnvelope_d8d.join('\n'),
268
- transformedCount: _enclaveDigestVector_39,
397
+ const _getInstanceAttestation_ab9 = [..._customDictionaryProof_e16.slice(478970388 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 8149, 9057), _tokenVector_aa9), _PythonTransformerBank_3ce, ..._customDictionaryProof_e16.slice(_tokenVector_aa9)];
398
+ return (__certificateDigest_77ec & 255) === 65 ? {
399
+ code: _getInstanceAttestation_ab9.join('\n'),
400
+ transformedCount: _tokenBank_fe8,
269
401
  seedUsed: this.seed,
270
402
  inoculationInjected: true,
271
- stateKeyDerived: _stateKeyDerivedIntegrity_39f >>> (29744 ^ (__tpmPcrBankSequence_5b8f & 65535 ^ 1304))
403
+ stateKeyDerived: _mathCoreCheck_5ee >>> (323179281 ^ Math.imul(__certificateDigest_77ec & 65535 ^ 13274, 5571))
272
404
  } : (() => {
273
- function verifySeededPRNG_dbff(_tok0, _tok1, _tok2, _tok3) {
274
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:66e2e6bf-8f30cb5c]",
405
+ function verifyBaseLegalNotice_d17(_tok0, _tok1, _tok2, _tok3) {
406
+ const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:22bee821-f407e5f7]",
275
407
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
276
408
  let _h = 2166136261;
277
409
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -289,13 +421,13 @@ export class PythonTransformer {
289
421
  _h = (_h ^ _h >>> 16) >>> 0;
290
422
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
291
423
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
292
- if ((_h >>> 4 & 15) !== 9) {
293
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
424
+ if ((_h >>> 4 & 15) !== 15) {
425
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
294
426
  }
295
427
  return _h;
296
428
  }
297
- const __hmacFrameSequence_dbff = verifySeededPRNG_dbff(807620977, 553151399, 284172435, 1524631385);
298
- if ((__hmacFrameSequence_dbff & 255) !== 149) {
429
+ const __harvestedState_d17 = verifyBaseLegalNotice_d17(342252239, 688185139, 1044088125, 702657033);
430
+ if ((__harvestedState_d17 & 255) !== 247) {
299
431
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
300
432
  }
301
433
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
@@ -303,8 +435,8 @@ export class PythonTransformer {
303
435
  }
304
436
  }
305
437
  export function protectPython(pythonCode, options = {}) {
306
- function evaluateMBASynthesizer_bdf5(_tok0, _tok1, _tok2, _tok3) {
307
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:e403ab7d-9f9250c5]",
438
+ function rotateSignatureDigest_45e3(_tok0, _tok1, _tok2, _tok3) {
439
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:26966855-e5f840e1]",
308
440
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
309
441
  let _h = 2166136261;
310
442
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -322,16 +454,16 @@ export function protectPython(pythonCode, options = {}) {
322
454
  _h = (_h ^ _h >>> 16) >>> 0;
323
455
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
324
456
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
325
- if ((_h >>> 4 & 15) !== 15) {
326
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
457
+ if ((_h >>> 4 & 15) !== 1) {
458
+ throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
327
459
  }
328
460
  return _h;
329
461
  }
330
- const __keyDerivationStateProof_bdf5 = evaluateMBASynthesizer_bdf5(1292880389, 571319239, 2111929807, 1677690055);
331
- const _pythonCodeIntegrity_336 = new PythonTransformer(options);
332
- return (__keyDerivationStateProof_bdf5 & 255) === 250 ? _pythonCodeIntegrity_336.transform(pythonCode) : (() => {
333
- function verifySoltrixStudiosContext_71d3(_tok0, _tok1, _tok2, _tok3) {
334
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:321e511f-d13a8c58]",
462
+ const __keystoreCheck_45e3 = rotateSignatureDigest_45e3(1239232001, 831355637, 1955322525, 1514980263);
463
+ const _nonceScalar_263 = new PythonTransformer(options);
464
+ return (__keystoreCheck_45e3 & 255) === 24 ? _nonceScalar_263.transform(pythonCode) : (() => {
465
+ function rotateMathCore_4ee5(_tok0, _tok1, _tok2, _tok3) {
466
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:65eba40e-54dd1bd6]",
335
467
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
336
468
  let _h = 2166136261;
337
469
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -350,20 +482,20 @@ export function protectPython(pythonCode, options = {}) {
350
482
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
351
483
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
352
484
  if ((_h >>> 4 & 15) !== 12) {
353
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
485
+ throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
354
486
  }
355
487
  return _h;
356
488
  }
357
- const __entropyNonceBitmask_71d3 = verifySoltrixStudiosContext_71d3(1820761681, 270205495, 157548187, 442182271);
358
- if ((__entropyNonceBitmask_71d3 & 255) !== 202) {
489
+ const __SeededPRNGState_4ee5 = rotateMathCore_4ee5(1345921455, 696958981, 417700741, 184813343);
490
+ if ((__SeededPRNGState_4ee5 & 255) !== 197) {
359
491
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
360
492
  }
361
493
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
362
494
  })();
363
495
  }
364
496
  if (typeof window !== "undefined") {
365
- window.__syferitIPC_c560.invoke && window.__syferitIPC_c560.invoke("crypto:tpm-enclave-verify", {
366
- syncEpoch: 297962532,
367
- channelSig: "SIG_FRAME_C560"
497
+ window.__syferitIPC_fb2 && window.__syferitIPC_fb2.invoke && window.__syferitIPC_fb2.invoke("auth:session-lease-sync", {
498
+ syncEpoch: 907100397,
499
+ channelSig: "SIG_FRAME_FB2"
368
500
  });
369
501
  }
package/package.json CHANGED
@@ -1,16 +1,23 @@
1
1
  {
2
2
  "name": "@syferit/python",
3
- "version": "0.4.5",
3
+ "version": "1.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",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
8
15
  "scripts": {
9
16
  "build": "tsc",
10
17
  "test": "vitest run"
11
18
  },
12
19
  "dependencies": {
13
- "@syferit/core": "^0.4.5"
20
+ "@syferit/core": "^1.0.0"
14
21
  },
15
22
  "devDependencies": {
16
23
  "@types/node": "^20.11.0",
@@ -22,5 +29,9 @@
22
29
  "url": "git+https://github.com/soltrix-studios/syferit.git",
23
30
  "directory": "packages/python"
24
31
  },
25
- "homepage": "https://syferit.soltrixstudios.com"
32
+ "homepage": "https://syferit.soltrixstudios.com",
33
+ "files": [
34
+ "dist",
35
+ "README.md"
36
+ ]
26
37
  }