@sparrowai/sparrow-mcp 1.1.11 → 1.1.13

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.
Files changed (53) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/scripts/mcp-test/mcp-client.js +1 -1
  3. package/dist/scripts/test-runner/check-failed-tests.js +1 -1
  4. package/dist/scripts/test-runner/compare-responses.js +1 -1
  5. package/dist/scripts/test-runner/standalone-test-fixed-header.js +1 -1
  6. package/dist/scripts/test-runner/standalone-test.js +1 -1
  7. package/dist/src/config/appConfig.js +1 -1
  8. package/dist/src/config/constants.js +1 -1
  9. package/dist/src/controllers/__tests__/analysis.controller.test.js +1 -1
  10. package/dist/src/controllers/__tests__/sast.controller.test.js +1 -1
  11. package/dist/src/controllers/__tests__/sca.controller.test.js +1 -1
  12. package/dist/src/controllers/__tests__/security.controller.test.js +1 -1
  13. package/dist/src/controllers/__tests__/system.controller.test.js +1 -1
  14. package/dist/src/controllers/analysis.controller.js +1 -1
  15. package/dist/src/controllers/sast.controller.js +1 -1
  16. package/dist/src/controllers/sca.controller.js +1 -1
  17. package/dist/src/controllers/security.controller.js +1 -1
  18. package/dist/src/controllers/system.controller.js +1 -1
  19. package/dist/src/schemas/tool.schemas.js +1 -1
  20. package/dist/src/server.js +1 -1
  21. package/dist/src/services/__tests__/analysis.remediation.spec.d.ts +1 -0
  22. package/dist/src/services/__tests__/analysis.remediation.spec.js +1 -0
  23. package/dist/src/services/__tests__/analysis.remediation.test.js +1 -1
  24. package/dist/src/services/__tests__/analysis.service.sca.test.js +1 -1
  25. package/dist/src/services/__tests__/analysis.service.test.js +1 -1
  26. package/dist/src/services/__tests__/checker.service.test.js +1 -1
  27. package/dist/src/services/__tests__/llm.service.test.js +1 -1
  28. package/dist/src/services/__tests__/s3.service.test.js +1 -1
  29. package/dist/src/services/__tests__/sparrow.service.test.js +1 -1
  30. package/dist/src/services/analysis.service.js +1 -1
  31. package/dist/src/services/checker.service.js +1 -1
  32. package/dist/src/services/llm/AnthropicProvider.js +1 -1
  33. package/dist/src/services/llm/BedrockProvider.js +1 -1
  34. package/dist/src/services/llm/GeminiProvider.js +1 -1
  35. package/dist/src/services/llm/LLMFactory.js +1 -1
  36. package/dist/src/services/llm/LLMProvider.js +1 -1
  37. package/dist/src/services/llm/OllamaProvider.js +1 -1
  38. package/dist/src/services/llm/OpenAIProvider.js +1 -1
  39. package/dist/src/services/llm.service.js +1 -1
  40. package/dist/src/services/s3.service.js +1 -1
  41. package/dist/src/services/sparrow.service.js +1 -1
  42. package/dist/src/types/types.js +1 -1
  43. package/dist/src/utils/__tests__/crypto.util.test.js +1 -1
  44. package/dist/src/utils/__tests__/diff.util.test.js +1 -1
  45. package/dist/src/utils/__tests__/fileManager.test.js +1 -1
  46. package/dist/src/utils/__tests__/fileManagerSecure.test.js +1 -1
  47. package/dist/src/utils/__tests__/logger.test.js +1 -1
  48. package/dist/src/utils/crypto.util.js +1 -1
  49. package/dist/src/utils/diff.util.js +1 -1
  50. package/dist/src/utils/fileManager.js +1 -1
  51. package/dist/src/utils/fileManagerSecure.js +1 -1
  52. package/dist/src/utils/logger.js +1 -1
  53. package/package.json +1 -1
@@ -1 +1 @@
1
- function a0_0x589d(_0x28a971,_0x5de36e){_0x28a971=_0x28a971-0x1f1;const _0x14a2bc=a0_0x1679();let _0x76bf7b=_0x14a2bc[_0x28a971];return _0x76bf7b;}const a0_0x5b175c=a0_0x589d;function a0_0x1679(){const _0x490fe6=['capabiliti','listChange','serverComm','uffer\x20full','get','serverArgs','lized','uests','tion','t]\x20Process','spawn\x20serv','gNRHm','e\x20request.','t]\x20Sending','set','error','t]\x20stdin\x20b','clientInfo','stringify','apply','params','start','Cksyw','286255OQzEOt','gpIoo','closed\x20wit','search','warn','platform','t]\x20Server\x20','win32','\x20error:','847285lKxpXv','t]\x20Initial','and','mcp-test-c','216872uTiCfc','version','342468yFlbdW','env','stderr','5846940YoUbfd','1961892BfyaCO','isInitiali','KypvK','roots','log','age','true','pendingReq','jsonrpc','pid','process','t]\x20Startin','method','stdin','request','clear','[Server\x20Er','stdio','trim','onHandlers','delete','notificati','h\x20code\x20','pipe','\x20running','18zNJTzk','1.0.0','name','stdout','RZVzh','stop','xVGvt','pJbQk','JSON-RPC\x20E','constructo','close','lient','stopped','ons/initia','g\x20server:\x20','messageId','toString','write','notify','handleMess','[MCP\x20Clien','ror]\x20','rror:\x20','\x20(notify)','149540omjKPH','(((.+)+)+)','2.0','exitCode','49yqDkrG','onNotifica','2zvYWIn','rsion','\x20initializ','er\x20process','mweNs','Server\x20not','Failed\x20to\x20','ized:'];a0_0x1679=function(){return _0x490fe6;};return a0_0x1679();}(function(_0x12a941,_0x512b05){const _0x4200b3=a0_0x589d,_0x185af5=_0x12a941();while(!![]){try{const _0x4877aa=-parseInt(_0x4200b3(0x214))/0x1*(parseInt(_0x4200b3(0x1f5))/0x2)+-parseInt(_0x4200b3(0x227))/0x3+parseInt(_0x4200b3(0x258))/0x4+parseInt(_0x4200b3(0x21d))/0x5*(parseInt(_0x4200b3(0x240))/0x6)+-parseInt(_0x4200b3(0x1f3))/0x7*(-parseInt(_0x4200b3(0x221))/0x8)+parseInt(_0x4200b3(0x223))/0x9+parseInt(_0x4200b3(0x226))/0xa;if(_0x4877aa===_0x512b05)break;else _0x185af5['push'](_0x185af5['shift']());}catch(_0x384ee1){_0x185af5['push'](_0x185af5['shift']());}}}(a0_0x1679,0x660fe));const a0_0x5b4da4=(function(){let _0x2eb6f8=!![];return function(_0x2c8738,_0x23da1c){const _0x18fee={};_0x18fee['xVGvt']=function(_0x2a71a9,_0x3d619f){return _0x2a71a9!==_0x3d619f;};const _0x230ada=_0x18fee,_0x483d5f=_0x2eb6f8?function(){const _0x26507b=a0_0x589d;if(_0x23da1c){if(_0x230ada[_0x26507b(0x246)](_0x26507b(0x213),_0x26507b(0x213)))_0x4b7cdb[_0x26507b(0x20c)](_0x26507b(0x237)+_0x26507b(0x255)+_0x2726c9[_0x26507b(0x250)]());else{const _0x4df408=_0x23da1c[_0x26507b(0x210)](_0x2c8738,arguments);return _0x23da1c=null,_0x4df408;}}}:function(){};return _0x2eb6f8=![],_0x483d5f;};}()),a0_0x76bf7b=a0_0x5b4da4(this,function(){const _0x357adc=a0_0x589d;return a0_0x76bf7b[_0x357adc(0x250)]()[_0x357adc(0x217)](_0x357adc(0x259)+'+$')[_0x357adc(0x250)]()[_0x357adc(0x249)+'r'](a0_0x76bf7b)[_0x357adc(0x217)](_0x357adc(0x259)+'+$');});a0_0x76bf7b();import{spawn}from'child_process';import{createInterface}from'readline';export class McpClient{[a0_0x5b175c(0x1ff)+'and'];[a0_0x5b175c(0x202)];[a0_0x5b175c(0x231)]=null;[a0_0x5b175c(0x24f)]=0x0;[a0_0x5b175c(0x22e)+a0_0x5b175c(0x204)]=new Map();[a0_0x5b175c(0x23c)+'onHandlers']=new Map();[a0_0x5b175c(0x228)+'zed']=![];['rl']=null;constructor(_0x720e0b,_0x457639){const _0x249d14=a0_0x5b175c;this['serverComm'+_0x249d14(0x21f)]=_0x720e0b,this[_0x249d14(0x202)]=_0x457639;}async[a0_0x5b175c(0x212)](){const _0xec3e83=a0_0x5b175c,_0x4f00f6={};_0x4f00f6[_0xec3e83(0x244)]='pipe',_0x4f00f6[_0xec3e83(0x247)]='data';const _0x137f53=_0x4f00f6;console[_0xec3e83(0x22b)](_0xec3e83(0x254)+_0xec3e83(0x232)+_0xec3e83(0x24e)+this[_0xec3e83(0x1ff)+'and']+'\x20'+this[_0xec3e83(0x202)]['join']('\x20'));const _0x481b50={...process.env};_0x481b50['MCP_STDIO']=_0xec3e83(0x22d);const _0x52b637={};_0x52b637[_0xec3e83(0x238)]=[_0xec3e83(0x23e),_0xec3e83(0x23e),_0x137f53['RZVzh']],_0x52b637['shell']=!![],_0x52b637[_0xec3e83(0x224)]=_0x481b50,this[_0xec3e83(0x231)]=spawn(this['serverComm'+'and'],this[_0xec3e83(0x202)],_0x52b637);if(!this[_0xec3e83(0x231)][_0xec3e83(0x243)]||!this[_0xec3e83(0x231)][_0xec3e83(0x234)]||!this['process'][_0xec3e83(0x225)])throw new Error(_0xec3e83(0x1fb)+_0xec3e83(0x207)+_0xec3e83(0x1f8)+'\x20with\x20stdi'+'o');this[_0xec3e83(0x231)][_0xec3e83(0x225)]['on'](_0x137f53[_0xec3e83(0x247)],_0x5cc3ff=>{const _0x2e3da3=_0xec3e83;console['error'](_0x2e3da3(0x237)+'ror]\x20'+_0x5cc3ff['toString']());}),this['rl']=createInterface({'input':this[_0xec3e83(0x231)][_0xec3e83(0x243)]}),this['rl']['on']('line',_0x92f863=>{const _0x218525=_0xec3e83;if(!_0x92f863[_0x218525(0x239)]())return;try{const _0x45421f=JSON['parse'](_0x92f863);this[_0x218525(0x253)+_0x218525(0x22c)](_0x45421f);}catch(_0x2c68d8){console[_0x218525(0x22b)]('[Server\x20Lo'+'g]',_0x92f863);}}),this[_0xec3e83(0x231)]['on'](_0xec3e83(0x20c),_0x44644a=>console[_0xec3e83(0x20c)](_0xec3e83(0x254)+_0xec3e83(0x206)+_0xec3e83(0x21c),_0x44644a)),this['process']['on'](_0xec3e83(0x24a),_0x53f069=>{const _0x4593ef=_0xec3e83;console[_0x4593ef(0x22b)]('[MCP\x20Clien'+'t]\x20Server\x20'+_0x4593ef(0x216)+_0x4593ef(0x23d)+_0x53f069);if(this['rl'])this['rl'][_0x4593ef(0x24a)]();for(const [_0x1cb37f,_0x2411c1]of this['pendingReq'+'uests']['entries']()){_0x2411c1(null,new Error('Server\x20clo'+'sed\x20connec'+_0x4593ef(0x205)));}this[_0x4593ef(0x22e)+_0x4593ef(0x204)][_0x4593ef(0x236)]();});try{await this['initialize']();}catch(_0x1d289d){console['error'](_0xec3e83(0x254)+_0xec3e83(0x21e)+'ization\x20fa'+'iled:',_0x1d289d);throw _0x1d289d;}}async[a0_0x5b175c(0x245)](){const _0x79c9d6=a0_0x5b175c;if(this['process']){if(this['rl'])this['rl']['close']();try{process[_0x79c9d6(0x219)]===_0x79c9d6(0x21b)&&this[_0x79c9d6(0x231)][_0x79c9d6(0x230)]&&spawn('taskkill',['/pid',this['process'][_0x79c9d6(0x230)]['toString'](),'/f','/t']),this['process']['kill']();}catch(_0x25316b){}this[_0x79c9d6(0x231)]=null,console[_0x79c9d6(0x22b)](_0x79c9d6(0x254)+_0x79c9d6(0x21a)+_0x79c9d6(0x24c));}}async['initialize'](){const _0x4cb7ab=a0_0x5b175c,_0x36d9e3={};_0x36d9e3[_0x4cb7ab(0x229)]=_0x4cb7ab(0x241);const _0x4daa6f=_0x36d9e3;console[_0x4cb7ab(0x22b)](_0x4cb7ab(0x254)+_0x4cb7ab(0x20a)+_0x4cb7ab(0x1f7)+_0x4cb7ab(0x209)+'..');const _0x3fe146={};_0x3fe146[_0x4cb7ab(0x1fe)+'d']=!![];const _0x431ce2={};_0x431ce2[_0x4cb7ab(0x22a)]=_0x3fe146;const _0x9e2792={};_0x9e2792[_0x4cb7ab(0x242)]=_0x4cb7ab(0x220)+_0x4cb7ab(0x24b),_0x9e2792[_0x4cb7ab(0x222)]=_0x4daa6f['KypvK'];const _0x4979a3={};_0x4979a3['protocolVe'+_0x4cb7ab(0x1f6)]='2024-11-05',_0x4979a3[_0x4cb7ab(0x1fd)+'es']=_0x431ce2,_0x4979a3[_0x4cb7ab(0x20e)]=_0x9e2792;const _0x56fcf3=await this[_0x4cb7ab(0x235)]('initialize',_0x4979a3);console[_0x4cb7ab(0x22b)]('[MCP\x20Clien'+_0x4cb7ab(0x21e)+_0x4cb7ab(0x1fc),_0x56fcf3),await this[_0x4cb7ab(0x252)]('notificati'+_0x4cb7ab(0x24d)+_0x4cb7ab(0x203),{}),this[_0x4cb7ab(0x228)+'zed']=!![];}async['notify'](_0x308152,_0x233965){const _0x23677f=a0_0x5b175c,_0x2de347={};_0x2de347[_0x23677f(0x208)]=function(_0x3dc5a6,_0x48c5a9){return _0x3dc5a6!==_0x48c5a9;},_0x2de347[_0x23677f(0x215)]=_0x23677f(0x1f1);const _0xb9d160=_0x2de347;if(!this[_0x23677f(0x231)]||_0xb9d160[_0x23677f(0x208)](this[_0x23677f(0x231)]['exitCode'],null))return;const _0x4f29dc={};_0x4f29dc[_0x23677f(0x22f)]=_0xb9d160['gpIoo'],_0x4f29dc[_0x23677f(0x233)]=_0x308152,_0x4f29dc[_0x23677f(0x211)]=_0x233965;const _0x28fc21=_0x4f29dc,_0x34a5ad=JSON[_0x23677f(0x20f)](_0x28fc21);return new Promise((_0x49dfef,_0x5746f6)=>{const _0x28d7d6=_0x23677f;try{const _0x190b8c=this[_0x28d7d6(0x231)][_0x28d7d6(0x234)][_0x28d7d6(0x251)](_0x34a5ad+'\x0a');if(!_0x190b8c)console[_0x28d7d6(0x218)](_0x28d7d6(0x254)+_0x28d7d6(0x20d)+_0x28d7d6(0x200)+_0x28d7d6(0x257));_0x49dfef();}catch(_0x5e7344){_0x5746f6(_0x5e7344);}});}async[a0_0x5b175c(0x235)](_0x4a0ce5,_0x12e2df){const _0x31364d=a0_0x5b175c,_0x20938e={};_0x20938e[_0x31364d(0x1f9)]=_0x31364d(0x1fa)+_0x31364d(0x23f);const _0xb34090=_0x20938e;if(!this[_0x31364d(0x231)]||this[_0x31364d(0x231)][_0x31364d(0x1f2)]!==null)throw new Error(_0xb34090['mweNs']);const _0x32084c=this[_0x31364d(0x24f)]++,_0x59ed15={};_0x59ed15['jsonrpc']=_0x31364d(0x1f1),_0x59ed15['id']=_0x32084c,_0x59ed15[_0x31364d(0x233)]=_0x4a0ce5,_0x59ed15[_0x31364d(0x211)]=_0x12e2df;const _0x103ef9=_0x59ed15;return new Promise((_0x42dbfb,_0xb59858)=>{const _0x2c48cf=_0x31364d;this[_0x2c48cf(0x22e)+_0x2c48cf(0x204)][_0x2c48cf(0x20b)](_0x32084c,(_0x4999ba,_0x274c02)=>{if(_0x4999ba)_0x42dbfb(_0x4999ba);else _0xb59858(_0x274c02);});const _0x406ff6=JSON[_0x2c48cf(0x20f)](_0x103ef9);try{const _0x2c1a92=this[_0x2c48cf(0x231)][_0x2c48cf(0x234)]['write'](_0x406ff6+'\x0a');!_0x2c1a92&&console[_0x2c48cf(0x218)]('[MCP\x20Clien'+_0x2c48cf(0x20d)+_0x2c48cf(0x200)+'\x20(request)');}catch(_0x49cf77){this[_0x2c48cf(0x22e)+_0x2c48cf(0x204)][_0x2c48cf(0x23b)](_0x32084c),_0xb59858(_0x49cf77);}});}[a0_0x5b175c(0x1f4)+a0_0x5b175c(0x205)](_0x19d40a,_0x2251aa){const _0xec0b24=a0_0x5b175c;this[_0xec0b24(0x23c)+_0xec0b24(0x23a)][_0xec0b24(0x20b)](_0x19d40a,_0x2251aa);}[a0_0x5b175c(0x253)+a0_0x5b175c(0x22c)](_0x3504ce){const _0x1935f6=a0_0x5b175c;if(_0x3504ce['id']!==undefined&&(_0x3504ce['result']!==undefined||_0x3504ce['error']!==undefined)){const _0x279a03=this[_0x1935f6(0x22e)+_0x1935f6(0x204)][_0x1935f6(0x201)](_0x3504ce['id']);_0x279a03&&(this[_0x1935f6(0x22e)+_0x1935f6(0x204)][_0x1935f6(0x23b)](_0x3504ce['id']),_0x3504ce['error']?_0x279a03(null,new Error(_0x1935f6(0x248)+_0x1935f6(0x256)+JSON[_0x1935f6(0x20f)](_0x3504ce[_0x1935f6(0x20c)]))):_0x279a03(_0x3504ce['result'],null));}else{if(_0x3504ce[_0x1935f6(0x233)]&&!_0x3504ce['id']){const _0x20c472=this[_0x1935f6(0x23c)+_0x1935f6(0x23a)][_0x1935f6(0x201)](_0x3504ce['method']);_0x20c472&&_0x20c472(_0x3504ce['params']);}}}}
1
+ const a0_0x3d1dc5=a0_0x2978;(function(_0x230cf9,_0x33db53){const _0x1fe076=a0_0x2978,_0x3fd341=_0x230cf9();while(!![]){try{const _0x289e4d=-parseInt(_0x1fe076(0xdf))/0x1+-parseInt(_0x1fe076(0xe5))/0x2+parseInt(_0x1fe076(0xc6))/0x3*(parseInt(_0x1fe076(0xed))/0x4)+-parseInt(_0x1fe076(0xf0))/0x5+parseInt(_0x1fe076(0xd0))/0x6*(parseInt(_0x1fe076(0xe8))/0x7)+parseInt(_0x1fe076(0xe7))/0x8+parseInt(_0x1fe076(0x105))/0x9;if(_0x289e4d===_0x33db53)break;else _0x3fd341['push'](_0x3fd341['shift']());}catch(_0x4a6735){_0x3fd341['push'](_0x3fd341['shift']());}}}(a0_0x128e,0xe5a41));function a0_0x128e(){const _0x100d02=['uests','lient','method','(((.+)+)+)','request','pid','exitCode','4853052kTzSiO','tion','t]\x20Startin','spawn\x20serv','\x20error:','jsonrpc','stdio','parse','true','clientInfo','\x20(request)','jzNNw','trim','delete','ror]\x20','clear','\x20(notify)','uffer\x20full','platform','dsgoD','isInitiali','data','e\x20request.','toString','iled:','t]\x20Sending','t]\x20stdin\x20b','apply','ized:','constructo','\x20running','name','lized','and','stderr','process','stop','log','kill','bQSzy','rror:\x20','6189bYjdnt','[Server\x20Lo','t]\x20Server\x20','gueDI','MCP_STDIO','[MCP\x20Clien','t]\x20Initial','notificati','age','search','10953834BKrrnt','stdout','result','DresW','pipe','warn','2.0','write','roots','sed\x20connec','listChange','\x20initializ','zed','set','join','1113889xFgzyu','get','Server\x20not','handleMess','messageId','/pid','1325134sayfdU','t]\x20Process','1076416FbuqBZ','7VVhTUo','pendingReq','stopped','close','mcp-test-c','572XpxKgd','Failed\x20to\x20','JSON-RPC\x20E','386815OeQMez','stringify','initialize','h\x20code\x20','stdin','taskkill','serverComm','onHandlers','notify','env','Server\x20clo','serverArgs','error','params'];a0_0x128e=function(){return _0x100d02;};return a0_0x128e();}const a0_0x56b427=(function(){let _0x7e38c3=!![];return function(_0x245d51,_0x5579d6){const _0x5e71ca=_0x7e38c3?function(){const _0x2b15d0=a0_0x2978;if(_0x5579d6){const _0x4e91e4=_0x5579d6[_0x2b15d0(0x120)](_0x245d51,arguments);return _0x5579d6=null,_0x4e91e4;}}:function(){};return _0x7e38c3=![],_0x5e71ca;};}()),a0_0x79bf8b=a0_0x56b427(this,function(){const _0x326e82=a0_0x2978;return a0_0x79bf8b[_0x326e82(0x11c)]()[_0x326e82(0xcf)](_0x326e82(0x101)+'+$')[_0x326e82(0x11c)]()[_0x326e82(0xba)+'r'](a0_0x79bf8b)['search'](_0x326e82(0x101)+'+$');});a0_0x79bf8b();import{spawn}from'child_process';import{createInterface}from'readline';function a0_0x2978(_0x3f3b57,_0x48f91a){_0x3f3b57=_0x3f3b57-0xba;const _0x2dfae7=a0_0x128e();let _0x79bf8b=_0x2dfae7[_0x3f3b57];return _0x79bf8b;}export class McpClient{[a0_0x3d1dc5(0xf6)+a0_0x3d1dc5(0xbe)];[a0_0x3d1dc5(0xfb)];[a0_0x3d1dc5(0xc0)]=null;[a0_0x3d1dc5(0xe3)]=0x0;['pendingReq'+a0_0x3d1dc5(0xfe)]=new Map();[a0_0x3d1dc5(0xcd)+'onHandlers']=new Map();[a0_0x3d1dc5(0x119)+'zed']=![];['rl']=null;constructor(_0x5d189f,_0x229d48){const _0x482c92=a0_0x3d1dc5;this[_0x482c92(0xf6)+'and']=_0x5d189f,this['serverArgs']=_0x229d48;}async['start'](){const _0x3f3b35=a0_0x3d1dc5,_0x6576fa={};_0x6576fa[_0x3f3b35(0x110)]=_0x3f3b35(0x10d),_0x6576fa['gueDI']=_0x3f3b35(0xcb)+_0x3f3b35(0xcc)+'ization\x20fa'+_0x3f3b35(0x11d);const _0x3dbd3e=_0x6576fa;console['log'](_0x3f3b35(0xcb)+_0x3f3b35(0x107)+'g\x20server:\x20'+this['serverComm'+_0x3f3b35(0xbe)]+'\x20'+this[_0x3f3b35(0xfb)][_0x3f3b35(0xde)]('\x20'));const _0x3037fd={...process.env};_0x3037fd[_0x3f3b35(0xca)]=_0x3dbd3e[_0x3f3b35(0x110)];const _0x389269={};_0x389269[_0x3f3b35(0x10b)]=[_0x3f3b35(0xd4),_0x3f3b35(0xd4),'pipe'],_0x389269['shell']=!![],_0x389269[_0x3f3b35(0xf9)]=_0x3037fd,this[_0x3f3b35(0xc0)]=spawn(this[_0x3f3b35(0xf6)+'and'],this[_0x3f3b35(0xfb)],_0x389269);if(!this[_0x3f3b35(0xc0)][_0x3f3b35(0xd1)]||!this[_0x3f3b35(0xc0)][_0x3f3b35(0xf4)]||!this[_0x3f3b35(0xc0)][_0x3f3b35(0xbf)])throw new Error(_0x3f3b35(0xee)+_0x3f3b35(0x108)+'er\x20process'+'\x20with\x20stdi'+'o');this[_0x3f3b35(0xc0)][_0x3f3b35(0xbf)]['on'](_0x3f3b35(0x11a),_0x78cf9=>{const _0x19e2a9=_0x3f3b35;console[_0x19e2a9(0xfc)]('[Server\x20Er'+_0x19e2a9(0x113)+_0x78cf9[_0x19e2a9(0x11c)]());}),this['rl']=createInterface({'input':this['process'][_0x3f3b35(0xd1)]}),this['rl']['on']('line',_0x24a19d=>{const _0x33a91d=_0x3f3b35;if(!_0x24a19d[_0x33a91d(0x111)]())return;try{const _0x1d592a=JSON[_0x33a91d(0x10c)](_0x24a19d);this[_0x33a91d(0xe2)+'age'](_0x1d592a);}catch(_0x51d44c){console['log'](_0x33a91d(0xc7)+'g]',_0x24a19d);}}),this[_0x3f3b35(0xc0)]['on'](_0x3f3b35(0xfc),_0x513478=>console[_0x3f3b35(0xfc)](_0x3f3b35(0xcb)+_0x3f3b35(0xe6)+_0x3f3b35(0x109),_0x513478)),this[_0x3f3b35(0xc0)]['on']('close',_0x132277=>{const _0x53c862=_0x3f3b35;console[_0x53c862(0xc2)]('[MCP\x20Clien'+_0x53c862(0xc8)+'closed\x20wit'+_0x53c862(0xf3)+_0x132277);if(this['rl'])this['rl'][_0x53c862(0xeb)]();for(const [_0x4ec4d9,_0x5df1fd]of this[_0x53c862(0xe9)+'uests']['entries']()){_0x5df1fd(null,new Error(_0x53c862(0xfa)+_0x53c862(0xd9)+_0x53c862(0x106)));}this[_0x53c862(0xe9)+_0x53c862(0xfe)][_0x53c862(0x114)]();});try{await this[_0x3f3b35(0xf2)]();}catch(_0x348464){console['error'](_0x3dbd3e[_0x3f3b35(0xc9)],_0x348464);throw _0x348464;}}async[a0_0x3d1dc5(0xc1)](){const _0x18c4ab=a0_0x3d1dc5,_0x59a804={};_0x59a804[_0x18c4ab(0xd3)]=_0x18c4ab(0xf5);const _0x4867a0=_0x59a804;if(this[_0x18c4ab(0xc0)]){if(this['rl'])this['rl']['close']();try{process[_0x18c4ab(0x117)]==='win32'&&this[_0x18c4ab(0xc0)][_0x18c4ab(0x103)]&&spawn(_0x4867a0[_0x18c4ab(0xd3)],[_0x18c4ab(0xe4),this[_0x18c4ab(0xc0)]['pid'][_0x18c4ab(0x11c)](),'/f','/t']),this[_0x18c4ab(0xc0)][_0x18c4ab(0xc3)]();}catch(_0x24c709){}this[_0x18c4ab(0xc0)]=null,console['log'](_0x18c4ab(0xcb)+_0x18c4ab(0xc8)+_0x18c4ab(0xea));}}async['initialize'](){const _0x302a48=a0_0x3d1dc5;console[_0x302a48(0xc2)](_0x302a48(0xcb)+_0x302a48(0x11e)+_0x302a48(0xdb)+_0x302a48(0x11b)+'..');const _0x2ef874={};_0x2ef874[_0x302a48(0xda)+'d']=!![];const _0x529098={};_0x529098[_0x302a48(0xd8)]=_0x2ef874;const _0x1a5bfa={};_0x1a5bfa[_0x302a48(0xbc)]=_0x302a48(0xec)+_0x302a48(0xff),_0x1a5bfa['version']='1.0.0';const _0xc029cb={};_0xc029cb['protocolVe'+'rsion']='2024-11-05',_0xc029cb['capabiliti'+'es']=_0x529098,_0xc029cb[_0x302a48(0x10e)]=_0x1a5bfa;const _0x3c36a6=await this[_0x302a48(0x102)](_0x302a48(0xf2),_0xc029cb);console['log'](_0x302a48(0xcb)+_0x302a48(0xcc)+_0x302a48(0x121),_0x3c36a6),await this['notify'](_0x302a48(0xcd)+'ons/initia'+_0x302a48(0xbd),{}),this['isInitiali'+_0x302a48(0xdc)]=!![];}async[a0_0x3d1dc5(0xf8)](_0x1e8ed0,_0x3eed76){const _0x22d309=a0_0x3d1dc5;if(!this[_0x22d309(0xc0)]||this[_0x22d309(0xc0)][_0x22d309(0x104)]!==null)return;const _0x33ae8a={};_0x33ae8a[_0x22d309(0x10a)]=_0x22d309(0xd6),_0x33ae8a['method']=_0x1e8ed0,_0x33ae8a['params']=_0x3eed76;const _0x1890f0=_0x33ae8a,_0x2614e3=JSON['stringify'](_0x1890f0);return new Promise((_0x16e825,_0x474283)=>{const _0x53e8c3=_0x22d309;try{const _0x33be96=this['process'][_0x53e8c3(0xf4)][_0x53e8c3(0xd7)](_0x2614e3+'\x0a');if(!_0x33be96)console[_0x53e8c3(0xd5)]('[MCP\x20Clien'+_0x53e8c3(0x11f)+_0x53e8c3(0x116)+_0x53e8c3(0x115));_0x16e825();}catch(_0x485466){_0x474283(_0x485466);}});}async[a0_0x3d1dc5(0x102)](_0x3f44ed,_0x4877ae){const _0x1421b8=a0_0x3d1dc5,_0x184db4={};_0x184db4[_0x1421b8(0x118)]=function(_0x5c9212,_0x29896b){return _0x5c9212+_0x29896b;};const _0x37d266=_0x184db4;if(!this[_0x1421b8(0xc0)]||this['process'][_0x1421b8(0x104)]!==null)throw new Error(_0x1421b8(0xe1)+_0x1421b8(0xbb));const _0x5ac715=this['messageId']++,_0x1b2c41={};_0x1b2c41['jsonrpc']=_0x1421b8(0xd6),_0x1b2c41['id']=_0x5ac715,_0x1b2c41[_0x1421b8(0x100)]=_0x3f44ed,_0x1b2c41['params']=_0x4877ae;const _0x197cb9=_0x1b2c41;return new Promise((_0x3c0456,_0x43b3e2)=>{const _0x12f8f7=_0x1421b8;this[_0x12f8f7(0xe9)+_0x12f8f7(0xfe)][_0x12f8f7(0xdd)](_0x5ac715,(_0xf7b328,_0x2eebe3)=>{if(_0xf7b328)_0x3c0456(_0xf7b328);else _0x43b3e2(_0x2eebe3);});const _0x329a3a=JSON[_0x12f8f7(0xf1)](_0x197cb9);try{const _0x4fc9a2=this[_0x12f8f7(0xc0)][_0x12f8f7(0xf4)][_0x12f8f7(0xd7)](_0x37d266[_0x12f8f7(0x118)](_0x329a3a,'\x0a'));!_0x4fc9a2&&console[_0x12f8f7(0xd5)](_0x12f8f7(0xcb)+_0x12f8f7(0x11f)+_0x12f8f7(0x116)+_0x12f8f7(0x10f));}catch(_0x27c6a0){this[_0x12f8f7(0xe9)+_0x12f8f7(0xfe)][_0x12f8f7(0x112)](_0x5ac715),_0x43b3e2(_0x27c6a0);}});}['onNotifica'+a0_0x3d1dc5(0x106)](_0x866a9b,_0x218a12){const _0x27f947=a0_0x3d1dc5;this[_0x27f947(0xcd)+'onHandlers']['set'](_0x866a9b,_0x218a12);}[a0_0x3d1dc5(0xe2)+a0_0x3d1dc5(0xce)](_0x40eae9){const _0x53ed71=a0_0x3d1dc5,_0x2d4922={};_0x2d4922[_0x53ed71(0xc4)]=function(_0x23c98e,_0x7c8803){return _0x23c98e!==_0x7c8803;};const _0x1d5f2d=_0x2d4922;if(_0x1d5f2d['bQSzy'](_0x40eae9['id'],undefined)&&(_0x40eae9[_0x53ed71(0xd2)]!==undefined||_0x40eae9[_0x53ed71(0xfc)]!==undefined)){const _0x2eaf77=this['pendingReq'+_0x53ed71(0xfe)][_0x53ed71(0xe0)](_0x40eae9['id']);_0x2eaf77&&(this[_0x53ed71(0xe9)+'uests'][_0x53ed71(0x112)](_0x40eae9['id']),_0x40eae9[_0x53ed71(0xfc)]?_0x2eaf77(null,new Error(_0x53ed71(0xef)+_0x53ed71(0xc5)+JSON[_0x53ed71(0xf1)](_0x40eae9[_0x53ed71(0xfc)]))):_0x2eaf77(_0x40eae9[_0x53ed71(0xd2)],null));}else{if(_0x40eae9['method']&&!_0x40eae9['id']){const _0x45296e=this[_0x53ed71(0xcd)+_0x53ed71(0xf7)][_0x53ed71(0xe0)](_0x40eae9['method']);_0x45296e&&_0x45296e(_0x40eae9[_0x53ed71(0xfd)]);}}}}
@@ -1 +1 @@
1
- (function(_0x15423f,_0x231a4d){const _0x5594bd=a1_0x16d4,_0x432da7=_0x15423f();while(!![]){try{const _0x402b07=parseInt(_0x5594bd(0x1fc))/0x1+-parseInt(_0x5594bd(0x1f6))/0x2+-parseInt(_0x5594bd(0x1df))/0x3*(-parseInt(_0x5594bd(0x203))/0x4)+-parseInt(_0x5594bd(0x1da))/0x5*(parseInt(_0x5594bd(0x1f0))/0x6)+parseInt(_0x5594bd(0x1fb))/0x7+parseInt(_0x5594bd(0x207))/0x8*(-parseInt(_0x5594bd(0x1d4))/0x9)+parseInt(_0x5594bd(0x1ff))/0xa;if(_0x402b07===_0x231a4d)break;else _0x432da7['push'](_0x432da7['shift']());}catch(_0x40d314){_0x432da7['push'](_0x432da7['shift']());}}}(a1_0x10c3,0x1b835));import{McpClient}from'../mcp-test/mcp-client.js';function a1_0x16d4(_0x59f111,_0x1695df){_0x59f111=_0x59f111-0x1cc;const _0x18d798=a1_0x10c3();let _0x22b934=_0x18d798[_0x59f111];return _0x22b934;}import a1_0x165f44 from'fs';async function main(){const _0x1a37f9=a1_0x16d4,_0x2f91b4={'nMjcU':function(_0x51dae4){return _0x51dae4();},'efTmE':_0x1a37f9(0x1d9),'tAJCL':'TC042','PtaVJ':'\x0a===\x20분석\x20결과'+_0x1a37f9(0x1e4)},_0x3e69aa=(function(){let _0x467d37=!![];return function(_0x8163d,_0x5cb081){const _0x2b0219=_0x467d37?function(){if(_0x5cb081){const _0xd2c4ac=_0x5cb081['apply'](_0x8163d,arguments);return _0x5cb081=null,_0xd2c4ac;}}:function(){};return _0x467d37=![],_0x2b0219;};}()),_0xc716c3=_0x3e69aa(this,function(){const _0x29c01b=_0x1a37f9;return _0xc716c3['toString']()['search'](_0x29c01b(0x1fa)+'+$')['toString']()[_0x29c01b(0x1cd)+'r'](_0xc716c3)[_0x29c01b(0x200)](_0x29c01b(0x1fa)+'+$');});_0x2f91b4[_0x1a37f9(0x214)](_0xc716c3);const _0x3db2eb=new McpClient(_0x1a37f9(0x205),['dist/src/s'+_0x1a37f9(0x20b)]);try{await _0x3db2eb['start'](),console[_0x1a37f9(0x20d)]('✅\x20MCP\x20서버\x20연'+_0x1a37f9(0x211));const _0x182300={};_0x182300[_0x1a37f9(0x215)]=[];const _0x5b1c85={};_0x5b1c85['id']=_0x1a37f9(0x1e1),_0x5b1c85[_0x1a37f9(0x1d3)]=_0x1a37f9(0x209)+_0x1a37f9(0x1d5),_0x5b1c85[_0x1a37f9(0x1e0)]=_0x182300;const _0x29326b={};_0x29326b[_0x1a37f9(0x215)]=[_0x1a37f9(0x1e2)+_0x1a37f9(0x1ed)+'va'];const _0x478fc6={};_0x478fc6['id']=_0x1a37f9(0x20a),_0x478fc6[_0x1a37f9(0x1d3)]='analyze_fi'+_0x1a37f9(0x1d5),_0x478fc6[_0x1a37f9(0x1e0)]=_0x29326b;const _0x1e7e1c={};_0x1e7e1c[_0x1a37f9(0x1d0)]='999999999';const _0x33a4c5={};_0x33a4c5['id']=_0x1a37f9(0x212),_0x33a4c5[_0x1a37f9(0x1d3)]='get_analys'+'is_status',_0x33a4c5[_0x1a37f9(0x1e0)]=_0x1e7e1c;const _0x58317d={};_0x58317d[_0x1a37f9(0x1d0)]='999999999';const _0x31e094={};_0x31e094['id']=_0x1a37f9(0x1d1),_0x31e094[_0x1a37f9(0x1d3)]='track_anal'+'ysis_progr'+'ess',_0x31e094[_0x1a37f9(0x1e0)]=_0x58317d;const _0x46bb68={};_0x46bb68[_0x1a37f9(0x1e8)]='';const _0x3b345e={};_0x3b345e['id']=_0x1a37f9(0x1e3),_0x3b345e[_0x1a37f9(0x1d3)]=_0x1a37f9(0x1ce)+'lder_sast',_0x3b345e[_0x1a37f9(0x1e0)]=_0x46bb68;const _0x5ecf0d={};_0x5ecf0d[_0x1a37f9(0x1e8)]=_0x1a37f9(0x1e2)+_0x1a37f9(0x1cc);const _0x7a12d3={};_0x7a12d3['id']='TC033',_0x7a12d3[_0x1a37f9(0x1d3)]='analyze_fo'+_0x1a37f9(0x1d2),_0x7a12d3[_0x1a37f9(0x1e0)]=_0x5ecf0d;const _0x390d07={};_0x390d07[_0x1a37f9(0x1f1)+'h']=_0x1a37f9(0x1e2)+_0x1a37f9(0x210);const _0x7b6760={};_0x7b6760['id']=_0x2f91b4[_0x1a37f9(0x213)],_0x7b6760[_0x1a37f9(0x1d3)]=_0x1a37f9(0x1ee)+'p_sast',_0x7b6760[_0x1a37f9(0x1e0)]=_0x390d07;const _0x1ff5eb={};_0x1ff5eb[_0x1a37f9(0x215)]=[];const _0x5dbf23={};_0x5dbf23['id']='TC039',_0x5dbf23[_0x1a37f9(0x1d3)]=_0x1a37f9(0x209)+_0x1a37f9(0x1f9),_0x5dbf23[_0x1a37f9(0x1e0)]=_0x1ff5eb;const _0x765bfa={};_0x765bfa[_0x1a37f9(0x1e8)]='';const _0x14588d={};_0x14588d['id']=_0x2f91b4[_0x1a37f9(0x1dd)],_0x14588d['name']=_0x1a37f9(0x1ce)+_0x1a37f9(0x1fe),_0x14588d[_0x1a37f9(0x1e0)]=_0x765bfa;const _0x1ed8fc={};_0x1ed8fc[_0x1a37f9(0x1f1)+'h']=_0x1a37f9(0x1e2)+'nt.zip';const _0x445750={};_0x445750['id']='TC045',_0x445750[_0x1a37f9(0x1d3)]=_0x1a37f9(0x1ee)+_0x1a37f9(0x1f4),_0x445750[_0x1a37f9(0x1e0)]=_0x1ed8fc;const _0x348a5d=[_0x5b1c85,_0x478fc6,_0x33a4c5,_0x31e094,_0x3b345e,_0x7a12d3,_0x7b6760,_0x5dbf23,_0x14588d,_0x445750],_0x7ace33={};for(const _0x37bbee of _0x348a5d){console[_0x1a37f9(0x20d)](_0x1a37f9(0x202)+_0x37bbee['id']+':\x20'+_0x37bbee[_0x1a37f9(0x1d3)]+'...');try{const _0x47ba06={};_0x47ba06['name']=_0x37bbee['name'],_0x47ba06[_0x1a37f9(0x1db)]=_0x37bbee[_0x1a37f9(0x1e0)];const _0x20bb72=await _0x3db2eb[_0x1a37f9(0x20c)]('tools/call',_0x47ba06);_0x7ace33[_0x37bbee['id']]={'test':_0x37bbee[_0x1a37f9(0x1d3)],'args':_0x37bbee[_0x1a37f9(0x1e0)],'response':_0x20bb72,'hasIsError':!!_0x20bb72[_0x1a37f9(0x1d7)],'hasStructuredContent':!!_0x20bb72['structured'+_0x1a37f9(0x1f2)],'contentText':_0x20bb72[_0x1a37f9(0x1f5)]?.[0x0]?.[_0x1a37f9(0x1f3)],'isErrorResponseCheck':_0x20bb72['isError']===!![]||_0x20bb72['content']?.[0x0]?.[_0x1a37f9(0x1f3)]?.[_0x1a37f9(0x1fd)+'e']()[_0x1a37f9(0x201)](_0x1a37f9(0x1f7))||_0x20bb72['content']?.[0x0]?.[_0x1a37f9(0x1f3)]?.[_0x1a37f9(0x1fd)+'e']()[_0x1a37f9(0x201)]('validation')};}catch(_0x3aa026){_0x7ace33[_0x37bbee['id']]={'test':_0x37bbee['name'],'args':_0x37bbee[_0x1a37f9(0x1e0)],'error':_0x3aa026['message']};}}a1_0x165f44[_0x1a37f9(0x208)+_0x1a37f9(0x1d8)](_0x1a37f9(0x20f)+_0x1a37f9(0x1cf)+_0x1a37f9(0x20e),JSON['stringify'](_0x7ace33,null,0x2)),console[_0x1a37f9(0x20d)](_0x1a37f9(0x1dc)+_0x1a37f9(0x20f)+_0x1a37f9(0x1cf)+_0x1a37f9(0x20e)),console[_0x1a37f9(0x20d)](_0x2f91b4[_0x1a37f9(0x1d6)]);for(const [_0x5bed72,_0x43162e]of Object[_0x1a37f9(0x204)](_0x7ace33)){const _0x122dea=_0x43162e;console[_0x1a37f9(0x20d)](_0x5bed72+_0x1a37f9(0x1de)+_0x122dea[_0x1a37f9(0x1ea)]+(_0x1a37f9(0x1ef)+_0x1a37f9(0x1e9)+'nt=')+_0x122dea['hasStructu'+_0x1a37f9(0x1e7)]+(_0x1a37f9(0x1eb)+_0x1a37f9(0x206))+_0x122dea[_0x1a37f9(0x1f8)+_0x1a37f9(0x1e6)]);}await _0x3db2eb[_0x1a37f9(0x1ec)]();}catch(_0x413517){console[_0x1a37f9(0x1f7)](_0x1a37f9(0x1e5),_0x413517),await _0x3db2eb[_0x1a37f9(0x1ec)](),process[_0x1a37f9(0x216)](0x1);}}main();function a1_0x10c3(){const _0x20a29e=['1533512KVbUWJ','writeFileS','analyze_fi','TC008','erver.js','request','log','es.json','failed-tes','nt.zip','결\x20성공\x0a','TC014','efTmE','nMjcU','filePaths','exit','nt/folder','constructo','analyze_fo','ts-respons','analysisId','TC029','lder_sast','name','9rWFPrH','les_sast','PtaVJ','isError','ync','TC036','3215sYyapb','arguments','\x0a✅\x20결과\x20저장:\x20','tAJCL',':\x20isError=','1659ICpmyw','args','TC007','/nonexiste','TC032','\x20===','Error:','ponseCheck','redContent','folderPath','turedConte','hasIsError',',\x20isErrorR','stop','nt/file.ja','analyze_zi',',\x20hasStruc','858KUTDpO','zipFilePat','Content','text','p_sca','content','409480jTEsJl','error','isErrorRes','les_sca','(((.+)+)+)','1465016HOzsOA','99963elKvgF','toLowerCas','lder_sca','2370730fQQont','search','includes','Testing\x20','396QGyYUt','entries','node','esponse='];a1_0x10c3=function(){return _0x20a29e;};return a1_0x10c3();}
1
+ (function(_0x181251,_0x238e45){const _0x266a7d=a1_0x3c27,_0x270e1f=_0x181251();while(!![]){try{const _0x57a7ff=-parseInt(_0x266a7d(0xfc))/0x1+parseInt(_0x266a7d(0x100))/0x2+parseInt(_0x266a7d(0xbd))/0x3*(parseInt(_0x266a7d(0xbb))/0x4)+parseInt(_0x266a7d(0xf4))/0x5+parseInt(_0x266a7d(0xfa))/0x6+-parseInt(_0x266a7d(0xb7))/0x7+-parseInt(_0x266a7d(0xfb))/0x8;if(_0x57a7ff===_0x238e45)break;else _0x270e1f['push'](_0x270e1f['shift']());}catch(_0x505f97){_0x270e1f['push'](_0x270e1f['shift']());}}}(a1_0x43fb,0x4a848));import{McpClient}from'../mcp-test/mcp-client.js';function a1_0x3c27(_0x3d7124,_0x50926d){_0x3d7124=_0x3d7124-0xb4;const _0x346035=a1_0x43fb();let _0x98dbdb=_0x346035[_0x3d7124];return _0x98dbdb;}import a1_0x3c7323 from'fs';async function main(){const _0x4275ad=a1_0x3c27,_0xf22a9={};_0xf22a9[_0x4275ad(0xf5)]='TC032',_0xf22a9[_0x4275ad(0xde)]=_0x4275ad(0xf8)+'p_sast',_0xf22a9['GbqPA']=_0x4275ad(0xcf)+_0x4275ad(0xbc)+_0x4275ad(0xdd);const _0xd382e7=_0xf22a9,_0x5bea2f=(function(){let _0x271b70=!![];return function(_0x3378a6,_0x287b91){const _0x1ec069=_0x271b70?function(){const _0x2a7d0f=a1_0x3c27;if(_0x287b91){const _0x4f13e8=_0x287b91[_0x2a7d0f(0xfe)](_0x3378a6,arguments);return _0x287b91=null,_0x4f13e8;}}:function(){};return _0x271b70=![],_0x1ec069;};}()),_0x5e5442=_0x5bea2f(this,function(){const _0x36a7f1=_0x4275ad;return _0x5e5442[_0x36a7f1(0xf2)]()[_0x36a7f1(0xb6)](_0x36a7f1(0xeb)+'+$')[_0x36a7f1(0xf2)]()['constructo'+'r'](_0x5e5442)['search'](_0x36a7f1(0xeb)+'+$');});_0x5e5442();const _0x34b40f=new McpClient(_0x4275ad(0xf3),[_0x4275ad(0xd8)+_0x4275ad(0xd4)]);try{await _0x34b40f[_0x4275ad(0xdc)](),console[_0x4275ad(0xca)](_0x4275ad(0x102)+_0x4275ad(0xe1));const _0x4564d9={};_0x4564d9['filePaths']=[];const _0x4309cc={};_0x4309cc['id']=_0x4275ad(0xe8),_0x4309cc[_0x4275ad(0xc7)]='analyze_fi'+'les_sast',_0x4309cc['args']=_0x4564d9;const _0x51c5a0={};_0x51c5a0[_0x4275ad(0xed)]=[_0x4275ad(0xd5)+_0x4275ad(0xdb)+'va'];const _0x5c8325={};_0x5c8325['id']=_0x4275ad(0xe3),_0x5c8325[_0x4275ad(0xc7)]=_0x4275ad(0xf6)+_0x4275ad(0xe7),_0x5c8325['args']=_0x51c5a0;const _0x2db396={};_0x2db396['analysisId']=_0x4275ad(0xcb);const _0xd46504={};_0xd46504['id']=_0x4275ad(0xc5),_0xd46504[_0x4275ad(0xc7)]=_0x4275ad(0xb5)+_0x4275ad(0xb8),_0xd46504[_0x4275ad(0x101)]=_0x2db396;const _0x3b5d80={};_0x3b5d80[_0x4275ad(0xce)]=_0x4275ad(0xcb);const _0x446813={};_0x446813['id']='TC029',_0x446813[_0x4275ad(0xc7)]=_0x4275ad(0xea)+_0x4275ad(0xba)+_0x4275ad(0xc2),_0x446813[_0x4275ad(0x101)]=_0x3b5d80;const _0x270a27={};_0x270a27['folderPath']='';const _0x14ca10={};_0x14ca10['id']=_0xd382e7['PNfBl'],_0x14ca10['name']=_0x4275ad(0xf0)+_0x4275ad(0xe9),_0x14ca10['args']=_0x270a27;const _0x1fd372={};_0x1fd372[_0x4275ad(0xd6)]=_0x4275ad(0xd5)+_0x4275ad(0xef);const _0x5e7f9c={};_0x5e7f9c['id']='TC033',_0x5e7f9c[_0x4275ad(0xc7)]=_0x4275ad(0xf0)+_0x4275ad(0xe9),_0x5e7f9c[_0x4275ad(0x101)]=_0x1fd372;const _0x2c903f={};_0x2c903f[_0x4275ad(0xff)+'h']='/nonexiste'+_0x4275ad(0xc6);const _0x17900f={};_0x17900f['id']=_0x4275ad(0xd1),_0x17900f[_0x4275ad(0xc7)]=_0xd382e7[_0x4275ad(0xde)],_0x17900f['args']=_0x2c903f;const _0x3f44bc={};_0x3f44bc['filePaths']=[];const _0x7eb002={};_0x7eb002['id']=_0x4275ad(0xcd),_0x7eb002[_0x4275ad(0xc7)]=_0x4275ad(0xf6)+'les_sca',_0x7eb002['args']=_0x3f44bc;const _0x290658={};_0x290658[_0x4275ad(0xd6)]='';const _0x31f284={};_0x31f284['id']=_0x4275ad(0xd0),_0x31f284[_0x4275ad(0xc7)]=_0x4275ad(0xf0)+_0x4275ad(0xf1),_0x31f284['args']=_0x290658;const _0xa8b77d={};_0xa8b77d['zipFilePat'+'h']=_0x4275ad(0xd5)+_0x4275ad(0xc6);const _0x58258c={};_0x58258c['id']='TC045',_0x58258c['name']=_0x4275ad(0xf8)+_0x4275ad(0xf7),_0x58258c[_0x4275ad(0x101)]=_0xa8b77d;const _0x5aaf31=[_0x4309cc,_0x5c8325,_0xd46504,_0x446813,_0x14ca10,_0x5e7f9c,_0x17900f,_0x7eb002,_0x31f284,_0x58258c],_0x45e112={};for(const _0x219abe of _0x5aaf31){console[_0x4275ad(0xca)](_0x4275ad(0xd7)+_0x219abe['id']+':\x20'+_0x219abe[_0x4275ad(0xc7)]+_0x4275ad(0xc9));try{const _0x42614f={};_0x42614f[_0x4275ad(0xc7)]=_0x219abe[_0x4275ad(0xc7)],_0x42614f[_0x4275ad(0xc4)]=_0x219abe[_0x4275ad(0x101)];const _0x8ae6f1=await _0x34b40f['request'](_0x4275ad(0xe2),_0x42614f);_0x45e112[_0x219abe['id']]={'test':_0x219abe[_0x4275ad(0xc7)],'args':_0x219abe[_0x4275ad(0x101)],'response':_0x8ae6f1,'hasIsError':!!_0x8ae6f1[_0x4275ad(0xe0)],'hasStructuredContent':!!_0x8ae6f1['structured'+_0x4275ad(0xd9)],'contentText':_0x8ae6f1[_0x4275ad(0xe4)]?.[0x0]?.[_0x4275ad(0xe5)],'isErrorResponseCheck':_0x8ae6f1[_0x4275ad(0xe0)]===!![]||_0x8ae6f1[_0x4275ad(0xe4)]?.[0x0]?.[_0x4275ad(0xe5)]?.[_0x4275ad(0xcc)+'e']()['includes'](_0x4275ad(0xbf))||_0x8ae6f1[_0x4275ad(0xe4)]?.[0x0]?.[_0x4275ad(0xe5)]?.[_0x4275ad(0xcc)+'e']()['includes'](_0x4275ad(0xc0))};}catch(_0x4b8ba2){_0x45e112[_0x219abe['id']]={'test':_0x219abe[_0x4275ad(0xc7)],'args':_0x219abe[_0x4275ad(0x101)],'error':_0x4b8ba2[_0x4275ad(0xfd)]};}}a1_0x3c7323[_0x4275ad(0xf9)+'ync'](_0xd382e7[_0x4275ad(0xd2)],JSON[_0x4275ad(0xda)](_0x45e112,null,0x2)),console['log']('\x0a✅\x20결과\x20저장:\x20'+_0x4275ad(0xcf)+_0x4275ad(0xbc)+_0x4275ad(0xdd)),console[_0x4275ad(0xca)]('\x0a===\x20분석\x20결과'+_0x4275ad(0xec));for(const [_0x361d09,_0x356c47]of Object[_0x4275ad(0xb4)](_0x45e112)){const _0x3c3b62=_0x356c47;console[_0x4275ad(0xca)](_0x361d09+_0x4275ad(0xb9)+_0x3c3b62['hasIsError']+(',\x20hasStruc'+_0x4275ad(0xdf)+_0x4275ad(0xe6))+_0x3c3b62[_0x4275ad(0xc8)+_0x4275ad(0xbe)]+(_0x4275ad(0xc1)+'esponse=')+_0x3c3b62[_0x4275ad(0xc3)+'ponseCheck']);}await _0x34b40f['stop']();}catch(_0x24d1fd){console[_0x4275ad(0xbf)]('Error:',_0x24d1fd),await _0x34b40f[_0x4275ad(0xee)](),process[_0x4275ad(0xd3)](0x1);}}main();function a1_0x43fb(){const _0x4ae689=['nt/file.ja','start','es.json','UwtJo','turedConte','isError','결\x20성공\x0a','tools/call','TC008','content','text','nt=','les_sast','TC007','lder_sast','track_anal','(((.+)+)+)','\x20===','filePaths','stop','nt/folder','analyze_fo','lder_sca','toString','node','1657585URBvyd','PNfBl','analyze_fi','p_sca','analyze_zi','writeFileS','2102868xBldtA','3978072YWjOFV','410218pjrylQ','message','apply','zipFilePat','792706dbKlRu','args','✅\x20MCP\x20서버\x20','entries','get_analys','search','2056327tLxzSV','is_status',':\x20isError=','ysis_progr','10316JspuYs','ts-respons','498dHjLMn','redContent','error','validation',',\x20isErrorR','ess','isErrorRes','arguments','TC014','nt.zip','name','hasStructu','...','log','999999999','toLowerCas','TC039','analysisId','failed-tes','TC042','TC036','GbqPA','exit','erver.js','/nonexiste','folderPath','Testing\x20','dist/src/s','Content','stringify'];a1_0x43fb=function(){return _0x4ae689;};return a1_0x43fb();}
@@ -1 +1 @@
1
- const a2_0x14eeed=a2_0x215e;(function(_0x270d62,_0xa5519b){const _0x3621e2=a2_0x215e,_0x348028=_0x270d62();while(!![]){try{const _0x3018df=-parseInt(_0x3621e2(0x8b))/0x1+-parseInt(_0x3621e2(0xa5))/0x2*(parseInt(_0x3621e2(0xa2))/0x3)+parseInt(_0x3621e2(0x76))/0x4*(parseInt(_0x3621e2(0x9b))/0x5)+-parseInt(_0x3621e2(0xa6))/0x6*(parseInt(_0x3621e2(0x94))/0x7)+-parseInt(_0x3621e2(0x9a))/0x8*(-parseInt(_0x3621e2(0xb5))/0x9)+parseInt(_0x3621e2(0xa3))/0xa+-parseInt(_0x3621e2(0xae))/0xb*(parseInt(_0x3621e2(0xb7))/0xc);if(_0x3018df===_0xa5519b)break;else _0x348028['push'](_0x348028['shift']());}catch(_0x2a2041){_0x348028['push'](_0x348028['shift']());}}}(a2_0x4673,0x8b12e));function a2_0x4673(){const _0x1da7de=['apply','\x20===','EXTENSION\x20','s\x20WHERE\x20id','fileName','dist/src/s','sast\x20WITHO','KVrzu','\x0a✅\x20결과\x20저장:\x20','54716rDIGVN','request','arguments','ntroller\x20{','Error:','tools/call','lyze_file_','TC001:\x20ana','(.java)','TC001\x20has\x20','le_sast','analyze_fi','comparison','tc001_erro','\x0a===\x20핵심\x20발견','nse.json','ller.java','UT\x20extensi','structured','tc001_anal','ync','465379IOEaOe','c\x20void\x20get','결\x20성공\x0a','tc001-vs-t','ysisId','(((.+)+)+)','UserContro','erver.js','Content:','7YhuSoj','bckTq','exit','c005-respo','TC005:\x20ana','start','712vFWuQA','175GEQWSw','analysisId','constructo','name','\x20=\x20\x27\x22\x20+\x20id','error','stop','844233OwnRBu','9405970nBQMkN','fileConten','2UqNcNV','1131144iKxevl','User(Strin','tc005_anal','Content','AFRdK','TC005\x20has\x20','ller','toString','2225993PJIPEe','tc005_erro','node','\x20\x22SELECT\x20*','tc001_has_','\x0apublic\x20cl','\x0a\x20\x20\x20\x20publi','70047YZXVxP','log','36qZTnbj','writeFileS'];a2_0x4673=function(){return _0x1da7de;};return a2_0x4673();}import{McpClient}from'../mcp-test/mcp-client.js';import a2_0xffc2de from'fs';function a2_0x215e(_0x3006a9,_0x21c659){_0x3006a9=_0x3006a9-0x70;const _0x165aee=a2_0x4673();let _0x31a637=_0x165aee[_0x3006a9];return _0x31a637;}const BUILTIN_JAVA_CODE=a2_0x14eeed(0xb3)+'ass\x20UserCo'+a2_0x14eeed(0x79)+a2_0x14eeed(0xb4)+a2_0x14eeed(0x8c)+a2_0x14eeed(0xa7)+'g\x20id)\x20{\x0a\x20\x20'+'\x20\x20\x20\x20\x20\x20Stri'+'ng\x20query\x20='+a2_0x14eeed(0xb1)+'\x20FROM\x20user'+a2_0x14eeed(0x70)+a2_0x14eeed(0x9f)+'\x20+\x20\x22\x27\x22;\x0a\x20\x20'+'\x20\x20}\x0a}';async function main(){const _0x3abc21=a2_0x14eeed,_0x7881e1={'KVrzu':function(_0x4aed27,_0x88f56e,_0x21e4d9){return _0x4aed27(_0x88f56e,_0x21e4d9);},'AFRdK':function(_0x12e47f){return _0x12e47f();},'bckTq':_0x3abc21(0x7d)+_0x3abc21(0x7c)+'sast\x20with\x20'+_0x3abc21(0xbb)+_0x3abc21(0x7e)},_0x3312be=(function(){let _0x3f4b7d=!![];return function(_0x289ec7,_0x4d2c9f){const _0x8cfcf0=_0x3f4b7d?function(){const _0x5491ef=a2_0x215e;if(_0x4d2c9f){const _0x501527=_0x4d2c9f[_0x5491ef(0xb9)](_0x289ec7,arguments);return _0x4d2c9f=null,_0x501527;}}:function(){};return _0x3f4b7d=![],_0x8cfcf0;};}()),_0x3d2994=_0x7881e1[_0x3abc21(0x74)](_0x3312be,this,function(){const _0x1dbc93=_0x3abc21;return _0x3d2994[_0x1dbc93(0xad)]()['search']('(((.+)+)+)'+'+$')[_0x1dbc93(0xad)]()[_0x1dbc93(0x9d)+'r'](_0x3d2994)['search'](_0x1dbc93(0x90)+'+$');});_0x7881e1[_0x3abc21(0xaa)](_0x3d2994);const _0x85ded8=new McpClient(_0x3abc21(0xb0),[_0x3abc21(0x72)+_0x3abc21(0x92)]);try{await _0x85ded8[_0x3abc21(0x99)](),console[_0x3abc21(0xb6)]('✅\x20MCP\x20서버\x20연'+_0x3abc21(0x8d)),console['log'](_0x7881e1[_0x3abc21(0x95)]);const _0x47da16={};_0x47da16[_0x3abc21(0xa4)+'t']=BUILTIN_JAVA_CODE,_0x47da16[_0x3abc21(0x71)]=_0x3abc21(0x91)+_0x3abc21(0x86);const _0x3843af={};_0x3843af[_0x3abc21(0x9e)]='analyze_fi'+_0x3abc21(0x80),_0x3843af[_0x3abc21(0x78)]=_0x47da16;const _0x18dbf4=await _0x85ded8[_0x3abc21(0x77)](_0x3abc21(0x7b),_0x3843af);console[_0x3abc21(0xb6)](_0x3abc21(0x98)+_0x3abc21(0x7c)+_0x3abc21(0x73)+_0x3abc21(0x87)+'on');const _0x475052={};_0x475052['fileConten'+'t']=BUILTIN_JAVA_CODE,_0x475052[_0x3abc21(0x71)]=_0x3abc21(0x91)+_0x3abc21(0xac);const _0x3bf484={};_0x3bf484[_0x3abc21(0x9e)]=_0x3abc21(0x81)+_0x3abc21(0x80),_0x3bf484[_0x3abc21(0x78)]=_0x475052;const _0x68cfc4=await _0x85ded8['request'](_0x3abc21(0x7b),_0x3bf484),_0x7acfaf={};_0x7acfaf['TC001']=_0x18dbf4,_0x7acfaf['TC005']=_0x68cfc4,_0x7acfaf[_0x3abc21(0x82)]={},_0x7acfaf[_0x3abc21(0x82)][_0x3abc21(0xb2)+'structured'+'Content']=!!_0x18dbf4[_0x3abc21(0x88)+_0x3abc21(0xa9)],_0x7acfaf[_0x3abc21(0x82)]['tc005_has_'+'structured'+_0x3abc21(0xa9)]=!!_0x68cfc4[_0x3abc21(0x88)+'Content'],_0x7acfaf[_0x3abc21(0x82)][_0x3abc21(0x83)+'r']=_0x18dbf4[_0x3abc21(0x88)+_0x3abc21(0xa9)]?.['error'],_0x7acfaf[_0x3abc21(0x82)][_0x3abc21(0xaf)+'r']=_0x68cfc4[_0x3abc21(0x88)+_0x3abc21(0xa9)]?.[_0x3abc21(0xa0)],_0x7acfaf[_0x3abc21(0x82)][_0x3abc21(0x89)+_0x3abc21(0x8f)]=_0x18dbf4['structured'+_0x3abc21(0xa9)]?.[_0x3abc21(0x9c)],_0x7acfaf[_0x3abc21(0x82)][_0x3abc21(0xa8)+'ysisId']=_0x68cfc4[_0x3abc21(0x88)+_0x3abc21(0xa9)]?.[_0x3abc21(0x9c)];const _0x3407bb=_0x7acfaf;a2_0xffc2de[_0x3abc21(0xb8)+_0x3abc21(0x8a)](_0x3abc21(0x8e)+_0x3abc21(0x97)+_0x3abc21(0x85),JSON['stringify'](_0x3407bb,null,0x2)),console[_0x3abc21(0xb6)](_0x3abc21(0x75)+'tc001-vs-t'+_0x3abc21(0x97)+_0x3abc21(0x85)),console[_0x3abc21(0xb6)](_0x3abc21(0x84)+_0x3abc21(0xba)),console[_0x3abc21(0xb6)](_0x3abc21(0x7f)+_0x3abc21(0x88)+_0x3abc21(0x93),!!_0x18dbf4['structured'+'Content']),console['log'](_0x3abc21(0xab)+_0x3abc21(0x88)+'Content:',!!_0x68cfc4[_0x3abc21(0x88)+_0x3abc21(0xa9)]),await _0x85ded8[_0x3abc21(0xa1)]();}catch(_0x370633){console[_0x3abc21(0xa0)](_0x3abc21(0x7a),_0x370633),await _0x85ded8[_0x3abc21(0xa1)](),process[_0x3abc21(0x96)](0x1);}}main();
1
+ const a2_0x3d3578=a2_0x46c3;function a2_0x46c3(_0x200553,_0x1c1e86){_0x200553=_0x200553-0xe8;const _0x572a8f=a2_0x1cdc();let _0xc52c3c=_0x572a8f[_0x200553];return _0xc52c3c;}(function(_0x1e7dff,_0x543519){const _0x2046a9=a2_0x46c3,_0xa0bfbc=_0x1e7dff();while(!![]){try{const _0x22f767=-parseInt(_0x2046a9(0x131))/0x1*(parseInt(_0x2046a9(0xe9))/0x2)+parseInt(_0x2046a9(0x12c))/0x3+-parseInt(_0x2046a9(0x11d))/0x4+-parseInt(_0x2046a9(0x134))/0x5+parseInt(_0x2046a9(0xf8))/0x6*(-parseInt(_0x2046a9(0x100))/0x7)+parseInt(_0x2046a9(0xea))/0x8*(parseInt(_0x2046a9(0xfc))/0x9)+parseInt(_0x2046a9(0xfd))/0xa;if(_0x22f767===_0x543519)break;else _0xa0bfbc['push'](_0xa0bfbc['shift']());}catch(_0x3fd09a){_0xa0bfbc['push'](_0xa0bfbc['shift']());}}}(a2_0x1cdc,0xf1416));import{McpClient}from'../mcp-test/mcp-client.js';import a2_0x2e575e from'fs';const BUILTIN_JAVA_CODE=a2_0x3d3578(0x11b)+a2_0x3d3578(0x129)+a2_0x3d3578(0x12a)+a2_0x3d3578(0x112)+a2_0x3d3578(0x10f)+'User(Strin'+a2_0x3d3578(0x105)+a2_0x3d3578(0x125)+a2_0x3d3578(0x11c)+a2_0x3d3578(0x102)+'\x20FROM\x20user'+a2_0x3d3578(0x11a)+'\x20=\x20\x27\x22\x20+\x20id'+'\x20+\x20\x22\x27\x22;\x0a\x20\x20'+a2_0x3d3578(0x135);async function main(){const _0x3a169e=a2_0x3d3578,_0x13225a={'FmOSg':_0x3a169e(0xfe)+'+$','LcVtJ':function(_0x20ec52){return _0x20ec52();},'jwIct':_0x3a169e(0xf7)},_0x1bcba9=(function(){let _0x215e5a=!![];return function(_0x45df01,_0x3213ba){const _0x4a78e8=_0x215e5a?function(){const _0x4baca8=a2_0x46c3;if(_0x3213ba){const _0xd7bdfe=_0x3213ba[_0x4baca8(0xfb)](_0x45df01,arguments);return _0x3213ba=null,_0xd7bdfe;}}:function(){};return _0x215e5a=![],_0x4a78e8;};}()),_0x56d7e6=_0x1bcba9(this,function(){const _0x5b16e3=_0x3a169e;return _0x56d7e6['toString']()['search'](_0x13225a[_0x5b16e3(0xe8)])['toString']()[_0x5b16e3(0x120)+'r'](_0x56d7e6)[_0x5b16e3(0x116)](_0x5b16e3(0xfe)+'+$');});_0x13225a[_0x3a169e(0x10a)](_0x56d7e6);const _0x7e8d47=new McpClient(_0x3a169e(0xf9),[_0x3a169e(0xf0)+_0x3a169e(0xf6)]);try{await _0x7e8d47[_0x3a169e(0xf5)](),console[_0x3a169e(0xf3)](_0x3a169e(0x109)+_0x3a169e(0x130)),console['log'](_0x3a169e(0x12b)+_0x3a169e(0x103)+_0x3a169e(0x108)+_0x3a169e(0xef)+_0x3a169e(0x10b));const _0x58b1be={};_0x58b1be[_0x3a169e(0x12d)+'t']=BUILTIN_JAVA_CODE,_0x58b1be[_0x3a169e(0x117)]='UserContro'+_0x3a169e(0x104);const _0x25f8bf={};_0x25f8bf[_0x3a169e(0x107)]='analyze_fi'+_0x3a169e(0x115),_0x25f8bf[_0x3a169e(0x118)]=_0x58b1be;const _0x135221=await _0x7e8d47[_0x3a169e(0x119)](_0x13225a[_0x3a169e(0xf4)],_0x25f8bf);console[_0x3a169e(0xf3)](_0x3a169e(0xf1)+_0x3a169e(0x103)+_0x3a169e(0x122)+'UT\x20extensi'+'on');const _0x447c5d={};_0x447c5d[_0x3a169e(0x12d)+'t']=BUILTIN_JAVA_CODE,_0x447c5d['fileName']=_0x3a169e(0xeb)+_0x3a169e(0x124);const _0x32221f={};_0x32221f[_0x3a169e(0x107)]=_0x3a169e(0xee)+_0x3a169e(0x115),_0x32221f[_0x3a169e(0x118)]=_0x447c5d;const _0xcfca89=await _0x7e8d47[_0x3a169e(0x119)](_0x13225a[_0x3a169e(0xf4)],_0x32221f),_0x206aa8={};_0x206aa8[_0x3a169e(0x10d)]=_0x135221,_0x206aa8[_0x3a169e(0x127)]=_0xcfca89,_0x206aa8[_0x3a169e(0xed)]={},_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0xec)+'structured'+_0x3a169e(0x121)]=!!_0x135221['structured'+_0x3a169e(0x121)],_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0x132)+_0x3a169e(0x114)+_0x3a169e(0x121)]=!!_0xcfca89['structured'+_0x3a169e(0x121)],_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0xf2)+'r']=_0x135221[_0x3a169e(0x114)+_0x3a169e(0x121)]?.[_0x3a169e(0xfa)],_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0x11f)+'r']=_0xcfca89['structured'+_0x3a169e(0x121)]?.[_0x3a169e(0xfa)],_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0x133)+_0x3a169e(0x113)]=_0x135221[_0x3a169e(0x114)+_0x3a169e(0x121)]?.[_0x3a169e(0x10e)],_0x206aa8[_0x3a169e(0xed)][_0x3a169e(0x101)+'ysisId']=_0xcfca89['structured'+_0x3a169e(0x121)]?.['analysisId'];const _0x5b9c76=_0x206aa8;a2_0x2e575e[_0x3a169e(0x111)+_0x3a169e(0x128)]('tc001-vs-t'+'c005-respo'+_0x3a169e(0xff),JSON['stringify'](_0x5b9c76,null,0x2)),console[_0x3a169e(0xf3)]('\x0a✅\x20결과\x20저장:\x20'+_0x3a169e(0x126)+_0x3a169e(0x123)+'nse.json'),console[_0x3a169e(0xf3)]('\x0a===\x20핵심\x20발견'+_0x3a169e(0x110)),console[_0x3a169e(0xf3)](_0x3a169e(0x106)+_0x3a169e(0x114)+'Content:',!!_0x135221['structured'+'Content']),console[_0x3a169e(0xf3)](_0x3a169e(0x11e)+_0x3a169e(0x114)+_0x3a169e(0x10c),!!_0xcfca89[_0x3a169e(0x114)+_0x3a169e(0x121)]),await _0x7e8d47[_0x3a169e(0x12f)]();}catch(_0x367f1e){console[_0x3a169e(0xfa)]('Error:',_0x367f1e),await _0x7e8d47[_0x3a169e(0x12f)](),process[_0x3a169e(0x12e)](0x1);}}main();function a2_0x1cdc(){const _0x8cd4b4=['TC005\x20has\x20','tc005_erro','constructo','Content','sast\x20WITHO','c005-respo','ller','\x20\x20\x20\x20\x20\x20Stri','tc001-vs-t','TC005','ync','ass\x20UserCo','ntroller\x20{','TC001:\x20ana','4322703wfKBBi','fileConten','exit','stop','결\x20성공\x0a','13bpIVRl','tc005_has_','tc001_anal','4454990BWPyGU','\x20\x20}\x0a}','FmOSg','144218ajEafz','8QvVjYs','UserContro','tc001_has_','comparison','analyze_fi','EXTENSION\x20','dist/src/s','TC005:\x20ana','tc001_erro','log','jwIct','start','erver.js','tools/call','19554XuPKUS','node','error','apply','15659874gVRMCC','9819670ueJNTK','(((.+)+)+)','nse.json','574EZQDxf','tc005_anal','\x20\x22SELECT\x20*','lyze_file_','ller.java','g\x20id)\x20{\x0a\x20\x20','TC001\x20has\x20','name','sast\x20with\x20','✅\x20MCP\x20서버\x20연','LcVtJ','(.java)','Content:','TC001','analysisId','c\x20void\x20get','\x20===','writeFileS','\x0a\x20\x20\x20\x20publi','ysisId','structured','le_sast','search','fileName','arguments','request','s\x20WHERE\x20id','\x0apublic\x20cl','ng\x20query\x20=','4316076RGcXYs'];a2_0x1cdc=function(){return _0x8cd4b4;};return a2_0x1cdc();}
@@ -1 +1 @@
1
- const a3_0x17113e=a3_0x1f70;(function(_0x2c6e7c,_0x59a410){const _0x20d333=a3_0x1f70,_0x8ce36c=_0x2c6e7c();while(!![]){try{const _0x14781a=-parseInt(_0x20d333(0x19a))/0x1+-parseInt(_0x20d333(0x180))/0x2*(-parseInt(_0x20d333(0x175))/0x3)+-parseInt(_0x20d333(0x181))/0x4+-parseInt(_0x20d333(0x189))/0x5+-parseInt(_0x20d333(0x177))/0x6*(parseInt(_0x20d333(0x182))/0x7)+parseInt(_0x20d333(0x190))/0x8*(-parseInt(_0x20d333(0x194))/0x9)+parseInt(_0x20d333(0x18b))/0xa*(parseInt(_0x20d333(0x18f))/0xb);if(_0x14781a===_0x59a410)break;else _0x8ce36c['push'](_0x8ce36c['shift']());}catch(_0x212591){_0x8ce36c['push'](_0x8ce36c['shift']());}}}(a3_0x1406,0xbcaf6));const a3_0x2517bb=(function(){let _0x16edf3=!![];return function(_0x30dec2,_0x37b4c0){const _0x24ed2c=_0x16edf3?function(){const _0x128de3=a3_0x1f70;if(_0x37b4c0){const _0x2293cb=_0x37b4c0[_0x128de3(0x178)](_0x30dec2,arguments);return _0x37b4c0=null,_0x2293cb;}}:function(){};return _0x16edf3=![],_0x24ed2c;};}()),a3_0x55151e=a3_0x2517bb(this,function(){const _0x465403=a3_0x1f70,_0x412b3d={};_0x412b3d[_0x465403(0x193)]=_0x465403(0x192)+'+$';const _0x2fb2a0=_0x412b3d;return a3_0x55151e[_0x465403(0x17b)]()[_0x465403(0x187)](_0x2fb2a0[_0x465403(0x193)])[_0x465403(0x17b)]()[_0x465403(0x199)+'r'](a3_0x55151e)[_0x465403(0x187)]('(((.+)+)+)'+'+$');});a3_0x55151e();import a3_0x205a1d from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=a3_0x205a1d[a3_0x17113e(0x17d)](__filename),SPARROW_BASE_URL=process.env.SPARROW_API_URL||a3_0x17113e(0x184)+a3_0x17113e(0x197)+'rrowcloud.'+'ai',MAX_POLL_ATTEMPTS=0x12c,POLL_INTERVAL_MS=0xbb8;function a3_0x1406(){const _0x3b2474=['tools/call','VGVoU','3qmjatG','result','192dZhacO','apply','text','Polling\x20ti','toString','is_status','dirname','content','FAIL','284806RoiVum','5395372hpQuER','160629lKMJTl','error','https://on','toUpperCas','COMPLETE','search','SUCCESS','3741570RyRYnZ','toLowerCas','416740IouZvE','name','get_analys','validation','1045eMNwmZ','262968cvWyND','includes','(((.+)+)+)','oSAhw','117TCtzUF','arguments','STOP','demand.spa','/ko/reques','constructo','69795FmnyGR','tList/anal','analysisId'];a3_0x1406=function(){return _0x3b2474;};return a3_0x1406();}function a3_0x1f70(_0x47222e,_0x3acf34){_0x47222e=_0x47222e-0x171;const _0x5b7959=a3_0x1406();let _0x55151e=_0x5b7959[_0x47222e];return _0x55151e;}function getAnalysisLink(_0x83f598){const _0x4d06cb=a3_0x17113e;return SPARROW_BASE_URL+(_0x4d06cb(0x198)+_0x4d06cb(0x171)+'ysis/')+_0x83f598;}async function pollUntilComplete(_0xafe102,_0x5f3f8a){const _0x4a11c5=a3_0x17113e;let _0x18f682=0x0;while(_0x18f682<MAX_POLL_ATTEMPTS){const _0x341b69={};_0x341b69[_0x4a11c5(0x172)]=_0x5f3f8a;const _0x5ab843={};_0x5ab843[_0x4a11c5(0x18c)]=_0x4a11c5(0x18d)+_0x4a11c5(0x17c),_0x5ab843[_0x4a11c5(0x195)]=_0x341b69;const _0x34714f=await _0xafe102['request'](_0x4a11c5(0x173),_0x5ab843),_0x21421c=String(_0x34714f['content'][0x0][_0x4a11c5(0x179)])[_0x4a11c5(0x185)+'e']();if(_0x21421c[_0x4a11c5(0x191)](_0x4a11c5(0x186))||_0x21421c['includes'](_0x4a11c5(0x188))||_0x21421c[_0x4a11c5(0x191)](_0x4a11c5(0x17f))||_0x21421c[_0x4a11c5(0x191)](_0x4a11c5(0x196))){const _0x230f89={};return _0x230f89['status']=_0x4a11c5(0x186),_0x230f89[_0x4a11c5(0x176)]=_0x34714f[_0x4a11c5(0x17e)][0x0]['text'],_0x230f89;}await new Promise(_0xb31e8b=>setTimeout(_0xb31e8b,POLL_INTERVAL_MS)),_0x18f682++;}throw new Error(_0x4a11c5(0x17a)+'meout\x20afte'+'r\x20'+_0x18f682+'\x20attempts');}function isErrorResponse(_0x39ac96){const _0x3557f5=a3_0x17113e,_0x26767a={};_0x26767a[_0x3557f5(0x174)]=function(_0x160e2d,_0x368c59){return _0x160e2d===_0x368c59;};const _0x4fe8b9=_0x26767a;return _0x4fe8b9[_0x3557f5(0x174)](_0x39ac96['isError'],!![])||_0x39ac96['content']?.[0x0]?.['text']?.[_0x3557f5(0x18a)+'e']()[_0x3557f5(0x191)](_0x3557f5(0x183))||_0x39ac96[_0x3557f5(0x17e)]?.[0x0]?.[_0x3557f5(0x179)]?.['toLowerCas'+'e']()['includes'](_0x3557f5(0x18e));}
1
+ const a3_0x2fd48e=a3_0x2526;(function(_0x25b488,_0x27ae07){const _0x2f7cf3=a3_0x2526,_0x549473=_0x25b488();while(!![]){try{const _0x264de9=-parseInt(_0x2f7cf3(0x12c))/0x1*(parseInt(_0x2f7cf3(0x123))/0x2)+parseInt(_0x2f7cf3(0x111))/0x3*(parseInt(_0x2f7cf3(0x136))/0x4)+-parseInt(_0x2f7cf3(0x110))/0x5*(parseInt(_0x2f7cf3(0x11f))/0x6)+-parseInt(_0x2f7cf3(0x121))/0x7*(parseInt(_0x2f7cf3(0x113))/0x8)+-parseInt(_0x2f7cf3(0x135))/0x9+-parseInt(_0x2f7cf3(0x114))/0xa+-parseInt(_0x2f7cf3(0x133))/0xb*(-parseInt(_0x2f7cf3(0x122))/0xc);if(_0x264de9===_0x27ae07)break;else _0x549473['push'](_0x549473['shift']());}catch(_0x96f0c9){_0x549473['push'](_0x549473['shift']());}}}(a3_0x2599,0xf2950));const a3_0x47b7a4=(function(){let _0x4bbba6=!![];return function(_0x16fd86,_0x35de2f){const _0x26d2e0=_0x4bbba6?function(){const _0x5d96de=a3_0x2526;if(_0x35de2f){const _0x2c5785=_0x35de2f[_0x5d96de(0x12d)](_0x16fd86,arguments);return _0x35de2f=null,_0x2c5785;}}:function(){};return _0x4bbba6=![],_0x26d2e0;};}()),a3_0x4f568e=a3_0x47b7a4(this,function(){const _0x579cc2=a3_0x2526;return a3_0x4f568e[_0x579cc2(0x132)]()[_0x579cc2(0x128)](_0x579cc2(0x117)+'+$')[_0x579cc2(0x132)]()[_0x579cc2(0x118)+'r'](a3_0x4f568e)[_0x579cc2(0x128)](_0x579cc2(0x117)+'+$');});a3_0x4f568e();import a3_0x14975f from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=a3_0x14975f[a3_0x2fd48e(0x120)](__filename),SPARROW_BASE_URL=process.env.SPARROW_API_URL||a3_0x2fd48e(0x134)+'demand.spa'+'rrowcloud.'+'ai',MAX_POLL_ATTEMPTS=0x12c,POLL_INTERVAL_MS=0xbb8;function a3_0x2599(){const _0x3b428c=['3227890rcBVXj','analysisId','request','ysis/','toLowerCas','search','validation','isError','/ko/reques','1bMhnQw','apply','error','is_status','tList/anal','COMPLETE','toString','253qNlyoT','https://on','2120742OMKKiG','516wrcWcI','result','arguments','205820eQZgGG','2607TgFvld','SUCCESS','3992VZYOxl','8791860UOkmrc','status','STOP','(((.+)+)+)','constructo','content','\x20attempts','name','text','includes','FAIL','216cwKjRQ','dirname','15260WqIgdZ','3224352sPJBYU'];a3_0x2599=function(){return _0x3b428c;};return a3_0x2599();}function getAnalysisLink(_0x22e2da){const _0x453c13=a3_0x2fd48e;return SPARROW_BASE_URL+(_0x453c13(0x12b)+_0x453c13(0x130)+_0x453c13(0x126))+_0x22e2da;}function a3_0x2526(_0x585cda,_0x781877){_0x585cda=_0x585cda-0x10f;const _0x3edf5a=a3_0x2599();let _0x4f568e=_0x3edf5a[_0x585cda];return _0x4f568e;}async function pollUntilComplete(_0x434f35,_0x477907){const _0x43d24a=a3_0x2fd48e;let _0x2b0e97=0x0;while(_0x2b0e97<MAX_POLL_ATTEMPTS){const _0x3c27ba={};_0x3c27ba[_0x43d24a(0x124)]=_0x477907;const _0x402d4d={};_0x402d4d[_0x43d24a(0x11b)]='get_analys'+_0x43d24a(0x12f),_0x402d4d[_0x43d24a(0x10f)]=_0x3c27ba;const _0x2a9a11=await _0x434f35[_0x43d24a(0x125)]('tools/call',_0x402d4d),_0x53c3c5=String(_0x2a9a11['content'][0x0][_0x43d24a(0x11c)])['toUpperCas'+'e']();if(_0x53c3c5[_0x43d24a(0x11d)](_0x43d24a(0x131))||_0x53c3c5[_0x43d24a(0x11d)](_0x43d24a(0x112))||_0x53c3c5['includes'](_0x43d24a(0x11e))||_0x53c3c5[_0x43d24a(0x11d)](_0x43d24a(0x116))){const _0x1f459d={};return _0x1f459d[_0x43d24a(0x115)]=_0x43d24a(0x131),_0x1f459d[_0x43d24a(0x137)]=_0x2a9a11[_0x43d24a(0x119)][0x0][_0x43d24a(0x11c)],_0x1f459d;}await new Promise(_0x2687f9=>setTimeout(_0x2687f9,POLL_INTERVAL_MS)),_0x2b0e97++;}throw new Error('Polling\x20ti'+'meout\x20afte'+'r\x20'+_0x2b0e97+_0x43d24a(0x11a));}function isErrorResponse(_0x4178ce){const _0x167b7b=a3_0x2fd48e;return _0x4178ce[_0x167b7b(0x12a)]===!![]||_0x4178ce[_0x167b7b(0x119)]?.[0x0]?.[_0x167b7b(0x11c)]?.['toLowerCas'+'e']()['includes'](_0x167b7b(0x12e))||_0x4178ce[_0x167b7b(0x119)]?.[0x0]?.[_0x167b7b(0x11c)]?.[_0x167b7b(0x127)+'e']()[_0x167b7b(0x11d)](_0x167b7b(0x129));}