@sparrowai/sparrow-mcp 1.1.12 → 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_0x465c(){const _0x3466f3=['ized:','JSON-RPC\x20E','lient','toString','t]\x20Initial','zKLHb','3516755KXhQMd','2.0','\x20(notify)','Server\x20not','serverComm','close','2024-11-05','ror]\x20','9vVTNlK','\x20running','onNotifica','method','entries','set','exitCode','join','log','request','er\x20process','h\x20code\x20','13VkzVyY','clientInfo','g\x20server:\x20','\x20error:','kSDvg','e\x20request.','sed\x20connec','MCP_STDIO','t]\x20Startin','line','1.0.0','pid','\x20(request)','tion','params','shell','get','onHandlers','version','true','delete','protocolVe','handleMess','stringify','wRUDU','start','stdin','uests','ization\x20fa','kill','[Server\x20Lo','stderr','and','3832668xrwpaW','notificati','uffer\x20full','error','process','(((.+)+)+)','pipe','write','jsonrpc','search','messageId','t]\x20stdin\x20b','initialize','name','3336DOvqyH','pendingReq','spawn\x20serv','Server\x20clo','parse','/pid','ons/initia','isInitiali','10BVJOuw','age','\x20initializ','vUsgN','okbvj','capabiliti','7QaNnpe','taskkill','1429759EVESTE','t]\x20Server\x20','stopped','stdio','iled:','stop','lized','t]\x20Process','serverArgs','mcp-test-c','51583884WJJIxS','closed\x20wit','zed','Failed\x20to\x20','4216NCAMKn','[MCP\x20Clien','2FZjVCH','1971830xLmHmb','warn','t]\x20Sending','roots','6851576AraOWy'];a0_0x465c=function(){return _0x3466f3;};return a0_0x465c();}function a0_0x3da7(_0x3c2b44,_0x172807){_0x3c2b44=_0x3c2b44-0xbb;const _0x5b384f=a0_0x465c();let _0x3b675a=_0x5b384f[_0x3c2b44];return _0x3b675a;}const a0_0x2cd1cb=a0_0x3da7;(function(_0x11dfa4,_0x3d7d40){const _0xb26262=a0_0x3da7,_0x187a13=_0x11dfa4();while(!![]){try{const _0x10180f=parseInt(_0xb26262(0x117))/0x1*(-parseInt(_0xb26262(0x127))/0x2)+-parseInt(_0xb26262(0x107))/0x3*(parseInt(_0xb26262(0x125))/0x4)+parseInt(_0xb26262(0x10f))/0x5*(-parseInt(_0xb26262(0xf9))/0x6)+parseInt(_0xb26262(0x115))/0x7*(parseInt(_0xb26262(0xbd))/0x8)+-parseInt(_0xb26262(0xcc))/0x9*(parseInt(_0xb26262(0x128))/0xa)+-parseInt(_0xb26262(0xc4))/0xb+-parseInt(_0xb26262(0x121))/0xc*(-parseInt(_0xb26262(0xd8))/0xd);if(_0x10180f===_0x3d7d40)break;else _0x187a13['push'](_0x187a13['shift']());}catch(_0x2aea8c){_0x187a13['push'](_0x187a13['shift']());}}}(a0_0x465c,0xb9445));const a0_0x5f4855=(function(){let _0x2c5914=!![];return function(_0xb143da,_0x451c0f){const _0x310e3a=_0x2c5914?function(){if(_0x451c0f){const _0x3332ef=_0x451c0f['apply'](_0xb143da,arguments);return _0x451c0f=null,_0x3332ef;}}:function(){};return _0x2c5914=![],_0x310e3a;};}()),a0_0x3b675a=a0_0x5f4855(this,function(){const _0x3db482=a0_0x3da7;return a0_0x3b675a[_0x3db482(0xc1)]()[_0x3db482(0x102)](_0x3db482(0xfe)+'+$')[_0x3db482(0xc1)]()['constructo'+'r'](a0_0x3b675a)[_0x3db482(0x102)](_0x3db482(0xfe)+'+$');});a0_0x3b675a();import{spawn}from'child_process';import{createInterface}from'readline';export class McpClient{['serverComm'+a0_0x2cd1cb(0xf8)];[a0_0x2cd1cb(0x11f)];['process']=null;[a0_0x2cd1cb(0x103)]=0x0;['pendingReq'+a0_0x2cd1cb(0xf3)]=new Map();['notificati'+a0_0x2cd1cb(0xe9)]=new Map();[a0_0x2cd1cb(0x10e)+a0_0x2cd1cb(0x123)]=![];['rl']=null;constructor(_0x100a70,_0x15d546){const _0x2f5277=a0_0x2cd1cb;this[_0x2f5277(0xc8)+_0x2f5277(0xf8)]=_0x100a70,this[_0x2f5277(0x11f)]=_0x15d546;}async[a0_0x2cd1cb(0xf1)](){const _0x4761c3=a0_0x2cd1cb,_0x13d59e={};_0x13d59e['wRUDU']=_0x4761c3(0xeb),_0x13d59e[_0x4761c3(0x112)]=_0x4761c3(0xfc);const _0x54b449=_0x13d59e;console[_0x4761c3(0xd4)](_0x4761c3(0x126)+_0x4761c3(0xe0)+_0x4761c3(0xda)+this['serverComm'+'and']+'\x20'+this[_0x4761c3(0x11f)][_0x4761c3(0xd3)]('\x20'));const _0x3d15c2={...process.env};_0x3d15c2[_0x4761c3(0xdf)]=_0x54b449[_0x4761c3(0xf0)];const _0x311e7d={};_0x311e7d[_0x4761c3(0x11a)]=[_0x4761c3(0xff),_0x4761c3(0xff),_0x4761c3(0xff)],_0x311e7d[_0x4761c3(0xe7)]=!![],_0x311e7d['env']=_0x3d15c2,this[_0x4761c3(0xfd)]=spawn(this[_0x4761c3(0xc8)+'and'],this[_0x4761c3(0x11f)],_0x311e7d);if(!this['process']['stdout']||!this[_0x4761c3(0xfd)]['stdin']||!this[_0x4761c3(0xfd)][_0x4761c3(0xf7)])throw new Error(_0x4761c3(0x124)+_0x4761c3(0x109)+_0x4761c3(0xd6)+'\x20with\x20stdi'+'o');this[_0x4761c3(0xfd)][_0x4761c3(0xf7)]['on']('data',_0x2875a2=>{const _0x15dae9=_0x4761c3;console[_0x15dae9(0xfc)]('[Server\x20Er'+_0x15dae9(0xcb)+_0x2875a2['toString']());}),this['rl']=createInterface({'input':this[_0x4761c3(0xfd)]['stdout']}),this['rl']['on'](_0x4761c3(0xe1),_0xccd82e=>{const _0x1cb14a=_0x4761c3;if(!_0xccd82e['trim']())return;try{const _0x1d90a9=JSON[_0x1cb14a(0x10b)](_0xccd82e);this[_0x1cb14a(0xee)+_0x1cb14a(0x110)](_0x1d90a9);}catch(_0x32a035){console[_0x1cb14a(0xd4)](_0x1cb14a(0xf6)+'g]',_0xccd82e);}}),this['process']['on'](_0x54b449['vUsgN'],_0x495221=>console[_0x4761c3(0xfc)](_0x4761c3(0x126)+_0x4761c3(0x11e)+_0x4761c3(0xdb),_0x495221)),this[_0x4761c3(0xfd)]['on'](_0x4761c3(0xc9),_0x587366=>{const _0x5187fe=_0x4761c3;console[_0x5187fe(0xd4)](_0x5187fe(0x126)+_0x5187fe(0x118)+_0x5187fe(0x122)+_0x5187fe(0xd7)+_0x587366);if(this['rl'])this['rl']['close']();for(const [_0x4857f2,_0x538531]of this[_0x5187fe(0x108)+_0x5187fe(0xf3)][_0x5187fe(0xd0)]()){_0x538531(null,new Error(_0x5187fe(0x10a)+_0x5187fe(0xde)+_0x5187fe(0xe5)));}this[_0x5187fe(0x108)+_0x5187fe(0xf3)]['clear']();});try{await this[_0x4761c3(0x105)]();}catch(_0x331c0b){console[_0x4761c3(0xfc)](_0x4761c3(0x126)+_0x4761c3(0xc2)+_0x4761c3(0xf4)+_0x4761c3(0x11b),_0x331c0b);throw _0x331c0b;}}async[a0_0x2cd1cb(0x11c)](){const _0xe7d4e3=a0_0x2cd1cb;if(this[_0xe7d4e3(0xfd)]){if(this['rl'])this['rl']['close']();try{process['platform']==='win32'&&this[_0xe7d4e3(0xfd)][_0xe7d4e3(0xe3)]&&spawn(_0xe7d4e3(0x116),[_0xe7d4e3(0x10c),this[_0xe7d4e3(0xfd)][_0xe7d4e3(0xe3)]['toString'](),'/f','/t']),this[_0xe7d4e3(0xfd)][_0xe7d4e3(0xf5)]();}catch(_0x4c5ec6){}this['process']=null,console[_0xe7d4e3(0xd4)](_0xe7d4e3(0x126)+'t]\x20Server\x20'+_0xe7d4e3(0x119));}}async[a0_0x2cd1cb(0x105)](){const _0x3cc8ee=a0_0x2cd1cb;console[_0x3cc8ee(0xd4)](_0x3cc8ee(0x126)+_0x3cc8ee(0xbb)+_0x3cc8ee(0x111)+_0x3cc8ee(0xdd)+'..');const _0x309621={};_0x309621['listChange'+'d']=!![];const _0x57bba1={};_0x57bba1[_0x3cc8ee(0xbc)]=_0x309621;const _0x3c8a52={};_0x3c8a52[_0x3cc8ee(0x106)]=_0x3cc8ee(0x120)+_0x3cc8ee(0xc0),_0x3c8a52[_0x3cc8ee(0xea)]=_0x3cc8ee(0xe2);const _0x2b272e={};_0x2b272e[_0x3cc8ee(0xed)+'rsion']=_0x3cc8ee(0xca),_0x2b272e[_0x3cc8ee(0x114)+'es']=_0x57bba1,_0x2b272e[_0x3cc8ee(0xd9)]=_0x3c8a52;const _0x4fe033=await this[_0x3cc8ee(0xd5)](_0x3cc8ee(0x105),_0x2b272e);console[_0x3cc8ee(0xd4)](_0x3cc8ee(0x126)+'t]\x20Initial'+_0x3cc8ee(0xbe),_0x4fe033),await this['notify'](_0x3cc8ee(0xfa)+_0x3cc8ee(0x10d)+_0x3cc8ee(0x11d),{}),this['isInitiali'+_0x3cc8ee(0x123)]=!![];}async['notify'](_0x53ba44,_0x2629d6){const _0x1c7ac6=a0_0x2cd1cb,_0x1693b6={};_0x1693b6[_0x1c7ac6(0xc3)]=function(_0x5afad7,_0x114137){return _0x5afad7+_0x114137;};const _0x394d62=_0x1693b6;if(!this['process']||this[_0x1c7ac6(0xfd)][_0x1c7ac6(0xd2)]!==null)return;const _0x12e88b={};_0x12e88b[_0x1c7ac6(0x101)]=_0x1c7ac6(0xc5),_0x12e88b[_0x1c7ac6(0xcf)]=_0x53ba44,_0x12e88b[_0x1c7ac6(0xe6)]=_0x2629d6;const _0x17aec9=_0x12e88b,_0x453e4c=JSON[_0x1c7ac6(0xef)](_0x17aec9);return new Promise((_0x4b9461,_0x400c27)=>{const _0x59824d=_0x1c7ac6;try{const _0xd19532=this[_0x59824d(0xfd)][_0x59824d(0xf2)][_0x59824d(0x100)](_0x394d62[_0x59824d(0xc3)](_0x453e4c,'\x0a'));if(!_0xd19532)console[_0x59824d(0x129)](_0x59824d(0x126)+'t]\x20stdin\x20b'+_0x59824d(0xfb)+_0x59824d(0xc6));_0x4b9461();}catch(_0xed9452){_0x400c27(_0xed9452);}});}async['request'](_0x7951c7,_0x451340){const _0x6dba46=a0_0x2cd1cb,_0x5a64fd={};_0x5a64fd[_0x6dba46(0xdc)]=_0x6dba46(0xc7)+_0x6dba46(0xcd);const _0x17741a=_0x5a64fd;if(!this['process']||this['process'][_0x6dba46(0xd2)]!==null)throw new Error(_0x17741a['kSDvg']);const _0x33f3d6=this[_0x6dba46(0x103)]++,_0x410525={};_0x410525[_0x6dba46(0x101)]=_0x6dba46(0xc5),_0x410525['id']=_0x33f3d6,_0x410525[_0x6dba46(0xcf)]=_0x7951c7,_0x410525[_0x6dba46(0xe6)]=_0x451340;const _0x274802=_0x410525;return new Promise((_0x2a7818,_0x31d019)=>{const _0x33cd7f=_0x6dba46;this[_0x33cd7f(0x108)+_0x33cd7f(0xf3)]['set'](_0x33f3d6,(_0x2807f4,_0x2144bd)=>{if(_0x2807f4)_0x2a7818(_0x2807f4);else _0x31d019(_0x2144bd);});const _0x5934f3=JSON['stringify'](_0x274802);try{const _0x55b5f8=this['process'][_0x33cd7f(0xf2)]['write'](_0x5934f3+'\x0a');!_0x55b5f8&&console[_0x33cd7f(0x129)](_0x33cd7f(0x126)+_0x33cd7f(0x104)+'uffer\x20full'+_0x33cd7f(0xe4));}catch(_0x40e6f5){this[_0x33cd7f(0x108)+_0x33cd7f(0xf3)][_0x33cd7f(0xec)](_0x33f3d6),_0x31d019(_0x40e6f5);}});}[a0_0x2cd1cb(0xce)+a0_0x2cd1cb(0xe5)](_0x31e93a,_0x2e280a){const _0x4efdb4=a0_0x2cd1cb;this['notificati'+_0x4efdb4(0xe9)][_0x4efdb4(0xd1)](_0x31e93a,_0x2e280a);}[a0_0x2cd1cb(0xee)+'age'](_0x3794d6){const _0x121ad3=a0_0x2cd1cb,_0x2f8871={};_0x2f8871[_0x121ad3(0x113)]=function(_0x302e11,_0x53f0ca){return _0x302e11!==_0x53f0ca;};const _0x2dc1a0=_0x2f8871;if(_0x2dc1a0[_0x121ad3(0x113)](_0x3794d6['id'],undefined)&&(_0x3794d6['result']!==undefined||_0x3794d6[_0x121ad3(0xfc)]!==undefined)){const _0x471450=this[_0x121ad3(0x108)+_0x121ad3(0xf3)][_0x121ad3(0xe8)](_0x3794d6['id']);_0x471450&&(this[_0x121ad3(0x108)+'uests'][_0x121ad3(0xec)](_0x3794d6['id']),_0x3794d6[_0x121ad3(0xfc)]?_0x471450(null,new Error(_0x121ad3(0xbf)+'rror:\x20'+JSON[_0x121ad3(0xef)](_0x3794d6['error']))):_0x471450(_0x3794d6['result'],null));}else{if(_0x3794d6[_0x121ad3(0xcf)]&&!_0x3794d6['id']){const _0x4f399e=this['notificati'+_0x121ad3(0xe9)]['get'](_0x3794d6[_0x121ad3(0xcf)]);_0x4f399e&&_0x4f399e(_0x3794d6[_0x121ad3(0xe6)]);}}}}
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(_0x36d0d6,_0x3f203d){const _0x517378=a1_0x44b0,_0x477f6a=_0x36d0d6();while(!![]){try{const _0xf7b5d3=-parseInt(_0x517378(0x22a))/0x1+-parseInt(_0x517378(0x232))/0x2+-parseInt(_0x517378(0x20b))/0x3*(-parseInt(_0x517378(0x242))/0x4)+-parseInt(_0x517378(0x227))/0x5*(parseInt(_0x517378(0x20a))/0x6)+-parseInt(_0x517378(0x217))/0x7+parseInt(_0x517378(0x204))/0x8*(parseInt(_0x517378(0x247))/0x9)+-parseInt(_0x517378(0x1fc))/0xa*(-parseInt(_0x517378(0x20d))/0xb);if(_0xf7b5d3===_0x3f203d)break;else _0x477f6a['push'](_0x477f6a['shift']());}catch(_0x25d867){_0x477f6a['push'](_0x477f6a['shift']());}}}(a1_0xafbd,0x50ece));function a1_0x44b0(_0x2b3e50,_0xff85e9){_0x2b3e50=_0x2b3e50-0x1f1;const _0x4738d9=a1_0xafbd();let _0x6ae0b1=_0x4738d9[_0x2b3e50];return _0x6ae0b1;}import{McpClient}from'../mcp-test/mcp-client.js';import a1_0x3b783b from'fs';async function main(){const _0x1425f7=a1_0x44b0,_0x154067={};_0x154067[_0x1425f7(0x215)]=_0x1425f7(0x222)+'+$',_0x154067['ptAUM']=_0x1425f7(0x23e),_0x154067[_0x1425f7(0x1fa)]='analyze_fo'+_0x1425f7(0x234),_0x154067[_0x1425f7(0x21b)]=_0x1425f7(0x208),_0x154067[_0x1425f7(0x1fb)]='/nonexiste'+'nt.zip';const _0x5421e4=_0x154067,_0x390221=(function(){let _0x140820=!![];return function(_0x56775f,_0x3d5491){const _0x1c47b9=_0x140820?function(){if(_0x3d5491){const _0xec8bcc=_0x3d5491['apply'](_0x56775f,arguments);return _0x3d5491=null,_0xec8bcc;}}:function(){};return _0x140820=![],_0x1c47b9;};}()),_0x5ef48f=_0x390221(this,function(){const _0x48ea2b=_0x1425f7;return _0x5ef48f[_0x48ea2b(0x23c)]()[_0x48ea2b(0x1f7)]('(((.+)+)+)'+'+$')[_0x48ea2b(0x23c)]()[_0x48ea2b(0x238)+'r'](_0x5ef48f)[_0x48ea2b(0x1f7)](_0x5421e4['HJBAP']);});_0x5ef48f();const _0x3b9f73=new McpClient(_0x5421e4[_0x1425f7(0x23a)],[_0x1425f7(0x226)+_0x1425f7(0x210)]);try{await _0x3b9f73[_0x1425f7(0x219)](),console['log']('✅\x20MCP\x20서버\x20연'+'결\x20성공\x0a');const _0x2cc606={};_0x2cc606[_0x1425f7(0x22c)]=[];const _0x1d887d={};_0x1d887d['id']=_0x1425f7(0x1ff),_0x1d887d[_0x1425f7(0x220)]='analyze_fi'+_0x1425f7(0x22d),_0x1d887d[_0x1425f7(0x1f5)]=_0x2cc606;const _0x21f9ab={};_0x21f9ab[_0x1425f7(0x22c)]=[_0x1425f7(0x23f)+_0x1425f7(0x230)+'va'];const _0x120f6a={};_0x120f6a['id']=_0x1425f7(0x1f3),_0x120f6a[_0x1425f7(0x220)]='analyze_fi'+_0x1425f7(0x22d),_0x120f6a[_0x1425f7(0x1f5)]=_0x21f9ab;const _0x57edd1={};_0x57edd1[_0x1425f7(0x211)]=_0x1425f7(0x212);const _0x4c5dd3={};_0x4c5dd3['id']='TC014',_0x4c5dd3[_0x1425f7(0x220)]=_0x1425f7(0x240)+'is_status',_0x4c5dd3[_0x1425f7(0x1f5)]=_0x57edd1;const _0x343a51={};_0x343a51[_0x1425f7(0x211)]='999999999';const _0x5a0882={};_0x5a0882['id']=_0x1425f7(0x239),_0x5a0882[_0x1425f7(0x220)]=_0x1425f7(0x23d)+_0x1425f7(0x202)+_0x1425f7(0x213),_0x5a0882[_0x1425f7(0x1f5)]=_0x343a51;const _0x6520ec={};_0x6520ec[_0x1425f7(0x1fe)]='';const _0xa8150c={};_0xa8150c['id']=_0x1425f7(0x1f2),_0xa8150c[_0x1425f7(0x220)]='analyze_fo'+_0x1425f7(0x234),_0xa8150c[_0x1425f7(0x1f5)]=_0x6520ec;const _0x1751b6={};_0x1751b6['folderPath']=_0x1425f7(0x23f)+'nt/folder';const _0x73742e={};_0x73742e['id']=_0x1425f7(0x1f6),_0x73742e[_0x1425f7(0x220)]=_0x5421e4[_0x1425f7(0x1fa)],_0x73742e['args']=_0x1751b6;const _0x1e5ecc={};_0x1e5ecc[_0x1425f7(0x225)+'h']='/nonexiste'+_0x1425f7(0x206);const _0x552839={};_0x552839['id']=_0x1425f7(0x22e),_0x552839['name']=_0x1425f7(0x245)+_0x1425f7(0x22b),_0x552839[_0x1425f7(0x1f5)]=_0x1e5ecc;const _0x3c8f39={};_0x3c8f39[_0x1425f7(0x22c)]=[];const _0xa8b3bf={};_0xa8b3bf['id']=_0x5421e4[_0x1425f7(0x21b)],_0xa8b3bf[_0x1425f7(0x220)]=_0x1425f7(0x201)+_0x1425f7(0x231),_0xa8b3bf[_0x1425f7(0x1f5)]=_0x3c8f39;const _0x1d8fc1={};_0x1d8fc1['folderPath']='';const _0x1f7dfc={};_0x1f7dfc['id']=_0x1425f7(0x207),_0x1f7dfc[_0x1425f7(0x220)]=_0x1425f7(0x21d)+'lder_sca',_0x1f7dfc['args']=_0x1d8fc1;const _0x5b4f30={};_0x5b4f30[_0x1425f7(0x225)+'h']=_0x5421e4['XDIvM'];const _0x7dba51={};_0x7dba51['id']=_0x1425f7(0x20f),_0x7dba51[_0x1425f7(0x220)]=_0x1425f7(0x245)+_0x1425f7(0x20e),_0x7dba51[_0x1425f7(0x1f5)]=_0x5b4f30;const _0x1bdf09=[_0x1d887d,_0x120f6a,_0x4c5dd3,_0x5a0882,_0xa8150c,_0x73742e,_0x552839,_0xa8b3bf,_0x1f7dfc,_0x7dba51],_0x1f8739={};for(const _0x39e6b5 of _0x1bdf09){console[_0x1425f7(0x241)](_0x1425f7(0x224)+_0x39e6b5['id']+':\x20'+_0x39e6b5['name']+'...');try{const _0x5d803b={};_0x5d803b[_0x1425f7(0x220)]=_0x39e6b5[_0x1425f7(0x220)],_0x5d803b[_0x1425f7(0x200)]=_0x39e6b5['args'];const _0x5b3f6c=await _0x3b9f73[_0x1425f7(0x1f8)](_0x1425f7(0x1f4),_0x5d803b);_0x1f8739[_0x39e6b5['id']]={'test':_0x39e6b5[_0x1425f7(0x220)],'args':_0x39e6b5[_0x1425f7(0x1f5)],'response':_0x5b3f6c,'hasIsError':!!_0x5b3f6c[_0x1425f7(0x244)],'hasStructuredContent':!!_0x5b3f6c[_0x1425f7(0x203)+'Content'],'contentText':_0x5b3f6c['content']?.[0x0]?.[_0x1425f7(0x21a)],'isErrorResponseCheck':_0x5b3f6c[_0x1425f7(0x244)]===!![]||_0x5b3f6c['content']?.[0x0]?.['text']?.[_0x1425f7(0x223)+'e']()[_0x1425f7(0x1f1)]('error')||_0x5b3f6c[_0x1425f7(0x218)]?.[0x0]?.[_0x1425f7(0x21a)]?.[_0x1425f7(0x223)+'e']()[_0x1425f7(0x1f1)](_0x1425f7(0x21e))};}catch(_0x292687){_0x1f8739[_0x39e6b5['id']]={'test':_0x39e6b5[_0x1425f7(0x220)],'args':_0x39e6b5[_0x1425f7(0x1f5)],'error':_0x292687[_0x1425f7(0x21f)]};}}a1_0x3b783b[_0x1425f7(0x221)+_0x1425f7(0x243)](_0x1425f7(0x228)+_0x1425f7(0x235)+'es.json',JSON['stringify'](_0x1f8739,null,0x2)),console[_0x1425f7(0x241)](_0x1425f7(0x237)+'failed-tes'+_0x1425f7(0x235)+_0x1425f7(0x216)),console['log']('\x0a===\x20분석\x20결과'+_0x1425f7(0x209));for(const [_0x504a2b,_0x964e58]of Object['entries'](_0x1f8739)){const _0x16f2e6=_0x964e58;console[_0x1425f7(0x241)](_0x504a2b+_0x1425f7(0x23b)+_0x16f2e6[_0x1425f7(0x214)]+(_0x1425f7(0x233)+_0x1425f7(0x229)+_0x1425f7(0x1f9))+_0x16f2e6[_0x1425f7(0x236)+_0x1425f7(0x22f)]+(_0x1425f7(0x248)+'esponse=')+_0x16f2e6[_0x1425f7(0x21c)+_0x1425f7(0x1fd)]);}await _0x3b9f73[_0x1425f7(0x205)]();}catch(_0x5b33f1){console[_0x1425f7(0x20c)]('Error:',_0x5b33f1),await _0x3b9f73[_0x1425f7(0x205)](),process[_0x1425f7(0x246)](0x1);}}main();function a1_0xafbd(){const _0xf393fb=['tools/call','args','TC033','search','request','nt=','eAyyp','XDIvM','2000ZfSuWq','ponseCheck','folderPath','TC007','arguments','analyze_fi','ysis_progr','structured','88fqcaZc','stop','nt.zip','TC042','TC039','\x20===','1234122SoZLQB','6SNbDrc','error','60808AfZtyv','p_sca','TC045','erver.js','analysisId','999999999','ess','hasIsError','HJBAP','es.json','1436365BucBPb','content','start','text','dtnab','isErrorRes','analyze_fo','validation','message','name','writeFileS','(((.+)+)+)','toLowerCas','Testing\x20','zipFilePat','dist/src/s','10KFuJIH','failed-tes','turedConte','526201moxKwr','p_sast','filePaths','les_sast','TC036','redContent','nt/file.ja','les_sca','730198JrulJs',',\x20hasStruc','lder_sast','ts-respons','hasStructu','\x0a✅\x20결과\x20저장:\x20','constructo','TC029','ptAUM',':\x20isError=','toString','track_anal','node','/nonexiste','get_analys','log','759936dRcZEQ','ync','isError','analyze_zi','exit','289449gYmTxO',',\x20isErrorR','includes','TC032','TC008'];a1_0xafbd=function(){return _0xf393fb;};return a1_0xafbd();}
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
- function a2_0x4b9e(){const _0x4c4e11=['TC001','start','lyze_file_','tc001_anal','TC005','560002tucYSh','analysisId','fileName','57089700UpSaaz','comparison','search','arguments','\x0apublic\x20cl','tc001_erro','constructo','ass\x20UserCo','sast\x20with\x20','g\x20id)\x20{\x0a\x20\x20','yRWyA','\x20\x20}\x0a}','dist/src/s','TC005\x20has\x20','tc005_erro','Content:','5526792KFwnXL','✅\x20MCP\x20서버\x20연','\x20\x20\x20\x20\x20\x20Stri','sast\x20WITHO','FlYwA','\x0a===\x20핵심\x20발견','ysisId','log','ller.java','request','\x20=\x20\x27\x22\x20+\x20id','6288705FbiWMS','결\x20성공\x0a','TC001:\x20ana','structured','tc001_has_','tc005_anal','node','ng\x20query\x20=','1561050Nhaadx','tc001-vs-t','fileConten','apply','analyze_fi','toString','error','(((.+)+)+)','writeFileS','\x20+\x20\x22\x27\x22;\x0a\x20\x20','stop','exit','(.java)','tools/call','3yKufuo','349736bMolIQ','\x20===','\x0a✅\x20결과\x20저장:\x20','Content','le_sast','nse.json','UserContro','User(Strin','ntroller\x20{','4LKdIyI','erver.js','s\x20WHERE\x20id','\x20\x22SELECT\x20*','2077887Vyjzyl','kWDFH','name','175uwOzVh'];a2_0x4b9e=function(){return _0x4c4e11;};return a2_0x4b9e();}const a2_0x53c442=a2_0x57ca;(function(_0x1944f5,_0x357e24){const _0x1a4b6f=a2_0x57ca,_0x4f8e00=_0x1944f5();while(!![]){try{const _0x5373d5=parseInt(_0x1a4b6f(0x1a3))/0x1*(-parseInt(_0x1a4b6f(0x1ba))/0x2)+-parseInt(_0x1a4b6f(0x1b1))/0x3*(parseInt(_0x1a4b6f(0x1ad))/0x4)+-parseInt(_0x1a4b6f(0x18d))/0x5+-parseInt(_0x1a4b6f(0x182))/0x6+-parseInt(_0x1a4b6f(0x1b4))/0x7*(parseInt(_0x1a4b6f(0x1a4))/0x8)+-parseInt(_0x1a4b6f(0x195))/0x9+parseInt(_0x1a4b6f(0x172))/0xa;if(_0x5373d5===_0x357e24)break;else _0x4f8e00['push'](_0x4f8e00['shift']());}catch(_0x5d40c1){_0x4f8e00['push'](_0x4f8e00['shift']());}}}(a2_0x4b9e,0xb27d2));import{McpClient}from'../mcp-test/mcp-client.js';import a2_0x53a894 from'fs';const BUILTIN_JAVA_CODE=a2_0x53c442(0x176)+a2_0x53c442(0x179)+a2_0x53c442(0x1ac)+'\x0a\x20\x20\x20\x20publi'+'c\x20void\x20get'+a2_0x53c442(0x1ab)+a2_0x53c442(0x17b)+a2_0x53c442(0x184)+a2_0x53c442(0x194)+a2_0x53c442(0x1b0)+'\x20FROM\x20user'+a2_0x53c442(0x1af)+a2_0x53c442(0x18c)+a2_0x53c442(0x19e)+a2_0x53c442(0x17d);async function main(){const _0xb4b8ef=a2_0x53c442,_0x5185fc={};_0x5185fc['yRWyA']=_0xb4b8ef(0x193),_0x5185fc[_0xb4b8ef(0x186)]=_0xb4b8ef(0x1a2),_0x5185fc['kWDFH']=_0xb4b8ef(0x187)+_0xb4b8ef(0x1a5);const _0x411c12=_0x5185fc,_0x637794=(function(){let _0x2c5395=!![];return function(_0x1f3261,_0x184d89){const _0x1a421a=_0x2c5395?function(){const _0x36d1c3=a2_0x57ca;if(_0x184d89){const _0x12dca2=_0x184d89[_0x36d1c3(0x198)](_0x1f3261,arguments);return _0x184d89=null,_0x12dca2;}}:function(){};return _0x2c5395=![],_0x1a421a;};}()),_0x1ad2fb=_0x637794(this,function(){const _0x7a0b31=_0xb4b8ef;return _0x1ad2fb['toString']()[_0x7a0b31(0x174)](_0x7a0b31(0x19c)+'+$')[_0x7a0b31(0x19a)]()[_0x7a0b31(0x178)+'r'](_0x1ad2fb)[_0x7a0b31(0x174)]('(((.+)+)+)'+'+$');});_0x1ad2fb();const _0x1fa39f=new McpClient(_0x411c12[_0xb4b8ef(0x17c)],[_0xb4b8ef(0x17e)+_0xb4b8ef(0x1ae)]);try{await _0x1fa39f[_0xb4b8ef(0x1b6)](),console['log'](_0xb4b8ef(0x183)+_0xb4b8ef(0x18e)),console[_0xb4b8ef(0x189)](_0xb4b8ef(0x18f)+_0xb4b8ef(0x1b7)+_0xb4b8ef(0x17a)+'EXTENSION\x20'+_0xb4b8ef(0x1a1));const _0x3ebd8f={};_0x3ebd8f[_0xb4b8ef(0x197)+'t']=BUILTIN_JAVA_CODE,_0x3ebd8f['fileName']=_0xb4b8ef(0x1aa)+_0xb4b8ef(0x18a);const _0x379999={};_0x379999['name']=_0xb4b8ef(0x199)+_0xb4b8ef(0x1a8),_0x379999[_0xb4b8ef(0x175)]=_0x3ebd8f;const _0x231c80=await _0x1fa39f[_0xb4b8ef(0x18b)]('tools/call',_0x379999);console[_0xb4b8ef(0x189)]('TC005:\x20ana'+_0xb4b8ef(0x1b7)+_0xb4b8ef(0x185)+'UT\x20extensi'+'on');const _0x408d2b={};_0x408d2b[_0xb4b8ef(0x197)+'t']=BUILTIN_JAVA_CODE,_0x408d2b[_0xb4b8ef(0x1bc)]=_0xb4b8ef(0x1aa)+'ller';const _0x323f3a={};_0x323f3a[_0xb4b8ef(0x1b3)]=_0xb4b8ef(0x199)+_0xb4b8ef(0x1a8),_0x323f3a[_0xb4b8ef(0x175)]=_0x408d2b;const _0x51df75=await _0x1fa39f[_0xb4b8ef(0x18b)](_0x411c12[_0xb4b8ef(0x186)],_0x323f3a),_0xdbf89={};_0xdbf89[_0xb4b8ef(0x1b5)]=_0x231c80,_0xdbf89[_0xb4b8ef(0x1b9)]=_0x51df75,_0xdbf89[_0xb4b8ef(0x173)]={},_0xdbf89[_0xb4b8ef(0x173)][_0xb4b8ef(0x191)+_0xb4b8ef(0x190)+_0xb4b8ef(0x1a7)]=!!_0x231c80['structured'+'Content'],_0xdbf89[_0xb4b8ef(0x173)]['tc005_has_'+_0xb4b8ef(0x190)+'Content']=!!_0x51df75['structured'+'Content'],_0xdbf89[_0xb4b8ef(0x173)][_0xb4b8ef(0x177)+'r']=_0x231c80[_0xb4b8ef(0x190)+_0xb4b8ef(0x1a7)]?.[_0xb4b8ef(0x19b)],_0xdbf89[_0xb4b8ef(0x173)][_0xb4b8ef(0x180)+'r']=_0x51df75['structured'+'Content']?.['error'],_0xdbf89[_0xb4b8ef(0x173)][_0xb4b8ef(0x1b8)+_0xb4b8ef(0x188)]=_0x231c80['structured'+_0xb4b8ef(0x1a7)]?.[_0xb4b8ef(0x1bb)],_0xdbf89[_0xb4b8ef(0x173)][_0xb4b8ef(0x192)+_0xb4b8ef(0x188)]=_0x51df75[_0xb4b8ef(0x190)+_0xb4b8ef(0x1a7)]?.[_0xb4b8ef(0x1bb)];const _0x279c3b=_0xdbf89;a2_0x53a894[_0xb4b8ef(0x19d)+'ync'](_0xb4b8ef(0x196)+'c005-respo'+_0xb4b8ef(0x1a9),JSON['stringify'](_0x279c3b,null,0x2)),console[_0xb4b8ef(0x189)](_0xb4b8ef(0x1a6)+'tc001-vs-t'+'c005-respo'+_0xb4b8ef(0x1a9)),console[_0xb4b8ef(0x189)](_0x411c12[_0xb4b8ef(0x1b2)]),console[_0xb4b8ef(0x189)]('TC001\x20has\x20'+_0xb4b8ef(0x190)+_0xb4b8ef(0x181),!!_0x231c80[_0xb4b8ef(0x190)+_0xb4b8ef(0x1a7)]),console['log'](_0xb4b8ef(0x17f)+_0xb4b8ef(0x190)+_0xb4b8ef(0x181),!!_0x51df75[_0xb4b8ef(0x190)+_0xb4b8ef(0x1a7)]),await _0x1fa39f[_0xb4b8ef(0x19f)]();}catch(_0x3cc275){console['error']('Error:',_0x3cc275),await _0x1fa39f[_0xb4b8ef(0x19f)](),process[_0xb4b8ef(0x1a0)](0x1);}}function a2_0x57ca(_0x5fc893,_0x30191e){_0x5fc893=_0x5fc893-0x172;const _0x47e1c5=a2_0x4b9e();let _0x5b0e5b=_0x47e1c5[_0x5fc893];return _0x5b0e5b;}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_0x5d7604=a3_0x2fd3;(function(_0x2d7eba,_0x4dfdc6){const _0x31a090=a3_0x2fd3,_0x2bdb0e=_0x2d7eba();while(!![]){try{const _0x27efc5=parseInt(_0x31a090(0xd9))/0x1*(parseInt(_0x31a090(0xe0))/0x2)+parseInt(_0x31a090(0xf6))/0x3*(parseInt(_0x31a090(0xf9))/0x4)+-parseInt(_0x31a090(0xf8))/0x5*(-parseInt(_0x31a090(0xdc))/0x6)+-parseInt(_0x31a090(0xe5))/0x7+-parseInt(_0x31a090(0xd6))/0x8+parseInt(_0x31a090(0xd0))/0x9*(parseInt(_0x31a090(0xd4))/0xa)+-parseInt(_0x31a090(0xe2))/0xb*(parseInt(_0x31a090(0xe7))/0xc);if(_0x27efc5===_0x4dfdc6)break;else _0x2bdb0e['push'](_0x2bdb0e['shift']());}catch(_0x4eba77){_0x2bdb0e['push'](_0x2bdb0e['shift']());}}}(a3_0x39ae,0x29238));const a3_0x2cbe11=(function(){let _0x5ec415=!![];return function(_0x3871fb,_0xf43d23){const _0xc7eafd=_0x5ec415?function(){const _0x4cebb=a3_0x2fd3;if(_0xf43d23){const _0x340dc1=_0xf43d23[_0x4cebb(0xe3)](_0x3871fb,arguments);return _0xf43d23=null,_0x340dc1;}}:function(){};return _0x5ec415=![],_0xc7eafd;};}()),a3_0x376115=a3_0x2cbe11(this,function(){const _0x33cdc9=a3_0x2fd3;return a3_0x376115[_0x33cdc9(0xe1)]()[_0x33cdc9(0xea)](_0x33cdc9(0xde)+'+$')['toString']()['constructo'+'r'](a3_0x376115)[_0x33cdc9(0xea)](_0x33cdc9(0xde)+'+$');});a3_0x376115();import a3_0xa14426 from'path';import{fileURLToPath}from'url';function a3_0x2fd3(_0xbd84c0,_0x63ab70){_0xbd84c0=_0xbd84c0-0xd0;const _0x108a11=a3_0x39ae();let _0x376115=_0x108a11[_0xbd84c0];return _0x376115;}function a3_0x39ae(){const _0x452051=['955368qmPAqN','result','includes','search','get_analys','COMPLETE','analysisId','LDcLI','https://on','toUpperCas','tools/call','/ko/reques','STOP','demand.spa','tList/anal','3ObCHSm','FAIL','190mFshPa','526916DgdAIT','gUiFV','369VReXvG','ysis/','is_status','error','69950TeSNIw','SUCCESS','2245904uYCtMM','content','toLowerCas','1221nCerNE','sepNS','\x20attempts','3042NzWOii','text','(((.+)+)+)','status','262NzoouQ','toString','11jFIkbh','apply','arguments','482195nsEGWN','request'];a3_0x39ae=function(){return _0x452051;};return a3_0x39ae();}const __filename=fileURLToPath(import.meta.url),__dirname=a3_0xa14426['dirname'](__filename),SPARROW_BASE_URL=process.env.SPARROW_API_URL||a3_0x5d7604(0xef)+a3_0x5d7604(0xf4)+'rrowcloud.'+'ai',MAX_POLL_ATTEMPTS=0x12c,POLL_INTERVAL_MS=0xbb8;function getAnalysisLink(_0x13937c){const _0xa01216=a3_0x5d7604;return SPARROW_BASE_URL+(_0xa01216(0xf2)+_0xa01216(0xf5)+_0xa01216(0xd1))+_0x13937c;}async function pollUntilComplete(_0x42f24a,_0x2d34b8){const _0x1e13cc=a3_0x5d7604,_0x3c7aa0={};_0x3c7aa0[_0x1e13cc(0xda)]=_0x1e13cc(0xec),_0x3c7aa0[_0x1e13cc(0xee)]=_0x1e13cc(0xf3);const _0x219ddc=_0x3c7aa0;let _0x8d834b=0x0;while(_0x8d834b<MAX_POLL_ATTEMPTS){const _0x29bc0c={};_0x29bc0c[_0x1e13cc(0xed)]=_0x2d34b8;const _0x38e2f6={};_0x38e2f6['name']=_0x1e13cc(0xeb)+_0x1e13cc(0xd2),_0x38e2f6[_0x1e13cc(0xe4)]=_0x29bc0c;const _0x27699e=await _0x42f24a[_0x1e13cc(0xe6)](_0x1e13cc(0xf1),_0x38e2f6),_0x51dd83=String(_0x27699e[_0x1e13cc(0xd7)][0x0][_0x1e13cc(0xdd)])[_0x1e13cc(0xf0)+'e']();if(_0x51dd83[_0x1e13cc(0xe9)](_0x219ddc[_0x1e13cc(0xda)])||_0x51dd83[_0x1e13cc(0xe9)](_0x1e13cc(0xd5))||_0x51dd83[_0x1e13cc(0xe9)](_0x1e13cc(0xf7))||_0x51dd83['includes'](_0x219ddc[_0x1e13cc(0xee)])){const _0xfa1b7d={};return _0xfa1b7d[_0x1e13cc(0xdf)]=_0x1e13cc(0xec),_0xfa1b7d[_0x1e13cc(0xe8)]=_0x27699e[_0x1e13cc(0xd7)][0x0]['text'],_0xfa1b7d;}await new Promise(_0x768fab=>setTimeout(_0x768fab,POLL_INTERVAL_MS)),_0x8d834b++;}throw new Error('Polling\x20ti'+'meout\x20afte'+'r\x20'+_0x8d834b+_0x1e13cc(0xdb));}function isErrorResponse(_0x3c869b){const _0x276728=a3_0x5d7604,_0x5de7eb={};_0x5de7eb[_0x276728(0xfa)]=_0x276728(0xd3);const _0x2be120=_0x5de7eb;return _0x3c869b['isError']===!![]||_0x3c869b[_0x276728(0xd7)]?.[0x0]?.[_0x276728(0xdd)]?.[_0x276728(0xd8)+'e']()[_0x276728(0xe9)](_0x2be120[_0x276728(0xfa)])||_0x3c869b[_0x276728(0xd7)]?.[0x0]?.[_0x276728(0xdd)]?.[_0x276728(0xd8)+'e']()[_0x276728(0xe9)]('validation');}
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));}