@offgridsec/kira-lite-mcp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1,478 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x358bff,_0x3d9ccf){const _0x4aeecc={_0x3348da:0x388,_0x25f129:0x358,_0x3b74df:0x3cf,_0x591af2:0x617,_0xa33e28:0x5d2,_0x2bab55:0x55b,_0x4bea62:0x5d4,_0x4ae495:0x621,_0x49aadf:0x459,_0x5c9f59:0x31f,_0x3f90fe:0x29d,_0x275c8a:0x30b},_0x5cf05e={_0xd09ea6:0x174};function _0x390816(_0x7228cd,_0x2e71ec){return _0x4923(_0x2e71ec-0x2f4,_0x7228cd);}const _0x1881d3=_0x358bff();function _0x568257(_0x5abf9d,_0x470888){return _0x4923(_0x470888-_0x5cf05e._0xd09ea6,_0x5abf9d);}while(!![]){try{const _0x17d7c3=parseInt(_0x390816(0x4c7,0x57c))/(0x67*-0x14+-0x6f0+0xefd)*(-parseInt(_0x568257(_0x4aeecc._0x3348da,_0x4aeecc._0x25f129))/(0x1*0x9e6+0x64*-0x34+0xa6c))+-parseInt(_0x568257(0x475,_0x4aeecc._0x3b74df))/(0x20d*-0xe+0x212e+-0x475)+-parseInt(_0x390816(_0x4aeecc._0x591af2,_0x4aeecc._0xa33e28))/(-0x2*0xfc7+-0xc7c*-0x2+0x69a)*(-parseInt(_0x390816(0x59c,_0x4aeecc._0x2bab55))/(-0x1122+-0xdcc+0x1ef3))+parseInt(_0x390816(0x557,0x618))/(0x2667*0x1+0x2fd+-0x423*0xa)*(parseInt(_0x390816(_0x4aeecc._0x4bea62,_0x4aeecc._0x4ae495))/(-0x8*0x133+-0x13de+0x1d7d*0x1))+parseInt(_0x390816(0x535,0x4c6))/(-0x11d9*-0x1+0x18aa+-0x5*0x87f)*(parseInt(_0x390816(0x45c,_0x4aeecc._0x49aadf))/(-0x2b9*0x3+0x4f7*-0x1+0xd2b))+-parseInt(_0x568257(0x206,_0x4aeecc._0x5c9f59))/(-0x2*-0x6e7+0x1*0xa3d+-0x1801)+parseInt(_0x568257(0x4d4,0x4ce))/(0x15a3+-0x1*-0x10b1+-0x2649)*(parseInt(_0x568257(_0x4aeecc._0x3f90fe,_0x4aeecc._0x275c8a))/(-0x1755+0x25be+0xe5d*-0x1));if(_0x17d7c3===_0x3d9ccf)break;else _0x1881d3['push'](_0x1881d3['shift']());}catch(_0x4b9366){_0x1881d3['push'](_0x1881d3['shift']());}}}(_0x5f13,0x5dd10*-0x3+-0x2be94+0x1f950e));import{McpServer}from'@modelcontextprotocol/sdk/server/mcp.js';import{StdioServerTransport}from'@modelcontextprotocol/sdk/server/stdio.js';import{z}from'zod';import{scanCode}from'./tools/scan-code.js';function _0x2802dc(_0x19dcb3,_0x27f217){return _0x4923(_0x27f217- -0x141,_0x19dcb3);}function _0x5f13(){const _0x53086a=['Bg9JA2y','yw5NDwe','zsbKzxq','ifnLy3u','zsb0BYa','igzPEgu','v2jfDhy','BIbLDMu','B3jLigK','lsaQkKW','ihb5DgG','zML4x3y','DwvZigq','BfnbEum','ig9Yici','yhnLDf8','y3PYBuG','y2XLyw4','Aw9Uihi','CNKGC2m','zML4','Dg9VBa','igzPBgu','BYbJAge','y3KUcG','y2SUANm','z2LMEq','mZy0ndm2ngjLrwTxtW','t3DQquy','yxrO','C3nPC3q','zgLMAwu','z2uTBg8','Axr5x2K','ie1duca','yw50CY4','y3jPDgK','Dg8Gyh4','x2rPzMy','ndaXmfjmveLdrW','w01freK','CL9ZDge','ugj2zfu','BLPrq2y','AfLmr1i','EuTsyK8','y29UzMK','BufrAKW','A2fNzxm','CgfJA2e','zM9YigW','CMvTzw4','x2nVzgu','lsaQkKm','zMLUzgK','ignVBMy','zsbHzNq','AwXLihm','Axn0Aw4','BMfTzq','kIPnB2q','Axr5ieK','sw50zw4','zMLUywW','reLmr24','DguGC2m','qNfoCw4','iM9Ulxm','igfNywK','ie9UBhK','DwvUy3K','DgLVBIW','ndrwt1r2ywW','ifrVCca','zMyVC2m','DhLWzsK','wxLVEhe','C2nHBK0','uLb6uM4','uxrSqKm','BMDLza','igj5ihK','twzTCuS','zMLNihq','zxCVBw8','Aw5Nige','zwq6kIO','B2rLzca','whzwtNC','zMLSzsa','DxjPDhK','zYbMAwW','v0zLDfK','v3P3zvC','yxv0BW','r09yEeO','zxm6kIO','kIPmB2m','DhmUDhG','igvHy2G','DufoyMW','zwqUifu','C2nHBM4','zwnYzxq','tgXpCeO','wMPSC3G','BgfUz3u','s2nQzKy','kIPwDwW','BMvKoIO','zhzbsM0','C2TPCha','Axb0Aw8','BKXzCgy','B3iGBge','B2WGDg8','uNHJBxG','yw5Fy28','yxjKy28','DKDxuLa','CIbSB2m','DgvJDhm','BKTuELm','v05Tu0m','vu1D','lIbqyxi','BgWGkg0','zgvUy2K','se52wMe','CgXHDgy','C2LVBNm','CY4k','yw4GzxG','AxqIlca','vev1u0u','yxrLigm','DwXUzxi','AxGGyxy','zcb0BYa','B3iGq1C','BgLUzq','wfLWwLy','DgL0Bgu','zxjdyxm','CMvMzxi','ihnUAxa','sunbtf0','uNvUihK','BYbKAxm','BMn5ifm','z2voyw0','zxiGy2G','DxHhvMi','Dcb0BYa','DgDxzwG','B24TC2e','EsbPC3m','rMf0ywW','nda3mNH0uhLuta','BgL0Esa','Bcb2CYa','zgvZy3i','tgL0zsa','D3jPDgu','Bw9KAwy','lsbGiM0','ugf0Aca','q29TCge','DgvKEMC','ifvWzge','BY5SB2m','CMTtzhy','Dg8Gywq','4OcuifjLyq','yw4GzNi','zguVC2m','B3iGy2G','kgzPBgu','C29Uyc4','whrczLa','B1busLO','zML4x2C','zxDPuKS','yvDitKW','rxmSigG','v1bHz1G','qNPVrMW','lsbGiMu','DgvKigy','wu5ZuNG','BGOk','igzVCIa','C2vYDMu','zhjLC3m','AgfYzgm','zM9Yiee','zgLMzG','t3rXBge','zML4x3i','yw5FzgK','DMvYEs0','vMLbC3C','y3vYAxq','AxnRktS','yw1L','Dg8Gysa','ChqSihq','y2fUifi','zxbLBMq','B3b0Aw8','AguGy3u','v0f2s2O','z2vZx3m','DhKGDNu','tevWtgW','BwfUDwe','CgvUzgu','C2vJCMu','B2rL','BdOQkIa','DxnLzca','zMDYAwq','C2LUzYa','wffmC0u','zgvKihm','v0zdve4','zxf1zxm','Esbty2e','odiYAND2y1nu','BMfSx2m','zxjZAw8','BIbHy3q','zxn1Bhq','y2f0y2G','rgDhrui','yxzLiIW','kIPdAge','ndKZmtvKDNbwsfu','B25SEsa','yw1TAw4','DgrPBW','B24SigC','DgvJDgK','vMvYC2K','C2nHBL8','vNvSBMu','z0Htyw0','lsaQkKy','B3zureS','BI1Zyxy','vhLAsKi','B2rLoIO','zMLNDxi','DguGu2u','DwLKyw4','BMDZ','zw5JAwu','BgXLzfy','DIbKyxq','r2v0igq','kIPqywm','BgvUz3q','oIOQia','zxvJv1e','ywDL','vgHLihy','u0Lhsu4','zxrHAwW','zMLNlMO','y2HHBMC','yw5Nzsa','zwzVCMu','CMuGB3i','mc4XlJi','igLUAMu','uKfcsuW','yMLSAxq','CYbjrca','DgLJihm','zwrmAw4','B3vUDa','CMeTtgK','mJGYnJiXoxnTvvPpvq','AM9PBG','ihnJyw4','DgvK','zsbJB2q','zwqk','zM9Yzsa','BYbZy2e','AxG6kIO','ywnRywC','kIOG','B2rLigK','BM5PBMC','zwn1CMK','AgfUz2u','CYaOyxu','BIb0BYa','v2rus2u','B2nRzMK','C25PCha','CMLKzq','mdaXksa','B1nXwe8','zsbZzwm','igrPC2S','BgL0Awu','ChrPB24','zhzPC28','zxf1Axi','zxjHyMK','BIbTB2q','x3z1Bg4','zM9Yihm','zgLZAYa','ywrLia','CIbZDge','ywjPBgK','B25MAwC','BwvKAxu','ifvWz3i','ztOQkIa','icjLDMu','vgHLig8','BwvZC2e','u2vuBeC','y29TCgW','iYmGrMK','DwrPBMC','yxrPB24','rxjYB3i','CMLNAw4','BgvZicG','Exv0rMS','CZOQkIa','yxjLihm','y3qGzgu','BNKGy28','z2TfEuC','iYmGs2K','zxnJCMK','r2v0ihq','C2v0x2m','DNvSBMu','v0ftuca','Cg9W','kIPuB28','C3vTBwe','ANrdr1q','zML4zwq','EuPMwha','kIPhDwK','luXPDgu','DhLWzq','ienHCMC','zxHPDa','Dgv4Da','tunqihm','zgvKigy','BMzPz3u','CNvSzv8','s01KAu8','Exb0BYW','zw5Jzxm','y2fSBgu','B2rLige','DMvYC2K','veTWvK4','weLNv2K','zsjGiokaLa','u21msLm','Axr5','ihbHDhq','su9VzgG','AxHLzca','ieTPCMe','AujhB2O','vvbyChe','uhjVz3i','w0nssvq','zaOk','yxnNtMS','zNjLCxu','AxnHyMW','BK1Xq3i','yw51ywW','yMXLigq','zwqUiem','qwTuB3e','CMf0Aw8','DguGDNu','yw1Ligy','ywLSywi','AxzLlG','z2uGzgu','lIbvC2u','zMLSzq','ihzPysa','C3rHDhu','ig9Uigq','ywrtCfq','A2LWCgu','v0u6kIO','B3n0ihm','Eg9Xvfq','zxrLza','CvzUtwi','y2fUCYa','DxrVBwe','iezPEca','C3bSAxq','zYbSyw4','DhvZoIO','DhmSigK','B3jPz2K','z3mGywi','zcb2zxi','vurMEKu','rMLSzw4','Cg9YDca','BM93','A2LYys0','BIbMB3i','BIbszxm','y29Kzq','AgLNAa','ruzpuKu','EhHosem','tgPICK8','vgHLig4','mtaSiem','ys1SAxq','lsbGiM8','ywr2Axm','v0uTodK','u1yUzgu','ihrVid4','yaOk','B3jT','zgfUy2u','zxjLBMm','zs9JB24','B3vUza','ys1mAxq','iMaG4Ocuia','Dg9VBf8','zguGDg8','BgL0EsW','ywWGy28','CYb0BYa','kIPdv0u','q1DfieK','zcbPBNm','zuv4Axq','z3vHz2u','sfvACei','igLUigq','DcWGz28','y0rLAvC','ihvWzge','ywT3BNe','mZqYnJq1m29ZBe5ZqW','zdSGDxm','C3bLy2K','zxnFyxu','ywWIlIa','yxrOihq','Axr5x2y','kIPty2e','lsaQkLm','ExLtzNC','tvHSzfC','BuTkwgS','AwDPBMe','ycdIGjqGuW','B3zLigi','BIdIGjqGuW','u2nHBIa','Cg9YDhm','yxbWBhK','zwXwyNy','tLztCNe','rgLYzwm','y29UDgu','Aw9Uihm','A2zPBgu','DguGq28','Eevsv2m','ihrOzsa','B246kIO','y3rPB24','BgL0zq','BM9QCNy','Cgv0ihm','ssbJB2q','ihz1Bg4','CML0Esa','DMeSigu','ihrVigm','ierLDgu','AxmGC2u','ie5Vigy','qs1kuY0','DgmUkq','BguGCge','Df9JB24','lJiGCNu','y2fUig8','Aw5KAw4','lcblsvi','Aw5JBhu','mtjNCMXUAvm','yw5Uzwq','B1bfCha','BMfS','u1fmss0','s2LYys0','Bw9Kzsa','C3rYAw4','zwqUiey','C2v2zxi','Dg8GC2m','t3LdC1a','zxjYB3i','rcbVCIa','CWOk','ls0TcG','zgvWzw4','zwrPDci','y3rFCge','u3r0Buy','mtq0ntqWvw5bBgTf','Aw50CM8','CMLWDcW','Aw5Nigm','C2vZigW','yY4Pige','DvPJrvC','Es4k','ExbLC2m','zuT1Egi','y2fUiokaLa','igXVy2S','zxnzBLy','BguGEwu','AwjL','rMr6vu0','iokaLca','iYmJiey','zwn1CMu','CMvTywK','zMLSzv8','ienVzgu','zsbJB24','ihrOzw4','Aw5LoIO','BLnsyLK','Dg8Tzgu','BguGDg8','B3j5vxi','CMfIAwW','mcWGq1C','tKvxihy','yNKGAxq','zLzhEu0','EcbhDwK','zMLJigW','BwfW','zhvJzwq','BMDLig0','mtztBKnMyM8','Efvtywq','B24SihK','Bg5LCMe','Aw5ZDge','z3mkcG','C3n1ztO','AwvZlG','BMv3x2m','cMbGyaO','lwvKAxq','rxfIsw0','DwDNzxm','rxnkAgK','yMvMB3i','zxjUCYa','DxrLiha','icHQyxy','mZC4otjpsfDfq2G','CYKUiem','BMD1ywC','BK54Efq','BMqGCMu','AwXL','BxrSs0y','BMDZx2m','y3DL','svrjrvm','lsaQkKq','CL9LCNi','zsblAxi','C29UoIO','v0vZlca','ywXPyxm','BIbvCgq','DgLLCYa','Cgf0Aa','AwXLBMe','zM91BMq','yxjLigq','q29Kzq','igzSyxC','ywjzv3y','B3vYigm','CNrPBMC','zsbVBIa','zxf1zw4','q0Xfqu4','zsbTyw4','zw5NAw4','y2fU','igzYzxe','AwXLx3a','vLvmtKu','t1bmDKe','BwfYEtO','CNrLza','kIPtDw0','z2vZu2m','yvDNA0G','yxzLiI4','q29UzMK','B25ZlG','EKX0uvi','CNK6kIO','vK9zCvi','CNKTzwq','igvYCM8','vfviyuW','vxbKyxq','zsbMAxG','zxrLy3q','ywDLCIC','lY5RAxi','ywjHC2u','ywXSiei','kIPtDge','Cxzsrfa','A2zrzhy','y29Kzsa','BNnLy3u','qwXSige','uMrwsKC','kguUzY4','ywXSigy','DMvYAwy','Bc10Aw0','tNrnreK','A25VD24','B2rLihq','BMnPzxm','z2vmyuC','zMLSzw4','iYmJiYa','Aw54vhO','z2v0x2m','vfznzKG','qwXSihm','kIbvC2u','ihyWlJe','Bfj2ufq','zxzLCNK','zgLsuNK','CYbZywy','CMDywfK','yxrLzaO','ChjVAMu','z2aGDg8','ihDYAxq','B2rLlG'];_0x5f13=function(){return _0x53086a;};return _0x5f13();}import{scanFile}from'./tools/scan-file.js';import{scanDiff}from'./tools/scan-diff.js';import{fixVulnerability}from'./tools/fix-vulnerability.js';import{scanDependencies}from'./tools/scan-dependencies.js';import{getSupportedLockfiles}from'./core/engines/osv.js';import{initTelemetry,trackEvent,shutdownTelemetry}from'./telemetry.js';function _0x26c2ec(_0x23fa34,_0x4f2e7b){const _0x545cf3={_0x25c722:0x1b1};return _0x4923(_0x4f2e7b-_0x545cf3._0x25c722,_0x23fa34);}import{loadConfig,saveConfig}from'./config.js';const _0x5898d7={};_0x5898d7[_0x2802dc(0x7c,0x13a)]=_0x26c2ec(0x36d,0x2ee)+_0x26c2ec(0x433,0x334),_0x5898d7['versi'+'on']=_0x2802dc(0xfe,0x210),_0x5898d7[_0x2802dc(0xb9,0x1a0)+'iptio'+'n']=_0x26c2ec(0x2ce,0x34d)+_0x26c2ec(0x494,0x493)+'by\x20Of'+_0x26c2ec(0x611,0x4ce)+_0x26c2ec(0x4d0,0x3f4)+_0x2802dc(0xd6,0x47)+_0x26c2ec(0x5ef,0x49e)+_0x26c2ec(0x4c5,0x3d9)+_0x2802dc(0x320,0x230)+_0x26c2ec(0x592,0x44b)+_0x2802dc(0xf1,0x21b)+'ning\x20'+_0x26c2ec(0x5a2,0x4b4)+_0x2802dc(-0x76,0x45)+_0x2802dc(0x16b,0x154)+_0x26c2ec(0x555,0x40f)+_0x26c2ec(0x416,0x414)+_0x2802dc(-0x10b,0x4a)+'cts\x20O'+_0x26c2ec(0x19a,0x2a1)+'Top\x201'+_0x2802dc(0x12a,0x88)+_0x26c2ec(0x43c,0x4a9)+_0x26c2ec(0x334,0x467)+_0x2802dc(0x1ab,0x1df)+_0x26c2ec(0x4c8,0x458)+'s,\x20an'+_0x26c2ec(0x45a,0x30d)+_0x2802dc(0x47,0x7c)+_0x26c2ec(0x3da,0x2bd)+_0x2802dc(-0x6,0xa0)+'befor'+_0x26c2ec(0x5db,0x50f)+'e\x20hit'+'s\x20dis'+'k.';const server=new McpServer(_0x5898d7);function buildSkipResponse(_0x3ccd69,_0x54bf67){const _0x382f1e={_0x1c85de:0x28c,_0x45cd9d:0x399,_0x369822:0x1b3,_0x19eeb4:0x5da,_0x3417fe:0x1bf,_0x3a726f:0x21e,_0x4048f0:0x41d,_0x2deb16:0x33b,_0x476a13:0x1f4,_0xe1ad84:0x22a,_0x52e896:0x3e2,_0x19ceed:0x5cc,_0x583b8a:0x589,_0x376b41:0x53b,_0x34bd2a:0x1df,_0x10830b:0x126,_0x3d519b:0x13d,_0x1b4e01:0x4fd,_0x40a9d2:0x307,_0xda9210:0x30b,_0x1fbc4f:0x60,_0x3101ec:0xc8,_0x49fe7c:0x5c7,_0x553256:0x4c9,_0xd10164:0x15d,_0x30d0f9:0x4b7,_0x158303:0x532,_0x5b61f0:0x47b,_0x196ebb:0x2dc,_0x7a3108:0x1e8,_0x23ad2f:0x325,_0x2224a1:0x1c4,_0x1eb2dd:0xa5,_0x58d3a2:0x2da,_0x2c2379:0x30a,_0xbe731b:0x52e,_0x558044:0x42f,_0x481c8c:0x547,_0x414b9e:0x125,_0x51f2b9:0x357,_0x20fa61:0x338,_0x587e0e:0x4a0,_0x3fb1a0:0x3dc,_0x3ee8b3:0x45c,_0x34eb96:0x316,_0x895b11:0x53f,_0x4a3e61:0x415,_0x4751aa:0x1a4,_0x2d9d7a:0x55f,_0x3e2f74:0x4df,_0x2043e6:0x10,_0x4445d2:0x131,_0x392aa8:0x543,_0x58ea3b:0x473,_0x158bd4:0x16e,_0x19b76f:0x246,_0x9b50c0:0x16c,_0x4ed6cc:0x29f,_0x2b1fef:0x277,_0x58cad6:0xad,_0x4e4330:0x39f},_0x14edd5={_0x59787b:0x200},_0x52a53c={};_0x52a53c['tFuLS']=function(_0x2de07b,_0x1e2d11){return _0x2de07b+_0x1e2d11;},_0x52a53c['jtCGT']=function(_0x2baf09,_0x1c4b14){return _0x2baf09+_0x1c4b14;},_0x52a53c['TEuSE']='text';const _0x46f527=_0x52a53c;function _0x2c6ae5(_0xa40170,_0x5489f1){return _0x26c2ec(_0xa40170,_0x5489f1- -_0x14edd5._0x59787b);}const _0x587d0f={};_0x587d0f[_0x2c6ae5(0x29c,_0x382f1e._0x1c85de)+'ve']=_0x3539b5(0x257,_0x382f1e._0x45cd9d)+'mode\x20'+_0x2c6ae5(-0x13,0x13d)+_0x2c6ae5(_0x382f1e._0x369822,0x28a)+_0x3539b5(_0x382f1e._0x19eeb4,0x4a7)+_0x2c6ae5(0x2d7,_0x382f1e._0x3417fe)+_0x2c6ae5(0xfe,0x171)+_0x2c6ae5(0x24f,0x282)+'pet\x20s'+_0x2c6ae5(_0x382f1e._0x3a726f,0xe0)+_0x3539b5(0x30b,_0x382f1e._0x4048f0)+_0x3539b5(0x291,_0x382f1e._0x2deb16)+_0x2c6ae5(_0x382f1e._0x476a13,0x150)+_0x2c6ae5(0xd9,_0x382f1e._0xe1ad84)+_0x2c6ae5(0x125,0xe0)+_0x3539b5(0x407,_0x382f1e._0x52e896)+_0x3539b5(_0x382f1e._0x19ceed,0x54b)+'ive.',_0x587d0f[_0x3539b5(_0x382f1e._0x583b8a,_0x382f1e._0x376b41)+'l']=_0x2c6ae5(_0x382f1e._0x34bd2a,_0x382f1e._0x10830b)+_0x3539b5(0x4d3,0x3c1)+_0x2c6ae5(0x205,_0x382f1e._0x3d519b)+_0x3539b5(0x4a7,_0x382f1e._0x1b4e01)+'\x22manu'+_0x2c6ae5(0xa6,0x11a)+_0x3539b5(0x460,0x447)+_0x2c6ae5(0x181,0xe1)+_0x2c6ae5(0x228,_0x382f1e._0x40a9d2)+_0x3539b5(_0x382f1e._0xda9210,0x353)+_0x2c6ae5(0x179,0x1aa)+_0x2c6ae5(_0x382f1e._0x1fbc4f,_0x382f1e._0x3101ec)+_0x3539b5(_0x382f1e._0x49fe7c,_0x382f1e._0x553256)+'se\x20se'+_0x2c6ae5(_0x382f1e._0xd10164,0x142)+_0x3539b5(0x547,_0x382f1e._0x30d0f9)+_0x3539b5(_0x382f1e._0x158303,_0x382f1e._0x5b61f0)+'nge\x20m'+_0x2c6ae5(_0x382f1e._0x196ebb,0x1f0),_0x587d0f[_0x2c6ae5(0x217,_0x382f1e._0x7a3108)+_0x3539b5(_0x382f1e._0x23ad2f,0x400)]='';const _0x2f8305=_0x587d0f,_0x5196d0=_0x46f527['tFuLS'](_0x46f527[_0x2c6ae5(_0x382f1e._0x2224a1,_0x382f1e._0x1eb2dd)](_0x46f527[_0x3539b5(0x351,0x318)](_0x46f527['jtCGT'](_0x3539b5(0x2fe,0x30f)+_0x2c6ae5(_0x382f1e._0x58d3a2,_0x382f1e._0x2c2379)+'te\x20Se'+_0x3539b5(0x451,_0x382f1e._0xbe731b)+_0x3539b5(_0x382f1e._0x558044,_0x382f1e._0x481c8c)+_0x2c6ae5(0xcd,_0x382f1e._0x414b9e)+'kippe'+_0x3539b5(_0x382f1e._0x51f2b9,_0x382f1e._0x20fa61),_0x3539b5(0x49c,_0x382f1e._0x587e0e)+_0x3539b5(_0x382f1e._0x3fb1a0,0x2fd)+_0x3ccd69+'\x0a'),_0x3539b5(_0x382f1e._0x3ee8b3,_0x382f1e._0x34eb96)+_0x3539b5(0x4ac,_0x382f1e._0x895b11)+_0x54bf67+'\x0a'),'**Rea'+_0x3539b5(0x301,_0x382f1e._0x4a3e61)+'*\x20'+_0x2f8305[_0x3ccd69]+'\x0a'),_0x3539b5(0x440,0x550)+_0x2c6ae5(_0x382f1e._0x4751aa,0x182)+_0x3539b5(0x469,_0x382f1e._0x2d9d7a)+_0x3539b5(_0x382f1e._0x3e2f74,0x458)+_0x2c6ae5(-_0x382f1e._0x2043e6,_0x382f1e._0x4445d2)+_0x3539b5(_0x382f1e._0x392aa8,_0x382f1e._0x58ea3b)+_0x3539b5(0x567,0x492)+_0x2c6ae5(_0x382f1e._0x158bd4,0x1ee)+'ol\x20to'+_0x2c6ae5(_0x382f1e._0x19b76f,0x114)+'te\x20sc'+_0x2c6ae5(_0x382f1e._0x9b50c0,_0x382f1e._0x4ed6cc)+_0x2c6ae5(0xa8,0x1b1)+_0x2c6ae5(0x1e8,0x209)),_0x5a745e={};_0x5a745e[_0x2c6ae5(0x72,0xaa)]=_0x46f527[_0x2c6ae5(_0x382f1e._0x476a13,_0x382f1e._0x2b1fef)];function _0x3539b5(_0x501ea2,_0x424045){return _0x2802dc(_0x501ea2,_0x424045-0x365);}_0x5a745e[_0x2c6ae5(0x158,_0x382f1e._0x58cad6)]=_0x5196d0;const _0x8f14b6={};return _0x8f14b6[_0x3539b5(0x2af,_0x382f1e._0x4e4330)+'nt']=[_0x5a745e],_0x8f14b6;}server[_0x2802dc(0xdb,0x114)](_0x26c2ec(0x5e4,0x4e5)+'code',_0x2802dc(-0xfb,0x34)+_0x26c2ec(0x394,0x3d2)+_0x2802dc(0x78,-0x70)+_0x26c2ec(0x407,0x518)+_0x26c2ec(0x47f,0x4c6)+'lnera'+_0x2802dc(0x26f,0x213)+'ies\x20('+'OWASP'+_0x26c2ec(0x575,0x43a)+_0x26c2ec(0x3ef,0x2f7)+_0x26c2ec(0x335,0x3a3)+_0x26c2ec(0x5c6,0x4b3)+_0x26c2ec(0x456,0x448)+_0x26c2ec(0x456,0x4ca)+_0x26c2ec(0x323,0x2e6)+_0x26c2ec(0x385,0x3d3)+'re\x20cr'+_0x2802dc(0x57,-0x3f)+_0x26c2ec(0x463,0x503)+_0x26c2ec(0x389,0x333)+_0x26c2ec(0x27e,0x3ac)+_0x26c2ec(0x4a0,0x396)+_0x2802dc(0x1ad,0xdc)+_0x26c2ec(0x29a,0x2f3)+_0x26c2ec(0x2d7,0x3ef)+'ing\x20a'+_0x26c2ec(0x14a,0x29a)+_0x2802dc(-0xb5,0x15)+_0x26c2ec(0x398,0x27a)+'.',{'code':z[_0x26c2ec(0x3d5,0x34f)+'g']()[_0x26c2ec(0x41c,0x492)+_0x26c2ec(0x493,0x36a)]('The\x20c'+_0x26c2ec(0x3a2,0x3dc)+_0x26c2ec(0x42c,0x512)+_0x26c2ec(0x1ea,0x2ef)+'\x20vuln'+_0x2802dc(-0x93,-0x73)+_0x2802dc(-0x37,-0x77)+'s'),'language':z[_0x26c2ec(0x34b,0x34f)+'g']()[_0x26c2ec(0x541,0x4c2)+_0x26c2ec(0x3ab,0x34b)]()['descr'+_0x26c2ec(0x3c3,0x36a)](_0x26c2ec(0x1f3,0x2c3)+_0x2802dc(0x1da,0x1ee)+_0x26c2ec(0x19d,0x2e4)+_0x26c2ec(0x293,0x30f)+_0x2802dc(-0x19,0xa2)+'ascri'+_0x26c2ec(0x53f,0x4bf)+_0x2802dc(0x3b,0x72)+_0x2802dc(0x48,0x6c)+_0x26c2ec(0x4db,0x3fb)+_0x26c2ec(0x547,0x4e2)+'o,\x20ja'+_0x26c2ec(0x3c5,0x33a)+_0x26c2ec(0x2c5,0x340)),'filename':z[_0x26c2ec(0x2bd,0x34f)+'g']()[_0x26c2ec(0x5bc,0x4c2)+_0x2802dc(-0x27,0x59)]()['descr'+_0x26c2ec(0x310,0x36a)](_0x26c2ec(0x4bb,0x42f)+_0x26c2ec(0x204,0x2af)+_0x2802dc(0xb6,0xb6)+'me\x20—\x20'+_0x2802dc(0x22a,0x1db)+_0x2802dc(0x22,0x131)+_0x2802dc(0x1d8,0x100)+_0x2802dc(-0x93,-0x1f)+_0x2802dc(0x207,0x1f1)+'on')},async _0x1a543e=>{const _0xca53b2={_0x3240aa:0x1ab,_0x319947:0x2a5,_0x4703b9:0x1ba,_0x32421c:0x7f,_0x3eeaf1:0x25e,_0x3a06be:0x2af,_0x3a700b:0x14a,_0x72baaf:0x261,_0x12cbb5:0x270,_0x1424b9:0x10a,_0x31817d:0x126,_0x19fbd7:0x2c9,_0x542878:0x1fb,_0x15940b:0x253,_0x4fc661:0x1ea,_0x2312d7:0x211,_0x1902a3:0x2ab,_0x5d3415:0x1ea,_0x1c5cb8:0x1c5,_0x8a03f9:0x34b,_0x4a0b3e:0xb1,_0x5ce0cf:0x69,_0x1f4daa:0xd7,_0x5f948:0x2a2,_0x55f49f:0x3a1,_0x36344f:0x257,_0x108f7f:0xad,_0x425f50:0x16e,_0x2259fa:0x26a,_0x404cb0:0x368,_0x419f7e:0x273,_0x5e5546:0x109,_0x4746df:0x1eb,_0x2ab458:0x1c0,_0x13ed67:0xa8,_0x5aaa13:0xa7,_0x52e54f:0x166,_0x53a255:0x74,_0x5b9749:0x18,_0x168634:0x70,_0x427471:0x2a8,_0x2a388c:0x212,_0x5c9a21:0x8a,_0x44fc77:0x213,_0x30381e:0x357,_0x567a81:0x1c3,_0x324ac4:0x18a,_0x23442b:0x286,_0x5b3b1b:0x329,_0x1b85e3:0x15,_0x5bef0b:0x218,_0x2da8cb:0x2ae,_0x1e4d99:0x10d,_0x1d5790:0x57,_0x460a8c:0x180,_0x392544:0x215,_0x4e4318:0xd3,_0x54c092:0x107,_0xa370d7:0x2d1,_0x49798a:0x146,_0x29cd76:0xc1,_0x402f0a:0x2ae,_0x49940d:0x307,_0x1a2c15:0x70,_0x3cd2a8:0x8e,_0xa5370a:0x34,_0x5077c5:0x11f,_0x278532:0x166},_0x287dc7={'WAvKj':function(_0x5d59dc){return _0x5d59dc();},'Zjlsx':function(_0x1dbddd,_0x7580f1){return _0x1dbddd===_0x7580f1;},'XQLsE':_0x479bad(_0xca53b2._0x3240aa,_0xca53b2._0x319947)+'ve','gkEyG':_0x479bad(0x1e7,_0xca53b2._0x4703b9)+'l','mtlKF':function(_0xa9869a,_0x4294e9,_0x27b4d5){return _0xa9869a(_0x4294e9,_0x27b4d5);},'yXdsC':_0x560d42(-_0xca53b2._0x32421c,-0x7a)+_0x560d42(-0x104,-0x191)+'ed','UPXpq':_0x560d42(-0x7f,0xcb)+_0x479bad(0x10,-0xd2),'oPEpp':_0x560d42(-_0xca53b2._0x3eeaf1,-0x37d)+_0x560d42(-_0xca53b2._0x3a06be,-0x349)+'d','lSAyC':function(_0x108588,_0x5d495a){return _0x108588(_0x5d495a);},'SeTlG':function(_0x50cced,_0x5aa3b3){return _0x50cced+_0x5aa3b3;},'mKJXk':function(_0x3ab1b7,_0x293020,_0x29d0b8){return _0x3ab1b7(_0x293020,_0x29d0b8);},'OwjAF':'vulne'+_0x560d42(-0x1eb,-_0xca53b2._0x3a700b)+'ity_f'+_0x560d42(-_0xca53b2._0x72baaf,-_0xca53b2._0x12cbb5)},_0x83b5a4=_0x287dc7[_0x479bad(0x1e3,0x24b)](loadConfig);if(_0x287dc7[_0x560d42(-_0xca53b2._0x1424b9,-0x19)](_0x83b5a4[_0x560d42(-_0xca53b2._0x31817d,-0x66)+'ode'],_0x287dc7[_0x560d42(-0x94,-0xf6)])||_0x287dc7[_0x560d42(-0x10a,-0x98)](_0x83b5a4['scanM'+_0x560d42(-0x99,-0x1d2)],_0x287dc7[_0x560d42(-_0xca53b2._0x19fbd7,-_0xca53b2._0x542878)]))return _0x287dc7['mtlKF'](trackEvent,_0x287dc7['yXdsC'],{'tool':_0x287dc7['UPXpq'],'mode':_0x83b5a4[_0x560d42(-0x126,-_0xca53b2._0x15940b)+_0x479bad(_0xca53b2._0x4fc661,_0xca53b2._0x2312d7)]}),_0x287dc7['mtlKF'](buildSkipResponse,_0x83b5a4[_0x479bad(0x15d,_0xca53b2._0x1902a3)+_0x479bad(_0xca53b2._0x5d3415,_0xca53b2._0x1c5cb8)],_0x287dc7['UPXpq']);const _0xdcda0b=Date[_0x560d42(-0x277,-_0xca53b2._0x8a03f9)]();function _0x560d42(_0x4c575a,_0x4a7870){return _0x2802dc(_0x4a7870,_0x4c575a- -0x272);}_0x287dc7[_0x479bad(0xba,_0xca53b2._0x4a0b3e)](trackEvent,_0x287dc7[_0x479bad(_0xca53b2._0x5ce0cf,_0xca53b2._0x1f4daa)],{'tool':_0x287dc7[_0x560d42(-_0xca53b2._0x5f948,-_0xca53b2._0x55f49f)],'language':_0x1a543e[_0x560d42(-0x109,-_0xca53b2._0x36344f)+_0x560d42(-0x6b,-_0xca53b2._0x108f7f)]??_0x479bad(_0xca53b2._0x425f50,_0xca53b2._0x2259fa),'line_count':_0x1a543e[_0x560d42(-0x273,-_0xca53b2._0x404cb0)][_0x479bad(0x2,-0x3b)]('\x0a')['lengt'+'h']});const _0x71f2e8={};_0x71f2e8[_0x560d42(-_0xca53b2._0x419f7e,-0x36d)]=_0x1a543e[_0x560d42(-_0xca53b2._0x419f7e,-0x39d)],_0x71f2e8[_0x560d42(-_0xca53b2._0x5e5546,0x46)+'age']=_0x1a543e[_0x560d42(-0x109,-_0xca53b2._0x4746df)+'age'];function _0x479bad(_0x4d4265,_0x1d6586){return _0x2802dc(_0x1d6586,_0x4d4265-0x11);}_0x71f2e8['filen'+_0x479bad(0x1dc,_0xca53b2._0x2ab458)]=_0x1a543e[_0x560d42(-0x185,-_0xca53b2._0x13ed67)+_0x560d42(-_0xca53b2._0x5aaa13,-0x14)];const _0x293d82=await _0x287dc7[_0x560d42(-_0xca53b2._0x52e54f,-0x1e1)](scanCode,_0x71f2e8),_0x3440ea=Date['now']()-_0xdcda0b,_0x307426={};for(const _0x42baec of _0x293d82['findi'+_0x560d42(-_0xca53b2._0x53a255,_0xca53b2._0x5b9749)]){_0x307426[_0x42baec[_0x479bad(_0xca53b2._0x168634,-0x53)+_0x560d42(-_0xca53b2._0x427471,-_0xca53b2._0x2a388c)]]=_0x287dc7[_0x479bad(-0x53,-_0xca53b2._0x5c9a21)](_0x307426[_0x42baec[_0x560d42(-_0xca53b2._0x44fc77,-_0xca53b2._0x30381e)+'ity']]??0x19*0x34+0x64d*0x1+-0x3cb*0x3,0xf23+-0x138*-0x2+-0x1192);}_0x287dc7[_0x560d42(-0x243,-_0xca53b2._0x567a81)](trackEvent,_0x560d42(-_0xca53b2._0x32421c,-_0xca53b2._0x324ac4)+'compl'+_0x560d42(-_0xca53b2._0x23442b,-_0xca53b2._0x5b3b1b),{'tool':_0x287dc7['UPXpq'],'language':_0x293d82[_0x560d42(-0x109,-_0xca53b2._0x1b85e3)+_0x479bad(_0xca53b2._0x5bef0b,_0xca53b2._0x2da8cb)],'lines':_0x293d82[_0x560d42(-_0xca53b2._0x1e4d99,-_0xca53b2._0x1d5790)+_0x479bad(0x227,_0xca53b2._0x460a8c)+'es'],'status':_0x293d82['statu'+'s'],'findings_count':_0x293d82[_0x560d42(-0x13d,-0x155)+_0x479bad(0x20f,0xe8)][_0x479bad(_0xca53b2._0x392544,0x103)+'h'],'severity_counts':_0x307426,'duration_ms':_0x3440ea,'engines':_0x293d82[_0x479bad(_0xca53b2._0x4e4318,_0xca53b2._0x54c092)+'es'][_0x560d42(-0x1e4,-_0xca53b2._0xa370d7)](_0x93333f=>_0x93333f[_0x560d42(-0x1b0,-0x180)+'e'])});for(const _0x23d277 of _0x293d82[_0x479bad(_0xca53b2._0x49798a,_0xca53b2._0x29cd76)+_0x560d42(-0x74,-0xf1)]){const _0x2583df={};_0x2583df[_0x560d42(-0x2b3,-0x1b6)+'id']=_0x23d277['id'],_0x2583df['cwe']=_0x23d277[_0x560d42(-0x1c7,-0x223)],_0x2583df[_0x560d42(-_0xca53b2._0x44fc77,-_0xca53b2._0x402f0a)+_0x560d42(-0x2a8,-_0xca53b2._0x49940d)]=_0x23d277[_0x479bad(_0xca53b2._0x1a2c15,_0xca53b2._0x3cd2a8)+'ity'],trackEvent(_0x287dc7[_0x479bad(0x12c,0x1be)],_0x2583df);}return{'content':[{'type':_0x479bad(-_0xca53b2._0xa5370a,_0xca53b2._0x5077c5),'text':_0x287dc7[_0x560d42(-_0xca53b2._0x278532,-0x1f0)](formatScanResult,_0x293d82)}]};}),server['tool']('scan_'+_0x26c2ec(0x3cd,0x2d5),_0x26c2ec(0x383,0x326)+_0x2802dc(0x29c,0x183)+_0x2802dc(0x3f,0x139)+_0x2802dc(0x2ad,0x15a)+_0x2802dc(0x15a,0xbe)+_0x2802dc(-0xd6,-0x6f)+_0x2802dc(0x19,-0x70)+'ecuri'+_0x26c2ec(0x4a4,0x4c6)+_0x2802dc(0xc6,0x94)+_0x26c2ec(0x658,0x505)+_0x26c2ec(0x35c,0x38a),{'file_path':z['strin'+'g']()[_0x2802dc(0x273,0x1a0)+_0x2802dc(-0x43,0x78)]('Absol'+_0x26c2ec(0x3c1,0x393)+_0x2802dc(0x8b,0x29)+'o\x20the'+_0x26c2ec(0x536,0x407)+'\x20to\x20s'+_0x2802dc(-0x38,0xc3)),'language':z[_0x2802dc(0x5c,0x5d)+'g']()[_0x26c2ec(0x425,0x4c2)+'nal']()['descr'+_0x2802dc(0xf7,0x78)](_0x2802dc(-0xec,-0x2f)+_0x26c2ec(0x49b,0x4e0)+'g\x20lan'+_0x2802dc(-0x85,0x1d)+'\x20over'+_0x26c2ec(0x5a0,0x51f))},async _0x515187=>{const _0x58b5d0={_0x15d638:0xbd,_0x18db20:0xbf,_0x55a7c6:0x54,_0x3cec47:0x9a,_0x5cc997:0x16c,_0x20e5d5:0x63,_0x136a7f:0xee,_0x50bb5b:0x1e2,_0x3cfd92:0x25f,_0x10833c:0x118,_0x3ed1b4:0x9b,_0x22c5f2:0x209,_0x23a001:0xc3,_0x227af3:0x88,_0x5347fa:0x167,_0x2853b1:0xf1,_0x1dc965:0x25a,_0x6f30a8:0x7f,_0x364b0f:0x8f,_0x57f267:0x13f,_0x5d7992:0x19b,_0x5033fa:0x1f8,_0x5b5f1f:0xc1,_0x2e149c:0x261,_0x31773c:0xb,_0x3e983f:0x89,_0x130f27:0x6b,_0x1e2fd6:0x1bc,_0x5e1dab:0x6,_0x5b8bc6:0x2b,_0x57192d:0x9e,_0x38d67b:0x84,_0x3dde30:0x94,_0xc2eb9d:0x0,_0x3b4da6:0x74,_0x322040:0xb9,_0x516c5e:0x105,_0x40f189:0x243,_0x5b720b:0x256,_0x38171c:0x1a4,_0xd970fc:0x217,_0x4c9ba1:0x4d,_0x3ab962:0xa2,_0x1ca331:0x16d,_0x12246b:0x35,_0x5de9df:0x198,_0x13c833:0x67,_0x4c36a7:0x56,_0x5923b2:0x2f,_0x318e75:0xac,_0x3ea094:0x70,_0x5e6fa5:0x107,_0x5199fc:0x13,_0x33148c:0xa1,_0x2d339b:0xa,_0x12998d:0x96,_0x2566cd:0x23,_0x1fe9aa:0xd5,_0x5607aa:0x11f,_0x36bd13:0xd,_0x519e65:0x10c,_0x3d0862:0xc2,_0x5d9f5f:0xf9,_0x32827a:0x250,_0x306a98:0x105,_0x2b6100:0x33,_0x267f23:0xfc,_0x333eaf:0x1e,_0x41b8f0:0x14,_0x98c2ae:0x160,_0x4c553c:0x29e,_0x54b892:0x74,_0x59f3b6:0x253,_0x5d6d5a:0x1b2,_0x45eafd:0x143,_0x1ac75b:0x15b,_0x2249b3:0xa3,_0x5e8f6f:0x138,_0x2350d2:0xe,_0x32e6e2:0x1c3,_0xe8e2af:0x92,_0xa6b2a:0xb2,_0x373527:0x6c,_0x483fc6:0xcb,_0x5b407b:0x54,_0x23abcd:0x3d,_0x11eef9:0xc7,_0x3447c1:0x2a,_0x1a7c7a:0x1a,_0xd6b63d:0x18b,_0x99a28f:0x4a,_0x4e9e23:0x248,_0x4cfb74:0x83,_0x3c8b5d:0x1e,_0x58e7bb:0x36,_0x5b3425:0x284,_0x50b254:0x205,_0x5c4344:0xec,_0x108c72:0x95,_0x5ec180:0x1d,_0x240712:0xbb,_0x56e66b:0xb2,_0x34a6bf:0x46,_0x1f5da7:0x25,_0x3efb70:0x4,_0x4a86d7:0x19a,_0x3bc261:0x8d,_0x31e734:0x40,_0x478aa9:0x214,_0x4337a6:0x1e9,_0x5d49ec:0x4d,_0xf01f8c:0x111,_0x1b07ef:0x2ea,_0x3b5f53:0x1cd,_0x24751f:0x25c,_0x3bacf1:0xb,_0x24ca31:0x10a,_0x1731a0:0x1ff,_0x4ce084:0x59,_0x4f2aae:0x6a,_0x2e5e1b:0x49,_0x40e8f8:0x19d,_0x164c0c:0xd7,_0x10f4a8:0xc7,_0x5b5df6:0x55,_0x100a4a:0x123,_0x3f39f4:0x11e,_0xdcf8e9:0x1f3,_0x44a830:0xdb,_0x21e18f:0x1,_0x4adda2:0x12c,_0x597b79:0x1de,_0x579889:0xf2,_0x12efbd:0x157,_0x336233:0x1d5,_0x11e56c:0x179,_0x4b55bb:0x119,_0x4ec299:0x1e,_0x5c7790:0x15e,_0x31f02b:0x13a,_0x4a3d03:0x170,_0x3e4b02:0x1b6,_0x5ba26e:0x24},_0x4008f4={_0x2f5e72:0x3f4},_0x2402d5={'Rxcmx':function(_0x23fd41,_0x1aee5a,_0x3fdbb7){return _0x23fd41(_0x1aee5a,_0x3fdbb7);},'BnqmJ':_0xcd6a4e(_0x58b5d0._0x15d638,_0x58b5d0._0x18db20)+_0xcd6a4e(-_0x58b5d0._0x55a7c6,0x5c)+'or','YNsRx':_0xcd6a4e(_0x58b5d0._0x3cec47,0x34)+_0x23eed7(-0x14e,-_0x58b5d0._0x5cc997)+'r\x20sta'+'rting'+'\x20Kira'+'-Lite'+_0x23eed7(-0x101,-0x22b)+_0x23eed7(-_0x58b5d0._0x20e5d5,0xb3)+'r:','TUHaL':function(_0x479c76){return _0x479c76();},'kfQdv':function(_0x3ec8fc,_0x4636bb){return _0x3ec8fc+_0x4636bb;},'aWHNL':_0xcd6a4e(-_0x58b5d0._0x136a7f,-_0x58b5d0._0x50bb5b)+_0x23eed7(-_0x58b5d0._0x3cfd92,-0x110)+'d','Otqla':_0x23eed7(-_0x58b5d0._0x10833c,-0x84)+_0x23eed7(-_0x58b5d0._0x3ed1b4,-0x148)+_0x23eed7(-0x28e,-_0x58b5d0._0x22c5f2)+'ty','vGWRP':function(_0xa3e8d3,_0x14fab2){return _0xa3e8d3(_0x14fab2);},'aWgkH':_0xcd6a4e(_0x58b5d0._0x23a001,0xf5)+_0x23eed7(-0x41,-_0x58b5d0._0x227af3)+_0xcd6a4e(0x11a,-0x2b),'qvRDP':_0xcd6a4e(-0x147,-_0x58b5d0._0x5347fa),'akwnq':function(_0x51b5b2,_0x363ed6,_0x2daa2e){return _0x51b5b2(_0x363ed6,_0x2daa2e);},'WFetY':_0xcd6a4e(_0x58b5d0._0x2853b1,0x1b7)+_0x23eed7(-0x23f,-_0x58b5d0._0x1dc965),'zePPw':function(_0x542d00,_0x2fd303,_0x30a437){return _0x542d00(_0x2fd303,_0x30a437);},'dvAJm':function(_0x4ebfc7){return _0x4ebfc7();},'LEpLl':function(_0x22737a,_0x5e4ef2){return _0x22737a===_0x5e4ef2;},'PyUei':'manua'+'l','CNQYi':function(_0x55614a,_0x5cb27a){return _0x55614a===_0x5cb27a;},'ovTDK':_0x23eed7(-0x1b2,-_0x58b5d0._0x6f30a8),'abYWv':_0xcd6a4e(0xf1,_0x58b5d0._0x364b0f)+'skipp'+'ed','JAKYU':function(_0x5eac1d,_0x195783,_0x325a9b){return _0x5eac1d(_0x195783,_0x325a9b);},'IOodh':'auto','XtBfP':function(_0x55f3eb,_0x380569){return _0x55f3eb-_0x380569;},'eucWQ':function(_0x166cf7,_0x28408f){return _0x166cf7===_0x28408f;},'OyCsP':_0x23eed7(-_0x58b5d0._0x57f267,-0x37),'XYpZV':'asJmp','oSqXO':function(_0x3c8f6d,_0x25d667){return _0x3c8f6d+_0x25d667;},'PbvdU':function(_0x510627,_0xeb5b49,_0xc38f86){return _0x510627(_0xeb5b49,_0xc38f86);},'rxHpp':function(_0x32beee,_0x25f935){return _0x32beee===_0x25f935;},'iBGoj':'WEBeA','inxTz':function(_0x12bb88,_0x59e9f5,_0x508a36){return _0x12bb88(_0x59e9f5,_0x508a36);},'MXldW':_0xcd6a4e(-0x154,-0x1d8)+_0x23eed7(-_0x58b5d0._0x5d7992,-0x259)+_0x23eed7(-_0x58b5d0._0x5033fa,-_0x58b5d0._0x5b5f1f)+_0x23eed7(-0x211,-_0x58b5d0._0x2e149c),'RFolh':function(_0x283830){return _0x283830();},'TKpVN':_0xcd6a4e(-_0x58b5d0._0x31773c,_0x58b5d0._0x3e983f),'WPagX':function(_0x1aec46,_0x2f7aa0){return _0x1aec46(_0x2f7aa0);},'SmLJS':function(_0x4b329a,_0x868d8e,_0x3a6c25){return _0x4b329a(_0x868d8e,_0x3a6c25);},'UDfzE':_0xcd6a4e(0xf1,0x14d)+'compl'+'eted','NtMDI':function(_0x4d74e6,_0x257065){return _0x4d74e6+_0x257065;}},_0x146f71=_0x2402d5[_0xcd6a4e(_0x58b5d0._0x130f27,_0x58b5d0._0x1e2fd6)](loadConfig);if(_0x2402d5[_0xcd6a4e(0xd3,0x5a)](_0x146f71[_0x23eed7(-0xd6,-0x71)+_0xcd6a4e(0xd7,_0x58b5d0._0x5e1dab)],_0x2402d5['PyUei'])){if(_0x2402d5['CNQYi']('nGobI',_0x2402d5[_0x23eed7(-_0x58b5d0._0x5b8bc6,0x8e)]))_0x2402d5[_0x23eed7(-0xaf,-0xa1)](_0x29d672,_0x2402d5['BnqmJ'],{'error':_0x243a19(_0x2f2632)}),_0x18bcdf['error'](_0x2402d5[_0x23eed7(-0x66,-_0x58b5d0._0x57192d)],_0x1d09a5),_0x2402d5[_0xcd6a4e(-0x2d,-0x15b)](_0x4b67a5)[_0x23eed7(-0xe4,-0x16b)+'ly'](()=>_0x5a0383['exit'](0x16c1+0x6*-0x4b5+0x57e));else return trackEvent(_0x2402d5[_0x23eed7(-_0x58b5d0._0x5347fa,-0x1d2)],{'tool':_0x2402d5[_0xcd6a4e(0x59,-_0x58b5d0._0x38d67b)],'mode':_0x146f71['scanM'+_0x23eed7(-0x49,-_0x58b5d0._0x3dde30)]}),_0x2402d5['JAKYU'](buildSkipResponse,_0x146f71[_0xcd6a4e(0x4a,_0x58b5d0._0xc2eb9d)+_0x23eed7(-0x49,-_0x58b5d0._0x3b4da6)],_0x2402d5['WFetY']);}const _0x5c39c2=Date['now']();_0x2402d5['JAKYU'](trackEvent,_0x2402d5[_0x23eed7(-0x6c,0x40)],{'tool':_0x2402d5['WFetY'],'language':_0x515187[_0x23eed7(-_0x58b5d0._0x322040,-0x1d1)+_0xcd6a4e(_0x58b5d0._0x516c5e,_0x58b5d0._0x40f189)]??_0x2402d5[_0x23eed7(-_0x58b5d0._0x5b720b,-0x112)]});const _0x2f4b1a={};_0x2f4b1a[_0x23eed7(-_0x58b5d0._0x38171c,-_0x58b5d0._0xd970fc)+_0xcd6a4e(-_0x58b5d0._0x4c9ba1,-0xbc)]=_0x515187[_0x23eed7(-0x1a4,-_0x58b5d0._0x3ab962)+_0x23eed7(-_0x58b5d0._0x1ca331,-_0x58b5d0._0x12246b)],_0x2f4b1a[_0xcd6a4e(0x67,_0x58b5d0._0x5de9df)+'age']=_0x515187[_0xcd6a4e(_0x58b5d0._0x13c833,-_0x58b5d0._0x4c36a7)+_0xcd6a4e(0x105,-_0x58b5d0._0x5923b2)];function _0xcd6a4e(_0x22ea08,_0x1789fa){return _0x26c2ec(_0x1789fa,_0x22ea08- -_0x4008f4._0x2f5e72);}const _0x45fab8=await _0x2402d5[_0x23eed7(-_0x58b5d0._0x318e75,_0x58b5d0._0x55a7c6)](scanFile,_0x2f4b1a);function _0x23eed7(_0x3e9e77,_0x1d3887){return _0x2802dc(_0x1d3887,_0x3e9e77- -0x222);}const _0x4cf43c=_0x2402d5[_0x23eed7(-_0x58b5d0._0x3ea094,0x2d)](Date[_0xcd6a4e(-_0x58b5d0._0x5e6fa5,-0x6a)](),_0x5c39c2),_0x597755={};for(const _0xf1f147 of _0x45fab8[_0x23eed7(-0xed,0x34)+'ngs']){_0x2402d5[_0x23eed7(-0x1c,_0x58b5d0._0x5199fc)](_0x2402d5[_0xcd6a4e(-_0x58b5d0._0x33148c,-_0x58b5d0._0x2d339b)],_0x2402d5[_0x23eed7(-_0x58b5d0._0x12998d,-0xca)])?_0x1a49d3[_0x54bd7b['sever'+_0x23eed7(-0x258,-0x2c6)]]=_0x2402d5[_0xcd6a4e(-_0x58b5d0._0x2566cd,-0x14f)](_0x30d711[_0x145737['sever'+_0xcd6a4e(-0x138,-0x17)]]??-0x5*-0x2f9+-0x294+-0xc49,-0x1*0xc44+0x5ce*-0x5+-0x1*-0x294b):_0x597755[_0xf1f147[_0xcd6a4e(-0xa3,-_0x58b5d0._0x1fe9aa)+_0xcd6a4e(-0x138,-_0x58b5d0._0x5607aa)]]=_0x2402d5[_0x23eed7(_0x58b5d0._0x36bd13,_0x58b5d0._0x519e65)](_0x597755[_0xf1f147[_0x23eed7(-0x1c3,-_0x58b5d0._0x3d0862)+'ity']]??-0x6*-0x332+0x11d8+0x5c*-0x67,-0x188c+0x26ef+-0xe62);}_0x2402d5[_0x23eed7(-_0x58b5d0._0x5d9f5f,-0x69)](trackEvent,_0xcd6a4e(0xf1,0x84)+_0x23eed7(-0x285,-0x25e)+'eted',{'tool':_0xcd6a4e(_0x58b5d0._0x2853b1,0x19f)+_0xcd6a4e(-_0x58b5d0._0x5607aa,-_0x58b5d0._0x32827a),'language':_0x45fab8['langu'+_0xcd6a4e(_0x58b5d0._0x306a98,0x209)],'lines':_0x45fab8['scann'+_0x23eed7(-0xc,-0x101)+'es'],'status':_0x45fab8[_0xcd6a4e(-0x11d,-0x9b)+'s'],'findings_count':_0x45fab8[_0xcd6a4e(_0x58b5d0._0x2b6100,0x6d)+_0xcd6a4e(_0x58b5d0._0x267f23,0x122)][_0x23eed7(-_0x58b5d0._0x333eaf,_0x58b5d0._0x41b8f0)+'h'],'severity_counts':_0x597755,'duration_ms':_0x4cf43c,'engines':_0x45fab8[_0x23eed7(-_0x58b5d0._0x98c2ae,-_0x58b5d0._0x4c553c)+'es'][_0xcd6a4e(-_0x58b5d0._0x54b892,0x1b)](_0xd5cf2f=>_0xd5cf2f[_0x23eed7(-0x160,-0x109)+'e'])});for(const _0x46ca60 of _0x45fab8[_0xcd6a4e(0x33,0xab)+_0xcd6a4e(_0x58b5d0._0x267f23,0x163)]){if(_0x2402d5['rxHpp'](_0x2402d5[_0xcd6a4e(-0x133,-0x200)],_0x2402d5[_0x23eed7(-_0x58b5d0._0x59f3b6,-_0x58b5d0._0x5d6d5a)])){const _0x404e16={};_0x404e16[_0xcd6a4e(-_0x58b5d0._0x45eafd,-0x19c)+'id']=_0x46ca60['id'],_0x404e16[_0x23eed7(-0x177,-_0x58b5d0._0x1ac75b)]=_0x46ca60[_0x23eed7(-0x177,-0x2a8)],_0x404e16[_0xcd6a4e(-_0x58b5d0._0x2249b3,0x65)+_0xcd6a4e(-_0x58b5d0._0x5e8f6f,_0x58b5d0._0x2350d2)]=_0x46ca60[_0x23eed7(-_0x58b5d0._0x32e6e2,-_0x58b5d0._0xe8e2af)+'ity'],_0x2402d5[_0xcd6a4e(-0x13,-_0x58b5d0._0xa6b2a)](trackEvent,_0x2402d5[_0xcd6a4e(-0xd4,-0x140)],_0x404e16);}else{_0x2402d5[_0xcd6a4e(0x71,-0x83)](_0x398371,_0x2402d5[_0x23eed7(-_0x58b5d0._0x373527,_0x58b5d0._0x483fc6)],{'tool':_0x2402d5[_0x23eed7(-0x5e,-_0x58b5d0._0x5b407b)]});const _0x560f4b={};_0x560f4b[_0xcd6a4e(-0x154,-0xbf)+_0xcd6a4e(-0x7b,-_0x58b5d0._0x4c9ba1)+_0xcd6a4e(0x1e,0x123)+'d']=_0x3d070e['vulne'+_0xcd6a4e(-0x7b,-_0x58b5d0._0x23abcd)+'ity_i'+'d'],_0x560f4b[_0xcd6a4e(-0x103,-_0x58b5d0._0x11eef9)]=_0x42eb23[_0xcd6a4e(-0x103,-_0x58b5d0._0x3cec47)],_0x560f4b[_0xcd6a4e(0x67,-_0x58b5d0._0x3447c1)+'age']=_0x1033c0[_0xcd6a4e(0x67,_0x58b5d0._0x1a7c7a)+_0xcd6a4e(_0x58b5d0._0x306a98,0x190)];const _0x3a5e7e=_0x2402d5[_0x23eed7(-0xac,-0x6d)](_0x2d66f5,_0x560f4b),_0x365436={};_0x365436[_0x23eed7(-0x274,-_0x58b5d0._0xd6b63d)+_0x23eed7(-_0x58b5d0._0x5d7992,-0xdd)+_0xcd6a4e(0x1e,_0x58b5d0._0x99a28f)+'d']=_0x31a736[_0x23eed7(-0x274,-_0x58b5d0._0x4e9e23)+_0xcd6a4e(-0x7b,_0x58b5d0._0x4cfb74)+_0xcd6a4e(_0x58b5d0._0x3c8b5d,0x153)+'d'],_0x14a19f(_0x2402d5[_0xcd6a4e(-_0x58b5d0._0x58e7bb,-0xed)],_0x365436);let _0x530bc5=_0x23eed7(-_0x58b5d0._0x5b3425,-_0x58b5d0._0x50b254)+'x\x20Gui'+_0xcd6a4e(-0xf4,-_0x58b5d0._0x5c4344)+':\x20'+_0x3a5e7e[_0x23eed7(-_0x58b5d0._0x108c72,-0x11c)]+'\x0a\x0a';_0x530bc5+='**CWE'+_0x23eed7(-_0x58b5d0._0x5ec180,-0xbb)+_0x3a5e7e['cwe']+'\x0a\x0a',_0x530bc5+=_0xcd6a4e(-0x14c,-_0x58b5d0._0x240712)+'dance'+':**\x20'+_0x3a5e7e[_0xcd6a4e(_0x58b5d0._0x56e66b,-_0x58b5d0._0x34a6bf)+_0x23eed7(-_0x58b5d0._0x1f5da7,-_0x58b5d0._0x3efb70)+'ce']+'\x0a\x0a',_0x530bc5+='**Ref'+_0x23eed7(-0x213,-_0x58b5d0._0x4a86d7)+'es:**'+'\x0a';for(const _0x1bbacd of _0x3a5e7e[_0xcd6a4e(_0x58b5d0._0x3bc261,_0x58b5d0._0x31e734)+_0x23eed7(-0x260,-0x22f)]){_0x530bc5+='-\x20'+_0x1bbacd+'\x0a';}const _0x3182ba={};_0x3182ba['type']=_0x2402d5[_0xcd6a4e(-0x24,-0xe5)],_0x3182ba[_0x23eed7(-0x267,-_0x58b5d0._0x478aa9)]=_0x530bc5;const _0x4c0f06={};return _0x4c0f06[_0xcd6a4e(-0xc8,-_0x58b5d0._0x4337a6)+'nt']=[_0x3182ba],_0x4c0f06;}}const _0x4cdee3=_0x515187['file_'+_0xcd6a4e(-_0x58b5d0._0x5d49ec,-_0x58b5d0._0x5cc997)]['repla'+'ce'](/\\/g,'/')[_0xcd6a4e(-_0x58b5d0._0xf01f8c,-0x18b)]('/')[_0x23eed7(-0x272,-_0x58b5d0._0x1b07ef)]()??'',_0xf4558c=_0x2402d5['RFolh'](getSupportedLockfiles);let _0x43f28d='';if(_0xf4558c[_0x23eed7(-_0x58b5d0._0x3b5f53,-0x17e)+'des'](_0x4cdee3)){if(_0x2402d5[_0x23eed7(-_0x58b5d0._0x24751f,-0x1aa)]!==_0xcd6a4e(-_0x58b5d0._0x3bacf1,-_0x58b5d0._0x24ca31))return _0x2402d5[_0x23eed7(-_0x58b5d0._0x1731a0,-0x2ba)](_0x261b6c,_0xcd6a4e(0xf1,0x7c)+'skipp'+'ed',{'tool':_0x2402d5[_0xcd6a4e(_0x58b5d0._0x4ce084,0xf4)],'mode':_0x304e79[_0xcd6a4e(_0x58b5d0._0x99a28f,-_0x58b5d0._0x4f2aae)+_0x23eed7(-_0x58b5d0._0x2e5e1b,-_0x58b5d0._0x40e8f8)]}),_0x2402d5['zePPw'](_0x16b256,_0x5448a6['scanM'+_0xcd6a4e(_0x58b5d0._0x164c0c,0x21b)],_0x2402d5[_0x23eed7(-_0x58b5d0._0x10f4a8,_0x58b5d0._0x5b5df6)]);else try{const _0x57c0ce={};_0x57c0ce[_0x23eed7(-_0x58b5d0._0x100a4a,-0x94)+_0x23eed7(-0x15d,-0x27d)+_0xcd6a4e(0x1a,-0x15)]=_0x515187[_0x23eed7(-0x1a4,-_0x58b5d0._0x3f39f4)+'path'];const _0x5d332d=await _0x2402d5[_0x23eed7(-0x6a,-0xcf)](scanDependencies,_0x57c0ce),_0x23477b={};_0x23477b[_0xcd6a4e(0x12,-0xff)]=_0x23eed7(-0x2f,0x85)+_0x23eed7(-_0x58b5d0._0x1e2fd6,-_0x58b5d0._0xdcf8e9)+_0xcd6a4e(0x7c,-0x20)+_0xcd6a4e(-_0x58b5d0._0x44a830,_0x58b5d0._0x21e18f)+'to',_0x23477b['lockf'+'ile']=_0x5d332d['lockf'+'ile'],_0x23477b[_0xcd6a4e(0x2e,_0x58b5d0._0x4adda2)+_0xcd6a4e(0xd1,_0x58b5d0._0x597b79)+'canne'+'d']=_0x5d332d[_0x23eed7(-_0x58b5d0._0x579889,-0x27)+_0x23eed7(-_0x58b5d0._0x12efbd,-_0x58b5d0._0x336233)+'anned'],_0x23477b['findi'+_0x23eed7(-0x178,-_0x58b5d0._0x11e56c)+_0x23eed7(-0xb,-_0x58b5d0._0x4b55bb)]=_0x5d332d['findi'+_0xcd6a4e(0xfc,0x215)][_0x23eed7(-_0x58b5d0._0x4ec299,-0xa4)+'h'],_0x23477b[_0xcd6a4e(-0x11d,-_0x58b5d0._0x5c7790)+'s']=_0x5d332d['statu'+'s'],_0x2402d5[_0x23eed7(-0x259,-_0x58b5d0._0x31f02b)](trackEvent,_0x2402d5[_0xcd6a4e(-0x10a,-_0x58b5d0._0x4a3d03)],_0x23477b),_0x43f28d=_0x2402d5[_0x23eed7(-0x13a,-0x131)]('\x0a\x0a',_0x2402d5[_0xcd6a4e(0xb6,_0x58b5d0._0x3e4b02)](formatDependencyResult,_0x5d332d));}catch{}}return{'content':[{'type':_0x2402d5[_0xcd6a4e(-_0x58b5d0._0x5ba26e,0x3a)],'text':formatScanResult(_0x45fab8)+_0x43f28d}]};}),server[_0x26c2ec(0x3f1,0x406)](_0x2802dc(0x152,0x1f3)+_0x26c2ec(0x5aa,0x4b5),_0x2802dc(0x205,0x1a6)+_0x26c2ec(0x3f3,0x501)+_0x26c2ec(0x2c8,0x322)+_0x2802dc(0x23e,0x19f)+_0x2802dc(0x168,0x1a3)+'ied\x20c'+_0x2802dc(0xd9,-0x3c)+_0x26c2ec(0x316,0x399)+_0x26c2ec(0x2a2,0x2ec)+_0x26c2ec(0x410,0x4df)+_0x2802dc(-0x67,0x89)+_0x2802dc(0x2a6,0x187)+'abili'+'ties\x20'+_0x26c2ec(0x27d,0x35d)+_0x2802dc(0x188,0x8f)+_0x26c2ec(0x584,0x442)+_0x2802dc(-0x3d,0xbc)+'hange'+'s.',{'original_code':z[_0x26c2ec(0x392,0x34f)+'g']()[_0x26c2ec(0x548,0x492)+_0x26c2ec(0x4ad,0x36a)](_0x26c2ec(0x34b,0x28c)+_0x26c2ec(0x153,0x294)+_0x26c2ec(0x3ea,0x309)+'de\x20be'+_0x26c2ec(0x3db,0x511)+_0x26c2ec(0x521,0x4fe)+'es'),'new_code':z[_0x26c2ec(0x3a8,0x34f)+'g']()[_0x26c2ec(0x59a,0x492)+_0x2802dc(0x63,0x78)](_0x2802dc(0xc5,0x4)+_0x26c2ec(0x319,0x445)+_0x2802dc(0x119,0x11e)+'d\x20cod'+_0x2802dc(0x1a8,0x137)+_0x26c2ec(0x422,0x488)+'anges'),'language':z[_0x26c2ec(0x244,0x34f)+'g']()[_0x2802dc(0x18f,0x1d0)+_0x26c2ec(0x430,0x34b)]()[_0x2802dc(0x1b5,0x1a0)+_0x26c2ec(0x2e6,0x36a)](_0x2802dc(0xc,-0x2f)+_0x2802dc(0x295,0x1ee)+_0x26c2ec(0x3c1,0x2e4)+_0x26c2ec(0x2a5,0x30f)),'filename':z['strin'+'g']()[_0x26c2ec(0x586,0x4c2)+_0x2802dc(-0xd0,0x59)]()[_0x26c2ec(0x5a9,0x492)+'ibe'](_0x26c2ec(0x304,0x2eb)+_0x2802dc(0xf5,-0x22)+_0x26c2ec(0x33f,0x463)+_0x26c2ec(0x2f9,0x397)+_0x2802dc(0xb2,0x101)+'ectio'+'n')},async _0x126b3e=>{const _0x17d861={_0x3d59a8:0x3a8,_0x12cafe:0x4e7,_0x17bf39:0x297,_0x4e4a42:0x4bb,_0x120d47:0x58a,_0x291292:0x276,_0x5c0564:0x23c,_0x5ec03c:0x107,_0x218003:0x372,_0x1c9a4a:0x170,_0x405e77:0x301,_0xfa3698:0x38e,_0x2a2f47:0x49e,_0x63d074:0x357,_0x3701a5:0x2a1,_0x1e9862:0x1fa,_0x5f16a9:0x3f6,_0x2d8146:0x2c9,_0x5267f7:0x4a1,_0x51292d:0x469,_0x26e3b8:0x378,_0x319bec:0x2c3,_0x1ba90a:0x1c9,_0x2715a1:0x22a,_0x8ed93b:0x178,_0x26a020:0x165,_0xb721a5:0x429,_0x266174:0x4cf,_0x2efe0a:0x5fd,_0x27d8f8:0x425,_0x4eea1e:0x376,_0x34146a:0x307,_0x2fb7d4:0x1a6,_0xaf02fd:0x24e,_0x4a8070:0x304,_0x557c4e:0x4a1,_0x4d76f4:0x3b3,_0x64f84a:0x31e,_0x3d0dfc:0x3bc,_0xac9d31:0x453,_0x300588:0x3bc,_0x262abc:0x28c,_0x2ca5e8:0x380,_0x31b268:0x4a7,_0x47b1c6:0x2a2,_0x28351a:0x2b9,_0x2f63f0:0x1b0,_0x45a645:0x4c6,_0x44249b:0x327,_0x31e074:0x477,_0x3dd8e8:0x292,_0x495f16:0x3f6,_0x51ed8c:0x40c,_0x4f38fc:0x3cb,_0x108821:0x3f9,_0x1deec8:0x2ea,_0x2d8497:0x3cd,_0x50f3b3:0x38a,_0x2a78f3:0x299,_0x3e50e1:0x214,_0x1fe2b9:0x239,_0x5a1c91:0x17f,_0x442d8b:0x303,_0x18f48a:0x25b,_0x38683d:0x2e4,_0x3c0b74:0x32e,_0x44ad8e:0x413},_0x993f6d={_0x2cc3d8:0x2a};function _0x3284b2(_0x5466c9,_0x16f97c){return _0x2802dc(_0x16f97c,_0x5466c9-0x1b5);}const _0x4df8a1={'RuKiW':function(_0x56d7a9){return _0x56d7a9();},'PVccd':function(_0x1e419d,_0x39ec8d){return _0x1e419d===_0x39ec8d;},'hYLGR':'on-sa'+'ve','geLaG':function(_0x359989,_0x336685,_0x4ef736){return _0x359989(_0x336685,_0x4ef736);},'yySfw':_0x3284b2(_0x17d861._0x3d59a8,_0x17d861._0x12cafe)+_0x57ac6a(0x436,0x4b2)+'ed','mAQjL':_0x3284b2(_0x17d861._0x3d59a8,0x25a)+_0x3284b2(0x378,_0x17d861._0x17bf39),'TVMfH':function(_0x5b0e8c,_0xe73504,_0x1fd009){return _0x5b0e8c(_0xe73504,_0x1fd009);},'nKTzS':function(_0x37512a,_0x3f9e4d){return _0x37512a(_0x3f9e4d);},'cVVaA':function(_0x3b753d,_0x3fa526){return _0x3b753d-_0x3fa526;},'nojrv':function(_0x4936a2,_0x33252c){return _0x4936a2+_0x33252c;},'WdTKe':_0x57ac6a(_0x17d861._0x4e4a42,_0x17d861._0x120d47)+_0x57ac6a(0x265,0x2c3)+_0x3284b2(0x1a1,0x1e5),'QtlBC':_0x57ac6a(_0x17d861._0x291292,0x290)+_0x3284b2(_0x17d861._0x5c0564,_0x17d861._0x5ec03c)+_0x57ac6a(0x2f2,_0x17d861._0x218003)+_0x57ac6a(0x2d9,0x318),'nNxxT':_0x3284b2(_0x17d861._0x1c9a4a,0x96)},_0x27288b=_0x4df8a1['RuKiW'](loadConfig);if(_0x4df8a1['PVccd'](_0x27288b[_0x3284b2(_0x17d861._0x405e77,0x2f9)+_0x3284b2(_0x17d861._0xfa3698,0x321)],_0x4df8a1[_0x57ac6a(0x3f3,0x522)])||_0x4df8a1['PVccd'](_0x27288b[_0x3284b2(0x301,0x217)+_0x57ac6a(0x4a1,0x46d)],_0x57ac6a(_0x17d861._0x2a2f47,_0x17d861._0x63d074)+'l'))return _0x4df8a1[_0x3284b2(_0x17d861._0x3701a5,0x187)](trackEvent,_0x4df8a1[_0x3284b2(0x1e2,_0x17d861._0x1e9862)],{'tool':_0x4df8a1[_0x57ac6a(_0x17d861._0x5f16a9,_0x17d861._0x2d8146)],'mode':_0x27288b[_0x57ac6a(0x414,0x466)+_0x57ac6a(_0x17d861._0x5267f7,0x481)]}),_0x4df8a1[_0x3284b2(0x2a6,0x369)](buildSkipResponse,_0x27288b['scanM'+_0x57ac6a(_0x17d861._0x5267f7,_0x17d861._0x51292d)],_0x3284b2(_0x17d861._0x3d59a8,0x32f)+_0x3284b2(_0x17d861._0x26e3b8,0x34d));const _0x14d717=Date[_0x57ac6a(_0x17d861._0x319bec,0x3f1)]();function _0x57ac6a(_0x42988e,_0x28817f){return _0x26c2ec(_0x28817f,_0x42988e- -_0x993f6d._0x2cc3d8);}trackEvent(_0x3284b2(_0x17d861._0x1ba90a,_0x17d861._0x2715a1)+_0x3284b2(_0x17d861._0x8ed93b,_0x17d861._0x26a020)+'d',{'tool':_0x4df8a1[_0x3284b2(0x2e3,_0x17d861._0xb721a5)],'language':_0x126b3e[_0x3284b2(0x31e,0x2cd)+_0x57ac6a(_0x17d861._0x266174,_0x17d861._0x2efe0a)]??_0x57ac6a(_0x17d861._0x27d8f8,_0x17d861._0x4eea1e),'line_count':_0x126b3e[_0x3284b2(0x24e,0x171)+_0x3284b2(0x38e,_0x17d861._0x34146a)][_0x3284b2(_0x17d861._0x2fb7d4,0x1cc)]('\x0a')['lengt'+'h']});const _0xc193f9={};_0xc193f9[_0x3284b2(0x1aa,0xeb)+_0x57ac6a(0x4ac,0x585)+_0x3284b2(0x38e,0x419)]=_0x126b3e['origi'+'nal_c'+_0x3284b2(0x38e,0x37a)],_0xc193f9[_0x3284b2(0x24e,0x2f1)+'ode']=_0x126b3e[_0x3284b2(_0x17d861._0xaf02fd,_0x17d861._0x4a8070)+_0x57ac6a(_0x17d861._0x557c4e,_0x17d861._0x4d76f4)],_0xc193f9[_0x3284b2(_0x17d861._0x64f84a,0x293)+_0x3284b2(_0x17d861._0x3d0dfc,_0x17d861._0xac9d31)]=_0x126b3e['langu'+_0x3284b2(_0x17d861._0x300588,_0x17d861._0x262abc)],_0xc193f9[_0x57ac6a(0x3b5,0x3bf)+_0x3284b2(_0x17d861._0x2ca5e8,_0x17d861._0x31b268)]=_0x126b3e[_0x3284b2(_0x17d861._0x47b1c6,_0x17d861._0x28351a)+'ame'];const _0x3a605c=await _0x4df8a1[_0x3284b2(0x32e,0x322)](scanDiff,_0xc193f9),_0x6fc24e=_0x4df8a1['cVVaA'](Date[_0x3284b2(_0x17d861._0x2f63f0,0x2eb)](),_0x14d717),_0x336139={};for(const _0x1c45c0 of _0x3a605c['findi'+_0x57ac6a(_0x17d861._0x45a645,0x613)]){_0x336139[_0x1c45c0[_0x57ac6a(_0x17d861._0x44249b,_0x17d861._0x31e074)+'ity']]=_0x4df8a1[_0x3284b2(0x1f8,0x119)](_0x336139[_0x1c45c0[_0x3284b2(0x214,0x2f3)+_0x57ac6a(_0x17d861._0x3dd8e8,0x225)]]??0x51*-0x2e+-0x143a+0xe*0x27c,-0x12cb+0x580+0xd4c);}trackEvent(_0x4df8a1[_0x3284b2(0x3df,0x2ad)],{'tool':_0x4df8a1[_0x57ac6a(_0x17d861._0x495f16,0x4f6)],'language':_0x3a605c['langu'+_0x57ac6a(0x4cf,0x502)],'lines':_0x3a605c[_0x57ac6a(0x42d,_0x17d861._0x51ed8c)+_0x3284b2(_0x17d861._0x4f38fc,0x294)+'es'],'status':_0x3a605c[_0x57ac6a(0x2ad,_0x17d861._0x108821)+'s'],'findings_count':_0x3a605c[_0x3284b2(_0x17d861._0x1deec8,_0x17d861._0x2d8497)+_0x57ac6a(0x4c6,0x507)]['lengt'+'h'],'severity_counts':_0x336139,'duration_ms':_0x6fc24e,'engines':_0x3a605c[_0x57ac6a(_0x17d861._0x50f3b3,_0x17d861._0x2a78f3)+'es'][_0x3284b2(0x243,0x108)](_0x5439d5=>_0x5439d5['engin'+'e'])});for(const _0x5bd92a of _0x3a605c[_0x3284b2(0x2ea,0x41b)+'ngs']){const _0x3b676c={};_0x3b676c['rule_'+'id']=_0x5bd92a['id'],_0x3b676c['cwe']=_0x5bd92a[_0x3284b2(0x260,0x15c)],_0x3b676c[_0x3284b2(_0x17d861._0x3e50e1,_0x17d861._0x1fe2b9)+'ity']=_0x5bd92a['sever'+_0x3284b2(_0x17d861._0x5a1c91,0x138)],trackEvent(_0x4df8a1[_0x3284b2(_0x17d861._0x442d8b,0x427)],_0x3b676c);}return{'content':[{'type':_0x4df8a1[_0x3284b2(_0x17d861._0x18f48a,_0x17d861._0x38683d)],'text':_0x4df8a1[_0x3284b2(_0x17d861._0x3c0b74,_0x17d861._0x44ad8e)](formatScanResult,_0x3a605c)}]};}),server['tool']('fix_v'+_0x2802dc(0x1ed,0x187)+'abili'+'ty',_0x26c2ec(0x4fa,0x4f4)+_0x2802dc(0x25c,0x20a)+'ed\x20fi'+'x\x20gui'+'dance'+_0x26c2ec(0x55e,0x4b0)+'a\x20spe'+'cific'+_0x2802dc(-0xc5,0x46)+_0x2802dc(-0x196,-0x73)+'lity\x20'+_0x2802dc(-0x97,0x8a)+_0x26c2ec(0x3f8,0x506)+_0x2802dc(0x1ad,0xe4)+_0x2802dc(0x83,0x54)+_0x26c2ec(0x308,0x33f)+_0x2802dc(-0x4c,0x5a)+_0x26c2ec(0x648,0x520)+_0x2802dc(0x2d2,0x18a)+'E\x20(e.'+'g.,\x20C'+_0x2802dc(-0x19,0x9)+').',{'vulnerability_id':z[_0x26c2ec(0x21d,0x34f)+'g']()[_0x26c2ec(0x520,0x492)+'ibe'](_0x26c2ec(0x41e,0x4e6)+_0x26c2ec(0x37e,0x379)+_0x26c2ec(0x3fc,0x42e)+_0x26c2ec(0x3f7,0x355)+_0x26c2ec(0x222,0x30c)+'D'),'code':z[_0x26c2ec(0x203,0x34f)+'g']()[_0x2802dc(0x1f4,0x1a0)+_0x26c2ec(0x4be,0x36a)](_0x26c2ec(0x478,0x4fa)+'ulner'+'able\x20'+_0x26c2ec(0x320,0x2f1)),'language':z['strin'+'g']()['optio'+_0x2802dc(0xd4,0x59)]()[_0x2802dc(0x14d,0x1a0)+_0x2802dc(0x3,0x78)](_0x2802dc(-0xc7,-0x2f)+_0x26c2ec(0x4e6,0x4e0)+_0x26c2ec(0x26a,0x2e4)+'guage')},async _0x152915=>{const _0x4d01c8={_0xd27dfa:0x148,_0x39d027:0x1c4,_0x2ea72b:0x255,_0x50a243:0x2a,_0x19865d:0xd9,_0x27677f:0x48,_0x375e36:0x144,_0x56c191:0x34f,_0x431b0a:0x346,_0x4120f2:0x282,_0x4fa787:0x219,_0xd4002e:0x4a,_0x499957:0x1c,_0x205ba6:0x203,_0x3f0b65:0x2c6,_0x316985:0x270,_0x1ed3de:0x15e,_0x485443:0x279,_0x4a01e7:0x3ce,_0x33376f:0x2d0,_0x184c44:0x2c1,_0x3adedb:0x1af,_0x1da5a6:0x48,_0x19558c:0x56,_0x1058de:0x170,_0x2f9e90:0x123,_0x4496f2:0x203,_0x4d2f5e:0x2c2,_0x4075ff:0x325,_0x3b81ee:0x237,_0x4d8885:0x12c,_0x1ba1f2:0x165,_0x5268fa:0x1e5,_0x4def92:0x125,_0x5abf2e:0x7e,_0x5cdcd0:0x1be,_0x1d3fc9:0x33d,_0x202f39:0x198,_0x150aa3:0xc0,_0x50b592:0x54,_0x379c15:0x106,_0x31c956:0x1cb,_0x3ac807:0x209,_0x484d9f:0x38b,_0xcb1644:0x22c,_0x321749:0x1b2,_0x1cee8a:0x168,_0x1d299d:0x2b,_0x169600:0x16b,_0x37fcdb:0x1b8,_0x54f87d:0x1ea},_0xfd2649={_0x331507:0x1b1},_0x27c322={_0x1056bf:0x142},_0x184d27={'VOYqR':function(_0x53ff10,_0xccd0b0,_0x482b4a){return _0x53ff10(_0xccd0b0,_0x482b4a);},'SttmF':_0x32bc9a(_0x4d01c8._0xd27dfa,_0x4d01c8._0x39d027)+_0x32bc9a(0xe5,0x173)+'d','LlOpJ':_0x32bc9a(_0x4d01c8._0x2ea72b,0x2ba)+_0xb22046(-_0x4d01c8._0x50a243,_0x4d01c8._0x19865d)+_0x32bc9a(_0x4d01c8._0x27677f,_0x4d01c8._0x375e36)+'ty','dppPC':function(_0x2156a3,_0x58de4f){return _0x2156a3(_0x58de4f);},'yJfXp':function(_0x56bb71,_0x3d0581,_0x498693){return _0x56bb71(_0x3d0581,_0x498693);},'HNvZa':_0x32bc9a(_0x4d01c8._0x56c191,0x375)+_0x32bc9a(_0x4d01c8._0x431b0a,0x391)+_0xb22046(0x6b,0xd0)};_0x184d27[_0x32bc9a(0x23b,_0x4d01c8._0x4120f2)](trackEvent,_0x184d27[_0x32bc9a(0x2b6,_0x4d01c8._0x4fa787)],{'tool':_0x184d27[_0xb22046(-_0x4d01c8._0xd4002e,_0x4d01c8._0x499957)]});const _0x2f22a5={};_0x2f22a5[_0xb22046(-_0x4d01c8._0x205ba6,-_0x4d01c8._0x3f0b65)+'rabil'+'ity_i'+'d']=_0x152915[_0x32bc9a(_0x4d01c8._0x316985,_0x4d01c8._0x1ed3de)+_0x32bc9a(_0x4d01c8._0x485443,0x237)+_0x32bc9a(_0x4d01c8._0x4a01e7,_0x4d01c8._0x33376f)+'d'],_0x2f22a5[_0x32bc9a(0x235,0x1af)]=_0x152915[_0x32bc9a(_0x4d01c8._0x184c44,_0x4d01c8._0x3adedb)],_0x2f22a5[_0xb22046(-_0x4d01c8._0x1da5a6,-0xc7)+_0xb22046(_0x4d01c8._0x19558c,_0x4d01c8._0x1058de)]=_0x152915[_0x32bc9a(0x28f,0x319)+'age'];const _0x5d979b=_0x184d27['dppPC'](fixVulnerability,_0x2f22a5),_0x43fd07={};_0x43fd07['vulne'+_0xb22046(-0x12a,-_0x4d01c8._0x2f9e90)+_0xb22046(-0x91,0x9a)+'d']=_0x152915[_0xb22046(-_0x4d01c8._0x4496f2,-_0x4d01c8._0x4d2f5e)+_0x32bc9a(_0x4d01c8._0x4075ff,_0x4d01c8._0x3b81ee)+'ity_i'+'d'],_0x184d27[_0x32bc9a(_0x4d01c8._0x4d8885,_0x4d01c8._0x1ba1f2)](trackEvent,_0x184d27[_0x32bc9a(0x43f,0x32f)],_0x43fd07);let _0x4c86b4=_0x32bc9a(_0x4d01c8._0x5268fa,0x14e)+_0xb22046(-_0x4d01c8._0x4def92,-0x16f)+_0x32bc9a(_0x4d01c8._0x5abf2e,_0x4d01c8._0x5cdcd0)+':\x20'+_0x5d979b[_0x32bc9a(0x2c5,_0x4d01c8._0x1d3fc9)]+'\x0a\x0a';_0x4c86b4+=_0xb22046(-_0x4d01c8._0x202f39,-_0x4d01c8._0x150aa3)+_0xb22046(_0x4d01c8._0x50b592,0xde)+_0x5d979b[_0xb22046(-_0x4d01c8._0x379c15,-_0x4d01c8._0x31c956)]+'\x0a\x0a',_0x4c86b4+=_0xb22046(-0x1fb,-_0x4d01c8._0x3ac807)+_0xb22046(-0x1a3,-0x246)+_0x32bc9a(_0x4d01c8._0x484d9f,0x3b5)+_0x5d979b['fix_g'+_0x32bc9a(0x4c1,0x3ad)+'ce']+'\x0a\x0a';function _0x32bc9a(_0x476087,_0x1278a0){return _0x26c2ec(_0x476087,_0x1278a0- -_0x27c322._0x1056bf);}_0x4c86b4+='**Ref'+_0x32bc9a(0xa0,0x1bf)+'es:**'+'\x0a';for(const _0x1cd56d of _0x5d979b[_0x32bc9a(_0x4d01c8._0xcb1644,0x33f)+_0x32bc9a(_0x4d01c8._0x321749,0x172)]){_0x4c86b4+='-\x20'+_0x1cd56d+'\x0a';}const _0x138f5e={};_0x138f5e[_0x32bc9a(0x1c9,_0x4d01c8._0x1cee8a)]=_0x32bc9a(_0x4d01c8._0x1d299d,_0x4d01c8._0x169600),_0x138f5e['text']=_0x4c86b4;const _0x4f7f9b={};_0x4f7f9b[_0x32bc9a(_0x4d01c8._0x37fcdb,_0x4d01c8._0x54f87d)+'nt']=[_0x138f5e];function _0xb22046(_0x435ab1,_0x4181b1){return _0x2802dc(_0x4181b1,_0x435ab1- -_0xfd2649._0x331507);}return _0x4f7f9b;}),server[_0x26c2ec(0x2f3,0x406)](_0x26c2ec(0x356,0x3e2)+'onfig',_0x26c2ec(0x187,0x29e)+_0x2802dc(0x2f4,0x1d1)+'rrent'+_0x2802dc(-0x29,-0x32)+_0x2802dc(-0x3e,-0x49)+_0x2802dc(0x16a,0x136)+'igura'+_0x26c2ec(0x498,0x438)+'\x20incl'+_0x26c2ec(0x16b,0x291)+_0x2802dc(0x2e7,0x21b)+'\x20mode'+'.',{},async()=>{const _0x1171cf={_0x7eae2f:0x136,_0x23aa24:0x3b,_0xd99aaa:0x23,_0x1c327e:0x77,_0x433002:0x1,_0x10131b:0x243,_0xa3f87e:0x20e,_0x5de995:0xdd,_0x58ef23:0xbd,_0x1f0f9:0x12e,_0xe3f884:0x205,_0x21a550:0x79,_0x1a6b02:0x157,_0x108c74:0x2fe,_0x286341:0x133,_0xaa2737:0x124,_0x888c4d:0xcc,_0x577df5:0x17a,_0x28d7e1:0x349,_0x25751f:0x2d6,_0x47e4ab:0x19b,_0x39cf5b:0xfe,_0x4756e0:0x427,_0x14b06a:0x32a,_0x380e43:0x337,_0x422bff:0x8a,_0x352246:0x222,_0x543884:0x1a1,_0x4f1c31:0x9f,_0x2959ea:0x82,_0x567f10:0x276,_0x459645:0x21,_0x830c23:0x107,_0x4b1f61:0x38e,_0x56cf20:0x2e4,_0xe76476:0x1b6,_0x48d192:0x2b9,_0x4d8f30:0x159,_0x49f8bc:0x1df,_0x375f2d:0x41,_0x3df5b0:0x107,_0x3ec1a0:0x53,_0x2ef375:0x496,_0x281d3d:0x38b,_0x2b0cd1:0x16d,_0x12aa64:0x67,_0x3bc954:0xbf,_0x31ecf8:0x55,_0x268731:0x10b,_0x475aae:0xd9,_0x95ec87:0x83,_0x245e4b:0x1d6,_0x324674:0x295,_0x2ed9dd:0x2e9,_0x198497:0x25c,_0x4531dd:0x1d1,_0x1acd75:0x119,_0x4ec958:0x238,_0x158372:0x18a,_0x4ca267:0xbb,_0x1f5e0f:0x15e,_0x580d8b:0x14b,_0x4dfe9e:0x283,_0xdf43b9:0x1a,_0x28c731:0x3d,_0x4233cb:0x26a,_0x53a16e:0x3c,_0x1d385c:0x105,_0x1d6aef:0x2bf,_0x47ce01:0xf7,_0x44cf5e:0x25b,_0x540b87:0x1aa},_0x39502d={'yKRbO':function(_0x5c4a93){return _0x5c4a93();},'EsJhi':function(_0x3016c0,_0x55a509,_0x3b4199){return _0x3016c0(_0x55a509,_0x3b4199);},'KcjfF':function(_0x267827,_0x3e5160){return _0x267827+_0x3e5160;},'adSpT':function(_0x42b769,_0x1ffc59){return _0x42b769+_0x1ffc59;},'tedzg':_0x3de1ad(-_0x1171cf._0x7eae2f,-0x16a)},_0x414f8b=_0x39502d[_0x3de1ad(_0x1171cf._0x23aa24,-0x10e)](loadConfig),_0x27d637={};_0x27d637[_0x3de1ad(_0x1171cf._0xd99aaa,-_0x1171cf._0x1c327e)]=_0x3de1ad(-_0x1171cf._0x433002,0xe0)+_0x269e97(_0x1171cf._0x10131b,0x105),_0x39502d[_0x269e97(0x1ea,_0x1171cf._0xa3f87e)](trackEvent,_0x3de1ad(-_0x1171cf._0x5de995,-_0x1171cf._0x58ef23)+_0x3de1ad(-_0x1171cf._0x1f0f9,-_0x1171cf._0xe3f884)+'d',_0x27d637);const _0x159192=_0x39502d[_0x3de1ad(_0x1171cf._0x21a550,0x4)](_0x39502d[_0x3de1ad(0x79,-0x49)](_0x39502d[_0x269e97(0x27f,_0x1171cf._0x1a6b02)](_0x39502d[_0x269e97(_0x1171cf._0x108c74,0x2da)](_0x3de1ad(-0x147,-0x1fc)+'ra-Li'+'te\x20Co'+_0x3de1ad(-_0x1171cf._0x286341,-_0x1171cf._0xaa2737)+'ratio'+_0x3de1ad(_0x1171cf._0x888c4d,_0x1171cf._0x577df5)+('```js'+'on\x0a'+JSON[_0x3de1ad(-0x94,-0x87)+_0x269e97(0x3cc,0x289)](_0x414f8b,null,-0xd38+-0xb39+0x1*0x1873)+(_0x269e97(_0x1171cf._0x28d7e1,0x20a)+'\x0a')),_0x269e97(_0x1171cf._0x25751f,_0x1171cf._0x47e4ab)+_0x269e97(0x141,_0x1171cf._0x39cf5b)+_0x269e97(0x255,0x2cf)+'\x0a'),_0x269e97(_0x1171cf._0x4756e0,_0x1171cf._0x14b06a)+_0x269e97(0x3fb,_0x1171cf._0x380e43)+_0x3de1ad(-_0x1171cf._0x422bff,-0xf6)+_0x269e97(_0x1171cf._0x352246,_0x1171cf._0x543884)+_0x3de1ad(-_0x1171cf._0x4f1c31,-_0x1171cf._0x2959ea)+_0x269e97(0x1df,_0x1171cf._0x567f10)+_0x3de1ad(_0x1171cf._0x459645,_0x1171cf._0x830c23)+_0x269e97(_0x1171cf._0x4b1f61,_0x1171cf._0x56cf20)+_0x3de1ad(0xbd,_0x1171cf._0xe76476)+_0x3de1ad(0xd5,0x41)+_0x269e97(_0x1171cf._0x48d192,0x2b9)+'an_fi'+'le\x20ca'+_0x3de1ad(0x8c,_0x1171cf._0x4d8f30)+_0x269e97(_0x1171cf._0x49f8bc,0x15a)+'ecure'+')\x0a'),_0x269e97(_0x1171cf._0x375f2d,0x177)+_0x3de1ad(_0x1171cf._0x3df5b0,-0x46)+_0x269e97(0x252,0x138)+_0x3de1ad(_0x1171cf._0x3ec1a0,0xd6)+_0x269e97(_0x1171cf._0x2ef375,_0x1171cf._0x281d3d)+_0x3de1ad(-0x10d,-_0x1171cf._0x2b0cd1)+'scan_'+_0x3de1ad(_0x1171cf._0x12aa64,-0xde)+_0x3de1ad(_0x1171cf._0x3bc954,_0x1171cf._0x31ecf8)+_0x3de1ad(-_0x1171cf._0x268731,-0x8a)+_0x3de1ad(_0x1171cf._0x475aae,0x47)+'\x20scan'+_0x3de1ad(0x42,_0x1171cf._0x95ec87)+'/scan'+_0x269e97(_0x1171cf._0x245e4b,_0x1171cf._0x324674)+'\x20are\x20'+_0x269e97(_0x1171cf._0x2ed9dd,0x2de)+_0x3de1ad(0x12d,_0x1171cf._0x198497)),_0x3de1ad(0xb3,_0x1171cf._0x4531dd)+_0x3de1ad(-_0x1171cf._0x1acd75,-_0x1171cf._0x4ec958)+_0x269e97(_0x1171cf._0x158372,0x183)+_0x3de1ad(0x1,_0x1171cf._0x4ca267)+_0x269e97(0x263,_0x1171cf._0x1f5e0f)+_0x3de1ad(-_0x1171cf._0x580d8b,-0x18a)+_0x269e97(0xf,0x158)+_0x269e97(_0x1171cf._0x4dfe9e,0x195)+_0x3de1ad(-_0x1171cf._0xdf43b9,0x3d)+_0x269e97(0x1f2,0xff)+_0x3de1ad(-0x164,-0x13b)+_0x269e97(0x261,0x30e)+_0x3de1ad(0xbe,-_0x1171cf._0x28c731)+_0x269e97(_0x1171cf._0x4233cb,0x37d)+_0x3de1ad(_0x1171cf._0x53a16e,_0x1171cf._0x1d385c)+'g\x20to\x20'+'scan\x0a'),_0x38a3f3={};_0x38a3f3['type']=_0x39502d[_0x269e97(_0x1171cf._0x1d6aef,0x317)],_0x38a3f3[_0x3de1ad(-_0x1171cf._0x7eae2f,-_0x1171cf._0x47ce01)]=_0x159192;function _0x269e97(_0x3c4884,_0x4c5a5d){return _0x2802dc(_0x3c4884,_0x4c5a5d-0x170);}function _0x3de1ad(_0x529b9a,_0xd6deeb){return _0x2802dc(_0xd6deeb,_0x529b9a- -0xf1);}const _0x2193ee={};return _0x2193ee[_0x269e97(_0x1171cf._0x44cf5e,_0x1171cf._0x540b87)+'nt']=[_0x38a3f3],_0x2193ee;}),server['tool']('set_c'+'onfig',_0x26c2ec(0x510,0x3c8)+_0x26c2ec(0x474,0x3a1)+_0x2802dc(-0xba,0x12)+_0x2802dc(-0x67,0x80)+_0x26c2ec(0x602,0x4ed)+_0x26c2ec(0x28d,0x292)+_0x26c2ec(0x301,0x2d4)+'\x20this'+_0x2802dc(0xd5,0x49)+_0x26c2ec(0x55b,0x519)+'\x20scan'+_0x26c2ec(0x300,0x3b6)+_0x2802dc(0x1db,0x145)+'.',{'scanMode':z['enum'](['every'+_0x26c2ec(0x426,0x38d),'on-sa'+'ve','manua'+'l'])[_0x2802dc(0x137,0x1a0)+_0x2802dc(0x158,0x78)](_0x26c2ec(0x3a0,0x326)+_0x26c2ec(0x348,0x2c7)+'ency:'+_0x26c2ec(0x183,0x28b)+_0x2802dc(-0x75,0xd3)+_0x2802dc(0x117,0x184)+_0x2802dc(0x21d,0x142)+_0x2802dc(0x313,0x1ea)+_0x2802dc(0x18a,0x10d)+_0x2802dc(0x216,0x1d6)+'l\x22')},async _0x49b20e=>{const _0x3a6691={_0x2bbefe:0x299,_0x4723c1:0x306,_0x1cd061:0x3a2,_0x4211b9:0x168,_0x3acce0:0x1f0,_0x5830b6:0x19,_0x59279d:0x42b,_0x22a5c0:0x165,_0x349a6e:0x1f2,_0x2f1a22:0x28e,_0x17e6ba:0x165,_0x67dd6f:0x4a5,_0xe88954:0x532,_0x41e373:0x35c,_0x70148:0x1f2,_0x43f4a1:0x25d,_0x1bb7e4:0x437,_0x18eaeb:0x3dc,_0x33b2ff:0x1c3,_0x3c1e00:0x47e,_0x4949a1:0x396,_0xa82f42:0x268,_0x2a047e:0x40c,_0x595b94:0x3c4,_0x15a1c2:0xb0,_0xc91d55:0x532,_0x144abc:0x34c,_0x2d3d6f:0x394,_0x3f093d:0x13d,_0x35ba2b:0xf3,_0x50d0ea:0x128,_0x3ab72b:0x1f,_0x176019:0x73,_0xa0c33:0x29,_0x2b67e5:0x2f,_0x4c3c94:0x53,_0x347f2d:0xc5},_0x12029d={_0x2ea5ce:0x359},_0x1b55c1={_0x3a4b26:0x19},_0x363289={'rkvqB':function(_0x1da6d9,_0x4e25eb,_0x3f9e1c){return _0x1da6d9(_0x4e25eb,_0x3f9e1c);},'QLQLU':'tool_'+_0x2e77ac(_0x3a6691._0x2bbefe,0x31c)+'d','TyZJB':_0x2e77ac(0x384,_0x3a6691._0x4723c1)+'onfig','LjbrO':function(_0xaeac4d,_0x49921d){return _0xaeac4d(_0x49921d);},'nSRbY':_0x2e77ac(_0x3a6691._0x1cd061,0x486)+'g_cha'+_0x162318(_0x3a6691._0x4211b9,_0x3a6691._0x3acce0),'rkSdv':function(_0x529b49,_0x3c8c44){return _0x529b49+_0x3c8c44;},'xizbc':_0x162318(-0x2c,-_0x3a6691._0x5830b6)};_0x363289['rkvqB'](trackEvent,_0x363289['QLQLU'],{'tool':_0x363289[_0x2e77ac(_0x3a6691._0x59279d,0x552)],'scanMode':_0x49b20e[_0x162318(_0x3a6691._0x22a5c0,0x117)+_0x162318(_0x3a6691._0x349a6e,_0x3a6691._0x2f1a22)]});const _0x318b97={};function _0x162318(_0xa6d90d,_0x48c4f7){return _0x2802dc(_0x48c4f7,_0xa6d90d-_0x1b55c1._0x3a4b26);}_0x318b97[_0x162318(_0x3a6691._0x17e6ba,0x129)+_0x162318(_0x3a6691._0x349a6e,0x118)]=_0x49b20e[_0x2e77ac(0x4ae,_0x3a6691._0x67dd6f)+_0x2e77ac(0x508,_0x3a6691._0xe88954)];function _0x2e77ac(_0x3455c7,_0x328a0f){return _0x2802dc(_0x3455c7,_0x328a0f-_0x12029d._0x2ea5ce);}const _0x20fd40=_0x318b97;_0x363289[_0x2e77ac(0x390,_0x3a6691._0x41e373)](saveConfig,_0x20fd40);const _0x47ce37={};_0x47ce37[_0x162318(_0x3a6691._0x17e6ba,0x11b)+_0x162318(_0x3a6691._0x70148,_0x3a6691._0x43f4a1)]=_0x49b20e[_0x2e77ac(0x5dc,0x4a5)+_0x2e77ac(0x3ff,_0x3a6691._0xe88954)],_0x363289['rkvqB'](trackEvent,_0x363289[_0x2e77ac(_0x3a6691._0x1bb7e4,_0x3a6691._0x18eaeb)],_0x47ce37);const _0x233da4=_0x363289['rkSdv'](_0x363289[_0x162318(_0x3a6691._0x33b2ff,0x104)]('##\x20Ki'+_0x162318(0x231,0x21b)+_0x2e77ac(_0x3a6691._0x3c1e00,_0x3a6691._0x4949a1)+'nfigu'+_0x2e77ac(_0x3a6691._0xa82f42,0x335)+_0x2e77ac(0x3a5,_0x3a6691._0x2a047e)+_0x2e77ac(_0x3a6691._0x595b94,0x453)+'\x0a','**Sca'+_0x2e77ac(0x342,0x2e7)+_0x162318(-0x4f,-0x4c)+'`'+_0x49b20e[_0x162318(_0x3a6691._0x17e6ba,_0x3a6691._0x15a1c2)+_0x2e77ac(0x431,_0x3a6691._0xc91d55)]+_0x162318(0x25,0x167)),_0x2e77ac(0x382,0x427)+'gurat'+_0x2e77ac(_0x3a6691._0x144abc,_0x3a6691._0x2d3d6f)+'aved\x20'+_0x162318(_0x3a6691._0x3f093d,0x277)+_0x162318(_0x3a6691._0x35ba2b,_0x3a6691._0x50d0ea)+_0x162318(_0x3a6691._0x3ab72b,_0x3a6691._0x176019)+_0x162318(_0x3a6691._0xa0c33,-0x2f)+_0x2e77ac(0x445,0x564)+_0x2e77ac(0x616,0x50a)+'\x0a'),_0x30ec86={};_0x30ec86[_0x162318(-_0x3a6691._0x2b67e5,0x2e)]=_0x363289['xizbc'],_0x30ec86[_0x162318(-0x2c,-0x14b)]=_0x233da4;const _0x13e7da={};return _0x13e7da[_0x162318(_0x3a6691._0x4c3c94,_0x3a6691._0x347f2d)+'nt']=[_0x30ec86],_0x13e7da;}),server[_0x26c2ec(0x3c9,0x406)]('scan_'+'depen'+_0x2802dc(0x155,0x17e)+'es',_0x2802dc(0x10e,0x34)+_0x2802dc(0x1ff,0xfb)+_0x2802dc(-0x9c,-0x59)+_0x2802dc(0x1ff,0x1d7)+_0x26c2ec(0x3cf,0x3dd)+_0x26c2ec(0x5cc,0x4b0)+_0x2802dc(0x179,0xe9)+_0x26c2ec(0x41d,0x338)+'erabi'+_0x2802dc(0xbb,-0x77)+'s\x20(CV'+'Es)\x20u'+_0x26c2ec(0x501,0x4cf)+'the\x20O'+_0x2802dc(-0xd3,0xa)+_0x26c2ec(0x576,0x4f3)+_0x26c2ec(0x313,0x3cd)+_0x2802dc(0x28e,0x17c)+_0x26c2ec(0x295,0x360)+_0x2802dc(0x143,0x22b)+_0x2802dc(-0x3,-0x5d)+'packa'+_0x2802dc(-0x27,0x11f)+_0x2802dc(0x110,0x118)+_0x26c2ec(0x39c,0x385)+'arn.l'+'ock,\x20'+'requi'+_0x26c2ec(0x4b0,0x424)+_0x2802dc(0x190,0x161)+_0x26c2ec(0x30e,0x312)+'.sum,'+_0x2802dc(0x21,-0x47)+_0x26c2ec(0x39a,0x49b)+'k,\x20et'+_0x26c2ec(0x236,0x361)+_0x2802dc(0x15e,0xa7)+_0x2802dc(0xba,0x35)+_0x2802dc(-0x66,0x46)+'erabl'+'e\x20pac'+'kages'+'\x20with'+'\x20fix\x20'+_0x2802dc(0xe8,-0x3b)+_0x26c2ec(0x4f8,0x3c1),{'project_path':z[_0x26c2ec(0x362,0x34f)+'g']()['optio'+_0x26c2ec(0x305,0x34b)]()[_0x2802dc(0x13a,0x1a0)+'ibe'](_0x26c2ec(0x452,0x32b)+'tory\x20'+_0x26c2ec(0x469,0x352)+'an\x20fo'+_0x26c2ec(0x3d0,0x469)+_0x2802dc(0x171,0x3c)+_0x26c2ec(0x436,0x51a)+_0x2802dc(0x3e,0x84)+_0x26c2ec(0x58b,0x46a)+_0x2802dc(-0x48,0x75)+_0x26c2ec(0x561,0x44a)+_0x2802dc(0x26e,0x14a)),'lockfile_path':z['strin'+'g']()[_0x26c2ec(0x476,0x4c2)+_0x26c2ec(0x467,0x34b)]()[_0x2802dc(0x1d6,0x1a0)+_0x26c2ec(0x2c2,0x36a)](_0x2802dc(0x54,0x1a5)+_0x26c2ec(0x37b,0x4be)+_0x26c2ec(0x36e,0x318)+_0x26c2ec(0x392,0x37f)+_0x26c2ec(0x637,0x51d)+_0x2802dc(-0x4f,0x85)+'\x20scan')},async _0x13a48d=>{const _0x54bce4={_0xfdce44:0x2ee,_0x577ba4:0x29d,_0x282f37:0x340,_0x3a594b:0x494,_0x5b1b32:0x3b1,_0x756551:0x35a,_0x1d3191:0x33c,_0x2fef27:0x21e,_0x59d775:0x1f9,_0x5b34e2:0x318,_0x4ca7dc:0x31c,_0x414ebf:0x42,_0xe19c05:0x318,_0x30183e:0x65,_0x22f902:0x204,_0x2d7166:0x15b,_0x284d97:0x2f,_0x5b12f3:0x342,_0x37e688:0x35e,_0x4bf552:0x3d9,_0x591770:0x65,_0x3f5c7f:0xe,_0x3712e9:0x3d9,_0x21762e:0x60b,_0xf0144c:0x4d8,_0x5c0855:0x338,_0x4a547e:0x339,_0x2aa373:0x339,_0x3c3399:0x250,_0x199ab1:0x2a4,_0x4338f3:0x9b,_0x4863e7:0x2b,_0x401de8:0xd3,_0x43e5bf:0x3a5,_0x4cb4d3:0x412,_0x29a03d:0x331,_0x2c017a:0x1e2,_0x1ef992:0x40f,_0x5de88c:0xda,_0x6a5c09:0x42b,_0x48a961:0x2db,_0x3d77f0:0x18f,_0x449313:0x16a,_0x4c256f:0xf3,_0x4136b9:0x20a,_0x36dca2:0x184,_0x1685b7:0x4cd,_0x4e2823:0x2d5,_0x1405a9:0x39,_0x34b442:0x21b,_0x3e7534:0xee,_0x2e2819:0x3fe,_0x50d352:0x399,_0x408ef5:0x4df,_0x443578:0xf0},_0x117084={_0x39cfe7:0x41c},_0x117d04={_0x13d885:0x2da},_0x12ee0f={'xERWc':_0x2fd8c7(0x3df,_0x54bce4._0xfdce44)+_0x2fd8c7(0x15f,_0x54bce4._0x577ba4)+'d','eKuxb':'scan_'+_0x2fd8c7(0x2e7,_0x54bce4._0x282f37)+_0x2fd8c7(_0x54bce4._0x3a594b,0x458)+'es','XIgWi':function(_0x2c48c9,_0x249f50){return _0x2c48c9-_0x249f50;},'nMqCr':function(_0xa94f9a,_0x21e532){return _0xa94f9a+_0x21e532;},'elVbv':function(_0x3288a5,_0x21059e,_0x2fb862){return _0x3288a5(_0x21059e,_0x2fb862);},'qVnMb':_0x2fd8c7(_0x54bce4._0x5b1b32,0x4cd)+'compl'+_0x2fd8c7(0x3ba,0x2c6),'MfmqK':function(_0x10f965,_0x1fe385){return _0x10f965 instanceof _0x1fe385;},'KMdiO':function(_0x259ad2,_0x57f5db){return _0x259ad2(_0x57f5db);},'GOXxJ':_0x2fd8c7(_0x54bce4._0x756551,_0x54bce4._0x1d3191),'rgXXY':function(_0x3f4bf0,_0x5d7454){return _0x3f4bf0-_0x5d7454;}};function _0x2fd8c7(_0x423c2f,_0x58b4ce){return _0x2802dc(_0x423c2f,_0x58b4ce-_0x117d04._0x13d885);}const _0x5b5f07=Date[_0x13d732(-_0x54bce4._0x2fef27,-0x12f)]();function _0x13d732(_0xbd2cac,_0x31049a){return _0x26c2ec(_0xbd2cac,_0x31049a- -_0x117084._0x39cfe7);}trackEvent(_0x12ee0f[_0x2fd8c7(_0x54bce4._0x59d775,_0x54bce4._0x5b34e2)],{'tool':_0x12ee0f[_0x2fd8c7(_0x54bce4._0x4ca7dc,0x34d)],'has_project_path':!!_0x13a48d['proje'+_0x13d732(-_0x54bce4._0x414ebf,-0xc2)+'th'],'has_lockfile_path':!!_0x13a48d[_0x2fd8c7(_0x54bce4._0xe19c05,0x3d9)+_0x13d732(0x83,-_0x54bce4._0x30183e)+_0x2fd8c7(0x4f0,0x3f6)]});try{const _0x1139f3={};_0x1139f3[_0x2fd8c7(0x4c2,0x3d5)+_0x13d732(-_0x54bce4._0x22f902,-0xc2)+'th']=_0x13a48d[_0x13d732(-_0x54bce4._0x2d7166,-_0x54bce4._0x284d97)+_0x2fd8c7(0x2c2,_0x54bce4._0x5b12f3)+'th'],_0x1139f3[_0x2fd8c7(_0x54bce4._0x37e688,_0x54bce4._0x4bf552)+_0x13d732(-0x17e,-_0x54bce4._0x591770)+_0x13d732(0x10d,-_0x54bce4._0x3f5c7f)]=_0x13a48d[_0x2fd8c7(0x31b,_0x54bce4._0x3712e9)+_0x13d732(0x97,-0x65)+_0x13d732(0xc4,-_0x54bce4._0x3f5c7f)];const _0x160c9b=await scanDependencies(_0x1139f3),_0x585181=_0x12ee0f[_0x13d732(-0x15c,-0x163)](Date[_0x2fd8c7(0x3c1,0x2d5)](),_0x5b5f07),_0x10cb9c={};for(const _0x3c2f7e of _0x160c9b['findi'+_0x2fd8c7(_0x54bce4._0x21762e,_0x54bce4._0xf0144c)]){_0x10cb9c[_0x3c2f7e[_0x2fd8c7(_0x54bce4._0x5c0855,_0x54bce4._0x4a547e)+_0x2fd8c7(0x339,0x2a4)]]=_0x12ee0f[_0x2fd8c7(0x353,0x2b1)](_0x10cb9c[_0x3c2f7e[_0x2fd8c7(0x38b,_0x54bce4._0x2aa373)+_0x2fd8c7(_0x54bce4._0x3c3399,_0x54bce4._0x199ab1)]]??-0x5fe*-0x1+0x1196+0xc*-0x1f7,0x614+-0x255f+0x2*0xfa6);}return _0x12ee0f['elVbv'](trackEvent,_0x12ee0f[_0x13d732(-_0x54bce4._0x4338f3,-0x13d)],{'tool':_0x12ee0f['eKuxb'],'lockfile':_0x160c9b[_0x13d732(-0x4c,-_0x54bce4._0x4863e7)+_0x2fd8c7(0x2e1,0x382)],'packages_scanned':_0x160c9b[_0x13d732(-_0x54bce4._0x401de8,0x6)+_0x2fd8c7(0x2d3,_0x54bce4._0x43e5bf)+_0x2fd8c7(_0x54bce4._0x4cb4d3,_0x54bce4._0x29a03d)],'status':_0x160c9b[_0x2fd8c7(_0x54bce4._0x2c017a,0x2bf)+'s'],'findings_count':_0x160c9b[_0x2fd8c7(0x3fe,_0x54bce4._0x1ef992)+'ngs'][_0x13d732(0x21b,_0x54bce4._0x5de88c)+'h'],'severity_counts':_0x10cb9c,'duration_ms':_0x585181}),{'content':[{'type':'text','text':formatDependencyResult(_0x160c9b)}]};}catch(_0x26bcf3){const _0x2b7d88=_0x12ee0f[_0x2fd8c7(0x424,_0x54bce4._0x6a5c09)](_0x26bcf3,Error)?_0x26bcf3[_0x13d732(-_0x54bce4._0x48a961,-_0x54bce4._0x3d77f0)+'ge']:_0x12ee0f[_0x13d732(-0x2af,-_0x54bce4._0x449313)](String,_0x26bcf3);_0x12ee0f[_0x13d732(-0x237,-_0x54bce4._0x4c256f)](trackEvent,'scan_'+_0x13d732(-_0x54bce4._0x4136b9,-0x18d)+_0x13d732(-_0x54bce4._0x36dca2,-0x13e),{'tool':_0x2fd8c7(0x3ed,_0x54bce4._0x1685b7)+'depen'+'denci'+'es','status':_0x12ee0f[_0x13d732(0xb6,0x34)],'error':_0x2b7d88,'duration_ms':_0x12ee0f[_0x13d732(-0xc1,-0x31)](Date[_0x2fd8c7(0x1bd,_0x54bce4._0x4e2823)](),_0x5b5f07)});const _0x5d9de9={};_0x5d9de9['type']=_0x13d732(-_0x54bce4._0x1405a9,-0x16f),_0x5d9de9[_0x13d732(-0x24b,-0x16f)]=_0x2fd8c7(_0x54bce4._0x34b442,0x284)+_0x13d732(0x7c,_0x54bce4._0x3e7534)+'te\x20De'+_0x2fd8c7(_0x54bce4._0x2e2819,0x4b1)+_0x2fd8c7(0x5aa,0x46e)+_0x2fd8c7(0x3b4,0x34e)+'\x20Erro'+'r\x0a\x0a**'+_0x13d732(-0x1ea,-0x189)+_0x2fd8c7(_0x54bce4._0x50d352,_0x54bce4._0x408ef5)+_0x2b7d88+'\x0a';const _0x2d092b={};return _0x2d092b[_0x13d732(0xe,-_0x54bce4._0x443578)+'nt']=[_0x5d9de9],_0x2d092b;}});function formatDependencyResult(_0x103b7c){const _0x17840f={_0x1ce797:0x180,_0x180b7b:0x193,_0x49d31b:0x6f5,_0x3a2278:0x5d6,_0xc2ba6c:0x611,_0x3e2255:0x6c0,_0x541af1:0x1a,_0x15ef9e:0x6da,_0x41e133:0x6e9,_0x26d7ba:0x145,_0x525b8c:0x570,_0x210771:0x5d,_0x35eab8:0xa0,_0xcbbf87:0x48,_0x2fa44d:0x39,_0x3ddeca:0x8e,_0x58e8da:0x678,_0x1e25dd:0x646,_0x122a0f:0x8d,_0xbc1d5e:0x2e,_0x4b31a5:0x26e,_0x36cf38:0x677,_0x54136d:0x6b4,_0xd84539:0x47b,_0x63e5ca:0x4b1,_0x1826de:0x41,_0x4d80b4:0x14c,_0x372da9:0x615,_0x45b53c:0x20b,_0xc46e2f:0x2ef,_0x475e4a:0x88,_0x3ab609:0xfe,_0x333ba4:0x83e,_0x34c138:0x1c,_0x2497c:0x19e,_0x227e20:0x5ec,_0x1151f9:0x547,_0x1c5361:0x3b,_0x4fcce4:0x602,_0x1b65be:0x1a6,_0x415196:0x2f,_0x514ad0:0x224,_0x1faeec:0x177,_0xfd5d56:0x28,_0xa68349:0x49,_0x2e3f91:0x634,_0x2bf75a:0x43,_0x3ee9aa:0x28,_0x41dddf:0x96,_0x7e1f33:0xec,_0x2a5c8c:0x115,_0x1c96ae:0xc4,_0x37b9ff:0x4f5,_0x5cc7fa:0x112,_0x3d9ebe:0xe8,_0x52780a:0x209,_0x405561:0x229,_0x49eba5:0x6e,_0x5dc430:0x4d9,_0x39f4d2:0x55f,_0x2c2222:0x28,_0x575376:0x278,_0x197689:0xbc,_0x2dc430:0x72,_0x8f8a45:0x1f8,_0x428913:0x24c,_0x5b391a:0x171,_0x2db648:0x694,_0x2c95fa:0x59f,_0x2548b3:0x18a,_0x50d105:0x212,_0x5be724:0x29c,_0x419665:0x233,_0x2d67a8:0x1d,_0x2c6464:0x4e,_0x35441c:0x613,_0x17c6ba:0x6c8,_0x310d2c:0x514,_0xe005eb:0xb,_0x370743:0x35,_0x4815d1:0x66,_0x2ca684:0x39,_0x5db019:0x59,_0x524808:0x4a3,_0x418c5f:0x22b,_0x57ee5d:0x6a1,_0x37719a:0x1b2,_0x37f6f7:0x38,_0x5d5500:0x5b7,_0x238cdb:0x49d,_0x35832b:0x574,_0x404145:0x15e,_0x214524:0x1f3,_0x5a17b6:0x2b9,_0x5d548c:0x498,_0x24630c:0x15,_0x12b2ad:0xc,_0x378291:0x5c6,_0x3a6ad9:0x1e4,_0x185fc9:0x42,_0x40e640:0x105,_0x201850:0x1a5,_0x4a4c8a:0x2e9,_0x45a348:0x1c6,_0x31257e:0x72e,_0x833931:0x70f,_0x3face0:0x5cd,_0x42549f:0x499,_0x242654:0xe4,_0x5a30ab:0x1b6,_0x2e7d0c:0x559,_0x4bb261:0x228,_0x574669:0xb8},_0x16360b={_0x1b3045:0x21a},_0x17a5bc={'swSUG':function(_0x4a840b,_0x5f2a55,_0x36ec63){return _0x4a840b(_0x5f2a55,_0x36ec63);},'uHhiX':_0x81d734(-0x20f,-_0x17840f._0x1ce797)+'rabil'+_0x81d734(-_0x17840f._0x180b7b,-0x44)+_0x14d7b9(0x51d,0x5cb),'GWjBM':_0x14d7b9(_0x17840f._0x49d31b,_0x17840f._0x3a2278),'XvVNw':_0x14d7b9(_0x17840f._0xc2ba6c,0x72d)};let _0x4e324c=_0x14d7b9(0x4b6,0x400)+_0x14d7b9(0x724,_0x17840f._0x3e2255)+'te\x20De'+_0x81d734(_0x17840f._0x541af1,0x61)+_0x14d7b9(0x6a0,0x714)+_0x14d7b9(_0x17840f._0x15ef9e,_0x17840f._0x41e133)+_0x81d734(0x2a,_0x17840f._0x26d7ba)+_0x14d7b9(_0x17840f._0x525b8c,0x693);_0x4e324c+=_0x81d734(-_0x17840f._0x210771,_0x17840f._0x35eab8)+_0x14d7b9(0x548,0x45c)+_0x81d734(_0x17840f._0xcbbf87,-0xb3)+_0x103b7c[_0x81d734(-0xbe,-0x1ba)+_0x81d734(-0x115,-_0x17840f._0x2fa44d)]+'\x0a',_0x4e324c+=_0x81d734(0x46,-0x42)+_0x81d734(-_0x17840f._0x3ddeca,-0x3a)+_0x14d7b9(0x727,0x5fc)+_0x14d7b9(_0x17840f._0x58e8da,_0x17840f._0x1e25dd)+'*\x20'+_0x103b7c[_0x81d734(-_0x17840f._0x122a0f,-_0x17840f._0xbc1d5e)+_0x81d734(-0xf2,0x46)+_0x81d734(-0x166,-_0x17840f._0x4b31a5)]+'\x0a',_0x4e324c+=_0x14d7b9(_0x17840f._0x36cf38,_0x17840f._0x54136d)+'nerab'+_0x14d7b9(0x55b,_0x17840f._0xd84539)+'ckage'+_0x14d7b9(_0x17840f._0x63e5ca,0x42e)+_0x103b7c[_0x14d7b9(0x641,0x598)+_0x81d734(_0x17840f._0x1826de,_0x17840f._0x4d80b4)][_0x14d7b9(0x710,_0x17840f._0x372da9)+'h']+'\x0a',_0x4e324c+=_0x14d7b9(0x5d6,0x6af)+'mary:'+_0x81d734(0x66,0x174)+_0x103b7c[_0x81d734(-_0x17840f._0x45b53c,-_0x17840f._0xc46e2f)+'ry']+'\x0a\x0a';function _0x14d7b9(_0x4b2b90,_0x5b7e11){return _0x26c2ec(_0x5b7e11,_0x4b2b90-_0x16360b._0x1b3045);}if(_0x103b7c[_0x81d734(-_0x17840f._0x475e4a,-_0x17840f._0x3ab609)+_0x81d734(_0x17840f._0x1826de,-0xb)][_0x14d7b9(0x710,_0x17840f._0x333ba4)+'h']===0x694*-0x4+-0x11f*-0xb+-0x3*-0x4a9)return _0x4e324c+='No\x20kn'+'own\x20v'+_0x81d734(-0x36,-_0x17840f._0x34c138)+_0x81d734(-0x229,-_0x17840f._0x2497c)+_0x14d7b9(0x5c0,_0x17840f._0x227e20)+_0x14d7b9(0x5c3,_0x17840f._0x1151f9)+_0x81d734(-0x19e,-0x102)+'epend'+_0x81d734(0x42,0x2b)+_0x81d734(-_0x17840f._0x1c5361,-0xf5),_0x4e324c;_0x4e324c+=_0x14d7b9(0x587,_0x17840f._0x4fcce4)+_0x81d734(-0x16a,-_0x17840f._0x1b65be)+_0x81d734(-0x127,-0x83);for(const _0x52329c of _0x103b7c[_0x14d7b9(0x641,0x5cf)+'ngs']){const _0x198501='['+_0x52329c[_0x14d7b9(0x56b,0x4d6)+'ity']['toUpp'+_0x81d734(-_0x17840f._0x415196,0x49)+'e']()+']';_0x4e324c+=_0x81d734(-0xcf,-_0x17840f._0x514ad0)+_0x198501+'\x20'+_0x52329c[_0x81d734(-0x8d,-_0x17840f._0x1faeec)+_0x81d734(-_0x17840f._0xfd5d56,-_0x17840f._0xa68349)+'e']+'@'+_0x52329c[_0x14d7b9(0x5a1,_0x17840f._0x2e3f91)+_0x81d734(_0x17840f._0x2bf75a,0xea)+_0x81d734(_0x17840f._0x3ee9aa,-0x63)+'n']+_0x81d734(-0x143,-0x167)+_0x52329c[_0x81d734(-0x30,-_0x17840f._0x41dddf)]+'\x0a',_0x4e324c+='-\x20**A'+_0x14d7b9(0x497,0x347)+_0x81d734(-_0x17840f._0x7e1f33,-_0x17840f._0x2a5c8c)+'\x20'+_0x52329c['id'];_0x52329c['alias'+'es'][_0x81d734(0x47,-_0x17840f._0x1c96ae)+'h']>-0x3*-0xa5d+-0x58*0x6b+0x5b1&&(_0x4e324c+='\x20('+_0x52329c[_0x81d734(-0x10b,-0x1df)+'es'][_0x81d734(0x5d,-0x9d)](',\x20')+')');_0x4e324c+='\x0a',_0x4e324c+='-\x20**C'+_0x14d7b9(_0x17840f._0x37b9ff,0x5f0)+'\x20'+_0x52329c[_0x81d734(-_0x17840f._0x5cc7fa,-_0x17840f._0x3d9ebe)]+'\x0a';_0x52329c[_0x81d734(-_0x17840f._0x52780a,-_0x17840f._0x405561)+'Versi'+'on']?_0x4e324c+=_0x81d734(0x39,_0x17840f._0x49eba5)+_0x14d7b9(_0x17840f._0x5dc430,_0x17840f._0x39f4d2)+_0x81d734(-0x1f8,-0x151)+_0x81d734(-0x17d,-_0x17840f._0x2c2222)+'\x20'+_0x52329c[_0x81d734(-0x209,-_0x17840f._0x575376)+_0x81d734(0x35,-_0x17840f._0x197689)+'on']+'\x0a':_0x4e324c+=_0x81d734(_0x17840f._0x2fa44d,_0x17840f._0x2dc430)+_0x81d734(-0x1f0,-0x123)+_0x81d734(-_0x17840f._0x8f8a45,-_0x17840f._0x428913)+_0x81d734(-0x17d,-0x117)+_0x81d734(-_0x17840f._0x5b391a,-0x179)+_0x14d7b9(_0x17840f._0x2db648,0x689)+_0x14d7b9(0x4eb,_0x17840f._0x2c95fa)+_0x14d7b9(0x583,0x6c3)+'t\x0a';_0x4e324c+=_0x81d734(-0x110,-_0x17840f._0x2548b3)+_0x81d734(-_0x17840f._0x50d105,-_0x17840f._0x5be724)+_0x81d734(-_0x17840f._0x419665,-0x2d7)+_0x81d734(_0x17840f._0xcbbf87,-0x81)+_0x52329c[_0x81d734(-_0x17840f._0x2d67a8,-0xae)+_0x81d734(-_0x17840f._0x2c6464,-0x144)+'n']+'\x0a',_0x4e324c+='-\x20**M'+_0x14d7b9(_0x17840f._0x35441c,_0x17840f._0x17c6ba)+'nfo:*'+'*\x20'+_0x52329c[_0x14d7b9(_0x17840f._0x310d2c,0x427)+_0x81d734(-0x137,-_0x17840f._0xe005eb)+'l']+'\x0a';if(_0x52329c['fixed'+_0x81d734(_0x17840f._0x370743,-0x87)+'on']){if(_0x17a5bc['GWjBM']!==_0x17a5bc[_0x81d734(-_0x17840f._0x4815d1,-0x135)])_0x4e324c+=_0x81d734(_0x17840f._0x2ca684,-_0x17840f._0x5db019)+'ix:**'+_0x14d7b9(_0x17840f._0x524808,0x460)+_0x81d734(-_0x17840f._0x418c5f,-0x197)+_0x52329c[_0x81d734(-_0x17840f._0x122a0f,0x6f)+_0x14d7b9(_0x17840f._0x57ee5d,0x5fb)+'e']+(_0x81d734(-_0x17840f._0x37719a,-0x2f1)+'=')+_0x52329c['fixed'+_0x81d734(0x35,_0x17840f._0x37f6f7)+'on']+'\x0a';else{const _0x1ef27f={};_0x1ef27f[_0x81d734(-0x1fe,-0x22f)+'id']=_0x29b491['id'],_0x1ef27f[_0x14d7b9(_0x17840f._0x5d5500,_0x17840f._0x238cdb)]=_0x41b832[_0x14d7b9(0x5b7,_0x17840f._0x35832b)],_0x1ef27f['sever'+'ity']=_0x44d756[_0x81d734(-_0x17840f._0x404145,-0xa6)+_0x81d734(-_0x17840f._0x214524,-_0x17840f._0x5a17b6)],_0x17a5bc['swSUG'](_0x28f428,_0x17a5bc['uHhiX'],_0x1ef27f);}}_0x4e324c+='\x0a';}_0x4e324c+=_0x14d7b9(0x571,0x5e9),_0x4e324c+='**Act'+_0x81d734(-0xac,-0xbf)+_0x14d7b9(_0x17840f._0x5d548c,0x571)+_0x81d734(-0x68,-0xed)+_0x81d734(-_0x17840f._0x24630c,-_0x17840f._0x12b2ad)+_0x14d7b9(0x4e9,_0x17840f._0x378291)+_0x81d734(-0x129,-0x240)+_0x81d734(-_0x17840f._0x3a6ad9,-0x2e7)+_0x81d734(0x12,-0x1c)+_0x81d734(_0x17840f._0x185fc9,-_0x17840f._0x40e640)+_0x81d734(-_0x17840f._0x201850,-_0x17840f._0x4a4c8a)+'their'+_0x81d734(-0xb9,-0x11d)+_0x81d734(-_0x17840f._0x45a348,-0x126)+_0x81d734(-0x3c,0x104)+'.\x20';function _0x81d734(_0x383c4f,_0x5168fc){return _0x26c2ec(_0x5168fc,_0x383c4f- -0x4af);}return _0x4e324c+=_0x14d7b9(0x69e,0x5d9)+'our\x20p'+_0x14d7b9(_0x17840f._0x31257e,_0x17840f._0x833931)+_0x14d7b9(_0x17840f._0x3face0,_0x17840f._0x42549f)+_0x81d734(-_0x17840f._0x242654,-_0x17840f._0x5a30ab)+'s\x20upd'+_0x14d7b9(0x692,_0x17840f._0x2e7d0c)+'omman'+_0x14d7b9(0x695,0x5ea)+_0x81d734(-0x187,-_0x17840f._0x4bb261)+_0x81d734(-0xb9,-_0x17840f._0x574669)+'s.\x0a',_0x4e324c;}function _0x4923(_0x5a7b87,_0x4fbdf2){_0x5a7b87=_0x5a7b87-(0x7ed*0x2+0x811+-0x3*0x7b6);const _0x4698b1=_0x5f13();let _0x22eec9=_0x4698b1[_0x5a7b87];if(_0x4923['BmzWjQ']===undefined){var _0x1e23d0=function(_0x2d66f5){const _0x3d070e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42eb23='',_0x1033c0='';for(let _0x14a19f=0x8ad*0x1+0x261e+-0x2ecb,_0x31a736,_0x5832c6,_0x1c5f33=0x275*0x2+0x1f3*0xa+-0x58*0x47;_0x5832c6=_0x2d66f5['charAt'](_0x1c5f33++);~_0x5832c6&&(_0x31a736=_0x14a19f%(0x1c51+0x204d+-0x3c9a)?_0x31a736*(-0x178+-0x296*0x2+0x6e4)+_0x5832c6:_0x5832c6,_0x14a19f++%(0x204d+-0xa75+0x1*-0x15d4))?_0x42eb23+=String['fromCharCode'](0x2*-0x127d+-0x4e7*0x1+0xab8*0x4&_0x31a736>>(-(-0x7da+0xd*0xa+0x75a)*_0x14a19f&-0x32b+0x29a+0x97)):-0x1*0x2af+-0x121e+-0x5*-0x429){_0x5832c6=_0x3d070e['indexOf'](_0x5832c6);}for(let _0x2408d6=0x53*-0x6b+-0x2160+0x4411,_0x1f03b2=_0x42eb23['length'];_0x2408d6<_0x1f03b2;_0x2408d6++){_0x1033c0+='%'+('00'+_0x42eb23['charCodeAt'](_0x2408d6)['toString'](-0x1c81+0x1*-0xf39+0x2bca))['slice'](-(0x1ebe+0x1*0xbb5+-0x2a71));}return decodeURIComponent(_0x1033c0);};_0x4923['CteZhJ']=_0x1e23d0,_0x4923['IHbYaX']={},_0x4923['BmzWjQ']=!![];}const _0x5d3379=_0x4698b1[-0xb*-0x1b1+-0x2*0x10bb+0xedb*0x1],_0x57e085=_0x5a7b87+_0x5d3379,_0x398371=_0x4923['IHbYaX'][_0x57e085];return!_0x398371?(_0x22eec9=_0x4923['CteZhJ'](_0x22eec9),_0x4923['IHbYaX'][_0x57e085]=_0x22eec9):_0x22eec9=_0x398371,_0x22eec9;}function formatScanResult(_0x39107e){const _0x30217c={_0x1084ee:0x1b2,_0x34efe2:0x2ba,_0x2a7796:0x268,_0x11dd66:0x163,_0x398953:0x31d,_0xd11dc9:0x343,_0x5e73d9:0x469,_0x14c175:0x349,_0x2b49b6:0x19c,_0x2084ef:0x68,_0x352436:0x3d,_0x1679f6:0x31,_0x20bff6:0x47,_0x223a40:0x1ed,_0x2014f5:0x100,_0x37c2f7:0x34c,_0x148a4d:0x446,_0x2d3c1b:0x1b6,_0x44d044:0x43c,_0x307216:0x453,_0x43f025:0x486,_0x4ef7be:0x11a,_0x379c85:0x1f4,_0xd9546d:0x83,_0x59a091:0x141,_0x44da7b:0x24a,_0x227393:0x317,_0x12ec63:0x3ad,_0x3fabbf:0x3,_0x680441:0x30,_0x161870:0x98,_0x5c74be:0x83,_0x54b934:0xc3,_0x4fb560:0xa8,_0x5d2233:0x38c,_0x36b40f:0x301,_0x419b0c:0x3b6,_0x34f005:0x55,_0x312cb2:0x88,_0x1c2125:0x72,_0x23c6eb:0x159,_0xfbe556:0x5d,_0x21b36e:0x1b2,_0x34f767:0x42,_0x51617d:0x17a,_0x2b58ca:0xe5,_0x565b6b:0xe6,_0x3d81e6:0x10d,_0x108e5f:0x65,_0x37afa1:0x218,_0x20d3d7:0x15,_0x3f38f3:0x81,_0x53210a:0x283,_0x396281:0x310,_0x38eeb2:0x3bf,_0x14a7a6:0x200,_0xab6fde:0x19,_0x11f7b6:0x59,_0x568a3d:0xde,_0x1c4155:0x196,_0x44afc5:0x160,_0x4a3b0e:0x151,_0x2e92fd:0x103,_0x25e9a4:0x345,_0x3bf7ed:0x3e4,_0x3ef903:0x38e,_0x284745:0x427,_0x44a279:0x70,_0x5313b5:0x2b,_0x4043a0:0xb5,_0x319633:0x2c,_0x4830ab:0xbb,_0x5f68c1:0x451,_0xe4e99c:0x377,_0x2fbf8d:0x52a,_0x56b3c6:0xcc,_0x5a2529:0x96,_0x545f94:0x126,_0x5dd70a:0x478,_0x3be16f:0x2f3,_0x4fefbf:0x396,_0x49922d:0x134,_0x1fd70e:0x258,_0x47ba20:0x412,_0x5b8a60:0x478,_0x15b6e8:0x552,_0x43f6ab:0x1ac,_0x192a03:0x168,_0x3cfec2:0x302,_0x36f3a6:0xc0,_0x11c8e9:0x194,_0x2055d5:0x18d,_0x2ebb39:0x2bc,_0xfffc52:0x368,_0x3256a8:0x337,_0x26120e:0x1b4,_0x1500e9:0x2aa,_0x45fea2:0x24d,_0x444cff:0x2fb,_0x3f6e58:0x21c,_0x4340ee:0x19e,_0x43e0b5:0x76,_0x2cae38:0x3ed,_0x44e49c:0x68,_0x4264d2:0x60,_0x3b120c:0x2,_0x59c33a:0x46,_0x455b6f:0x1e4,_0x4e3734:0x27d,_0x33968a:0x2d8,_0x1edc08:0xbb,_0x1365b0:0x45,_0x281de7:0x295,_0x36874e:0x39a,_0xda8e6e:0x3ec,_0x1519c2:0x2c8,_0x4b872a:0x1d9},_0x56ef58={'OGCzp':function(_0xe170e1,_0x6052b3,_0x5ad5d6){return _0xe170e1(_0x6052b3,_0x5ad5d6);},'yutFk':_0xabb10(-_0x30217c._0x1084ee,-_0x30217c._0x34efe2)+'rabil'+_0x153f56(0x281,0x27c)+_0x153f56(_0x30217c._0x2a7796,_0x30217c._0x11dd66),'uxGVb':function(_0x5a7b5f,_0x558d9b){return _0x5a7b5f===_0x558d9b;},'fVGyM':_0xabb10(-0x50,0x6d),'uANbl':_0x153f56(_0x30217c._0x398953,_0x30217c._0xd11dc9)+_0x153f56(_0x30217c._0x5e73d9,_0x30217c._0x14c175)+_0xabb10(-0xb4,-_0x30217c._0x2b49b6)+'\x20FOUN'+'D','ymdID':function(_0x2b0e6f,_0x28241a){return _0x2b0e6f!==_0x28241a;},'xWQuD':_0xabb10(-0x15,-_0x30217c._0x2084ef),'WNmSC':function(_0x2e16e4,_0x95dc42){return _0x2e16e4===_0x95dc42;},'ewiRK':_0xabb10(-_0x30217c._0x352436,0xdd)+'cal','BzoFl':_0x153f56(0x229,0x378)+_0xabb10(_0x30217c._0x1679f6,_0x30217c._0x20bff6),'gYcXl':'[HIGH'+']','HUZpB':_0x153f56(_0x30217c._0x223a40,_0x30217c._0x2014f5)+'m','yEbLS':_0xabb10(-0x39,-0x4b)+_0xabb10(0x1b,-0x130),'EqbIm':function(_0x38a161,_0x281301){return _0x38a161!==_0x281301;},'DILGn':_0x153f56(_0x30217c._0x37c2f7,_0x30217c._0x148a4d)};let _0x3eb10d=_0xabb10(-_0x30217c._0x2d3c1b,-0x175)+_0x153f56(0x46f,_0x30217c._0x44d044)+_0x153f56(_0x30217c._0x307216,0x38a)+_0x153f56(0x420,_0x30217c._0x43f025)+_0xabb10(0x82,_0x30217c._0x4ef7be)+_0x153f56(0x255,_0x30217c._0x379c85)+'ults\x0a'+'\x0a';function _0xabb10(_0x49d291,_0x3ca202){return _0x2802dc(_0x3ca202,_0x49d291- -0x160);}_0x3eb10d+=_0xabb10(-_0x30217c._0xd9546d,-_0x30217c._0x59a091)+_0x153f56(_0x30217c._0x44da7b,0x179)+'*\x20'+(_0x56ef58['uxGVb'](_0x39107e[_0x153f56(0x23c,0x17d)+'s'],_0x56ef58[_0xabb10(-0xd5,-_0x30217c._0x352436)])?_0x153f56(_0x30217c._0x227393,_0x30217c._0x12ec63):_0x56ef58[_0xabb10(_0x30217c._0x3fabbf,_0x30217c._0x680441)])+'\x0a',_0x3eb10d+=_0x153f56(0x321,0x23a)+_0xabb10(-_0x30217c._0x161870,-_0x30217c._0x5c74be)+_0xabb10(_0x30217c._0x54b934,-0x3b)+_0x39107e['summa'+'ry']+'\x0a\x0a';if(_0x56ef58[_0xabb10(0x37,-_0x30217c._0x4fb560)](_0x39107e[_0x153f56(_0x30217c._0x5d2233,0x3f4)+_0x153f56(0x455,0x478)]['lengt'+'h'],0xd03*0x2+-0x1902+-0x104))return _0x3eb10d+='No\x20se'+_0x153f56(0x420,_0x30217c._0x36b40f)+_0x153f56(0x3f2,_0x30217c._0x419b0c)+_0xabb10(-_0x30217c._0x34f005,-0x13d)+_0xabb10(-_0x30217c._0x312cb2,-_0x30217c._0x1c2125)+_0xabb10(-0x186,-_0x30217c._0x23c6eb)+_0x153f56(0x47b,0x433)+_0xabb10(-0x68,0x4e)+_0xabb10(-_0x30217c._0xfbe556,-_0x30217c._0x21b36e)+_0xabb10(_0x30217c._0x34f767,_0x30217c._0x51617d)+'.\x0a',_0x3eb10d;_0x3eb10d+=_0xabb10(-_0x30217c._0x2b58ca,-_0x30217c._0x565b6b)+_0xabb10(-_0x30217c._0x3d81e6,-_0x30217c._0x108e5f)+_0xabb10(-0xca,-_0x30217c._0x37afa1);for(const _0x11d1bb of _0x39107e[_0xabb10(-0x2b,-0x45)+'ngs']){if(_0x56ef58['ymdID'](_0x56ef58['xWQuD'],_0xabb10(-_0x30217c._0x20d3d7,_0x30217c._0x3f38f3)))_0x261206+=_0x153f56(_0x30217c._0x53210a,0x285)+_0xabb10(-0xc3,-0x17e)+'ted\x20f'+_0xabb10(0xc1,-0x55)+'\x20`'+_0x191759['fixed'+_0x153f56(_0x30217c._0x396281,_0x30217c._0x38eeb2)]+'`\x0a';else{const _0x3ac8b7=_0x56ef58[_0xabb10(0x1a,0x11a)](_0x11d1bb[_0xabb10(-0x101,-_0x30217c._0x14a7a6)+_0x153f56(0x221,0x2b8)],_0x56ef58[_0xabb10(0x55,_0x30217c._0xab6fde)])?_0x56ef58[_0xabb10(_0x30217c._0x11f7b6,0xdd)]:_0x56ef58[_0xabb10(0x37,0x8b)](_0x11d1bb[_0xabb10(-0x101,-_0x30217c._0x568a3d)+_0xabb10(-_0x30217c._0x1c4155,-0x2a9)],_0xabb10(-_0x30217c._0x44afc5,-_0x30217c._0x4a3b0e))?_0x56ef58['gYcXl']:_0x11d1bb['sever'+_0xabb10(-0x196,-_0x30217c._0x2e92fd)]===_0x56ef58[_0xabb10(-0x142,-0x255)]?_0x56ef58['yEbLS']:'[LOW]';_0x3eb10d+=_0x153f56(_0x30217c._0x25e9a4,0x468)+_0x3ac8b7+'\x20'+_0x11d1bb[_0x153f56(_0x30217c._0x3bf7ed,0x387)]+'\x0a',_0x3eb10d+='-\x20**C'+_0xabb10(-0x177,-0x253)+'\x20'+_0x11d1bb[_0x153f56(0x302,_0x30217c._0x3ef903)]+'\x0a',_0x3eb10d+=_0x153f56(0x35f,_0x30217c._0x284745)+_0xabb10(-0xde,-_0x30217c._0x44a279)+'*\x20'+_0x11d1bb[_0xabb10(_0x30217c._0x5313b5,-_0x30217c._0x4043a0)]+'\x0a',_0x3eb10d+=_0xabb10(-_0x30217c._0x319633,_0x30217c._0x4830ab)+_0x153f56(_0x30217c._0x5f68c1,_0x30217c._0xe4e99c)+'*\x20`'+_0x11d1bb[_0x153f56(0x483,_0x30217c._0x2fbf8d)+'et']+'`\x0a',_0x3eb10d+='-\x20**I'+_0xabb10(-0xc9,-_0x30217c._0x56b3c6)+_0xabb10(_0x30217c._0x54b934,0xcd)+_0x11d1bb['descr'+_0xabb10(0xf,0x80)+'n']+'\x0a',_0x3eb10d+=_0xabb10(_0x30217c._0x5a2529,_0x30217c._0x545f94)+_0x153f56(_0x30217c._0x5dd70a,0x57a)+'\x20'+_0x11d1bb[_0x153f56(0x36a,0x41a)]+'\x0a';if(_0x11d1bb['fixed'+'Code']){if(_0x56ef58[_0x153f56(_0x30217c._0x3be16f,0x2e6)]('GatOY',_0x56ef58[_0x153f56(_0x30217c._0x4fefbf,0x4e7)]))_0x3eb10d+=_0xabb10(-_0x30217c._0x49922d,-0x243)+_0x153f56(0x2f4,_0x30217c._0x1fd70e)+_0x153f56(_0x30217c._0x47ba20,0x503)+_0x153f56(_0x30217c._0x5b8a60,_0x30217c._0x15b6e8)+'\x20`'+_0x11d1bb[_0xabb10(-_0x30217c._0x43f6ab,-_0x30217c._0x192a03)+_0x153f56(0x310,0x1cf)]+'`\x0a';else{const _0x4f63f8={};_0x4f63f8[_0x153f56(0x216,0x313)+'id']=_0x2171bf['id'],_0x4f63f8[_0x153f56(_0x30217c._0x3cfec2,0x2cd)]=_0x570822[_0xabb10(-_0x30217c._0x4043a0,-_0x30217c._0x36f3a6)],_0x4f63f8['sever'+_0xabb10(-0x196,-_0x30217c._0x11c8e9)]=_0x567103[_0xabb10(-0x101,-0x1ac)+_0xabb10(-_0x30217c._0x1c4155,-0x2d4)],_0x56ef58['OGCzp'](_0x582b2d,_0x56ef58[_0xabb10(-0x1bc,-_0x30217c._0x2055d5)],_0x4f63f8);}}_0x3eb10d+='\x0a';}}function _0x153f56(_0x28ec6b,_0x1e3be8){return _0x2802dc(_0x1e3be8,_0x28ec6b-0x257);}return _0x3eb10d+=_0x153f56(_0x30217c._0x2ebb39,0x1c0),_0x3eb10d+='**Act'+_0x153f56(_0x30217c._0xfffc52,_0x30217c._0x3256a8)+'equir'+'ed:**'+_0xabb10(-0x170,-0x278)+_0xabb10(-0x7b,-_0x30217c._0x26120e)+_0x153f56(_0x30217c._0x1500e9,0x2a8)+_0x153f56(_0x30217c._0x45fea2,_0x30217c._0x444cff)+_0x153f56(0x289,0x2c5)+_0xabb10(0xae,0x14a)+_0x153f56(0x354,_0x30217c._0x3f6e58)+_0xabb10(-0xf3,-_0x30217c._0x4340ee)+_0xabb10(-_0x30217c._0x43e0b5,-0x3b)+_0xabb10(0x33,0x105)+'k.\x20Re'+_0x153f56(0x3f9,_0x30217c._0x2cae38)+'\x20the\x20'+'code\x20'+_0xabb10(0x4b,-_0x30217c._0x44e49c)+_0xabb10(_0x30217c._0x4264d2,0x17f)+_0xabb10(_0x30217c._0x3b120c,_0x30217c._0x59c33a)+_0x153f56(0x29d,0x1ec)+_0x153f56(_0x30217c._0x455b6f,0x338)+_0xabb10(-0x14a,-_0x30217c._0x4e3734)+_0x153f56(_0x30217c._0x33968a,0x227)+'\x20call'+_0xabb10(_0x30217c._0x1edc08,-_0x30217c._0x1365b0)+_0x153f56(0x38a,_0x30217c._0x281de7)+_0x153f56(_0x30217c._0x36874e,_0x30217c._0x36b40f)+_0x153f56(0x480,_0x30217c._0xda8e6e)+_0xabb10(-0x7a,0x4d)+_0x153f56(_0x30217c._0x1519c2,_0x30217c._0x4b872a),_0x3eb10d;}async function main(){const _0x16da71={_0x5db464:0x141,_0x4f233c:0x330,_0x504f3d:0x425,_0x49e04e:0x211,_0x4fc3f0:0x544,_0x5ef0f9:0x562,_0x50c004:0x285,_0x13d10d:0x13a,_0x21dc11:0x4c4,_0x195ac6:0x112,_0x5259ac:0x59,_0x4e6e04:0x371,_0x2979eb:0x2cb,_0x254cb0:0x449,_0x5186f1:0x279,_0x598ba2:0x2e1,_0x1a0c4b:0x241,_0x21d87b:0x573},_0x16a3ca={_0x3b60eb:0x31b,_0x4fb43a:0x124,_0x348f75:0x77,_0x4dd181:0x70,_0xe1908e:0xf4,_0x22ca58:0x17b,_0x5c58c0:0x2d9,_0x59e15c:0x60,_0x382670:0x2c4,_0x1ccac2:0x3b4,_0x22dd35:0x1fa,_0x54bf06:0x27,_0x35573d:0x3f2,_0x3b9a87:0x1ec,_0x190465:0x533,_0x2b78d4:0x32,_0x7cedc3:0x59,_0x3b993e:0x218,_0x3fbf0f:0xb5,_0x2b664c:0x17,_0x1cdefe:0x452,_0x28fbbe:0x370,_0x402eee:0x2a9,_0x22edc9:0x25c,_0x27c983:0x122,_0x1891f0:0x72,_0x513e9b:0x68,_0x18aa1a:0x29c,_0x4eb6be:0x8a,_0x38f6c9:0x6c,_0x147799:0x1e7,_0x47f40f:0x1b6,_0x352952:0x125,_0x195c7b:0xeb,_0x81b4da:0x3ee,_0x329eb3:0x71,_0x36a0b1:0xbc,_0x18ea60:0x15f,_0x48bbc8:0x246,_0xf9d6d8:0x3e6,_0x25362a:0x3f7,_0x1f4749:0x302,_0x537a85:0xda,_0x53487a:0x406,_0xf1d5c2:0x4f,_0x56903c:0xd6,_0x3dcbd4:0x24b,_0x52a5f0:0x31a,_0x359895:0xce,_0x31fde5:0x9c,_0x5e5d07:0x109,_0x2174b7:0x3ed,_0x4cc8fc:0x259,_0x13cc55:0x336,_0x471934:0x3c3,_0xe2aa07:0xa9,_0x63c51f:0x102},_0x5b7b97={_0x3c9c4a:0xfe,_0x4edc68:0x538,_0x3f144b:0x33a,_0x3e02b3:0x2c,_0x42505e:0x3d6,_0x241127:0x319},_0x306198={_0x438707:0x608,_0x1d81fc:0x5b9,_0x16c86a:0x4b5,_0x2cb269:0x4cb,_0x2e9e74:0x436,_0x1c1e34:0x440,_0x45702a:0x548},_0x54d866={_0x52968a:0x29};function _0x50bfea(_0x1544a7,_0x301850){return _0x26c2ec(_0x1544a7,_0x301850- -_0x54d866._0x52968a);}const _0x5c678f={'oPTJZ':function(_0x3f5789,_0x3e5702){return _0x3f5789+_0x3e5702;},'zLtQR':_0x57a21b(-_0x16da71._0x5db464,-0x1e9),'czrmH':function(_0x5b832a,_0x5a6a7f){return _0x5b832a===_0x5a6a7f;},'xoqTT':_0x50bfea(0x4b9,0x4be),'nHtQC':function(_0x202370){return _0x202370();},'NVSrq':function(_0x406670,_0x3ee2ec){return _0x406670+_0x3ee2ec;},'AkToq':function(_0xd8453,_0x5c4225){return _0xd8453+_0x5c4225;},'nZQCf':'text','ViAsw':_0x50bfea(0x310,0x390),'JUTxb':_0x50bfea(_0x16da71._0x4f233c,_0x16da71._0x504f3d),'YpRRL':function(_0x514dbb){return _0x514dbb();},'vnlYE':'Kira-'+'Lite\x20'+_0x57a21b(-0x1f5,-0x2a6)+'erver'+_0x50bfea(0x399,0x3bd)+_0x57a21b(-0x2f4,-_0x16da71._0x49e04e)+_0x50bfea(_0x16da71._0x4fc3f0,0x4ee)+'\x20on\x20s'+_0x50bfea(_0x16da71._0x5ef0f9,0x4b8),'RPzRn':'serve'+_0x57a21b(-_0x16da71._0x50c004,-_0x16da71._0x13d10d)+_0x50bfea(_0x16da71._0x21dc11,0x392),'xxNHC':'0.1.2','xUSad':_0x57a21b(-0x1ec,-0x1c3)+_0x57a21b(-0x24d,-0x246),'cDeiW':_0x57a21b(-_0x16da71._0x195ac6,-_0x16da71._0x5259ac)+'T','nLYpf':'SIGTE'+'RM'};await _0x5c678f['nHtQC'](initTelemetry);const _0x68a38=new StdioServerTransport();await server['conne'+'ct'](_0x68a38);function _0x57a21b(_0x4f7afe,_0x12504d){return _0x2802dc(_0x4f7afe,_0x12504d- -0x262);}console['error'](_0x5c678f['vnlYE']),trackEvent(_0x5c678f[_0x57a21b(-0x263,-0x115)],{'version':_0x5c678f[_0x50bfea(_0x16da71._0x4e6e04,_0x16da71._0x2979eb)],'node_version':process[_0x57a21b(-0x25e,-0x29d)+'on'],'platform':process[_0x50bfea(0x574,_0x16da71._0x254cb0)+_0x50bfea(0x281,0x2d6)]});const _0x7f46aa=async()=>{const _0xf64146={_0x32d841:0x6ce},_0x17eb07={_0x594a8a:0x74b};function _0x380e5d(_0x32c642,_0x2ffca4){return _0x57a21b(_0x32c642,_0x2ffca4-_0x17eb07._0x594a8a);}const _0x13ea23={'asgNk':function(_0x4e2890,_0x2b31b4){return _0x5c678f['oPTJZ'](_0x4e2890,_0x2b31b4);}};function _0xf6346c(_0x47767d,_0x27301d){return _0x57a21b(_0x47767d,_0x27301d-_0xf64146._0x32d841);}_0xf6346c(_0x306198._0x438707,0x605)===_0x5c678f[_0x380e5d(0x4b1,_0x306198._0x1d81fc)]?_0x99924a[_0x10f7c9[_0xf6346c(_0x306198._0x16c86a,_0x306198._0x2cb269)+_0xf6346c(0x44a,_0x306198._0x2e9e74)]]=_0x13ea23[_0xf6346c(0x36f,_0x306198._0x1c1e34)](_0x571d33[_0x22ecc3[_0x380e5d(0x402,_0x306198._0x45702a)+'ity']]??-0x1e83+-0x10d6+0x2f59*0x1,0x18b7+-0x1*0x1d3f+0x489):await shutdownTelemetry();};process['on'](_0x5c678f[_0x50bfea(_0x16da71._0x5186f1,0x35b)],_0x7f46aa),process['on'](_0x5c678f[_0x57a21b(-_0x16da71._0x598ba2,-_0x16da71._0x1a0c4b)],async()=>{const _0x4abd38={_0x564a0f:0x27};function _0x35fc18(_0x12bce1,_0x1ca011){return _0x50bfea(_0x12bce1,_0x1ca011- -0x2da);}function _0x46dea1(_0x6dec70,_0xfce61){return _0x50bfea(_0x6dec70,_0xfce61- -_0x4abd38._0x564a0f);}_0x5c678f[_0x35fc18(0x20f,_0x5b7b97._0x3c9c4a)](_0x5c678f['xoqTT'],_0x5c678f[_0x46dea1(0x2a7,0x28d)])?(await _0x5c678f['nHtQC'](_0x7f46aa),process[_0x35fc18(0x8e,-0x57)](-0x701+-0x20b+-0x304*-0x3)):_0x18c77a+=_0x46dea1(_0x5b7b97._0x4edc68,0x498)+_0x46dea1(_0x5b7b97._0x3f144b,0x26f)+_0x35fc18(_0x5b7b97._0x3e02b3,-0x4c)+_0x46dea1(0x211,0x2e2)+'\x20No\x20f'+'ix\x20av'+_0x46dea1(_0x5b7b97._0x42505e,0x281)+_0x46dea1(0x34b,_0x5b7b97._0x241127)+'t\x0a';}),process['on'](_0x5c678f[_0x50bfea(_0x16da71._0x21d87b,0x439)],async()=>{const _0x4b5c93={_0x52dac0:0x46e},_0xafa3c6={_0x362c1f:0x1be};function _0x4108a0(_0x452fb7,_0x2aa551){return _0x57a21b(_0x2aa551,_0x452fb7-_0xafa3c6._0x362c1f);}function _0x611028(_0x40b248,_0x5394d8){return _0x57a21b(_0x5394d8,_0x40b248-_0x4b5c93._0x52dac0);}if(_0x5c678f[_0x611028(_0x16a3ca._0x3b60eb,0x457)](_0x5c678f[_0x4108a0(_0x16a3ca._0x4fb43a,0x1aa)],_0x5c678f['JUTxb'])){const _0x5c71d7={};_0x5c71d7[_0x4108a0(0xf6,_0x16a3ca._0x348f75)+'ve']=_0x4108a0(-_0x16a3ca._0x4dd181,0xc8)+'mode\x20'+_0x4108a0(-0x59,-0x5a)+_0x4108a0(_0x16a3ca._0xe1908e,_0x16a3ca._0x22ca58)+_0x611028(0x34e,0x2b2)+_0x611028(_0x16a3ca._0x5c58c0,0x2c4)+'\x20Code'+_0x611028(0x39c,0x32b)+_0x4108a0(-_0x16a3ca._0x59e15c,0x7c)+'cans\x20'+_0x611028(_0x16a3ca._0x382670,_0x16a3ca._0x1ccac2)+_0x611028(0x1e2,0x27d)+_0x4108a0(-0x46,-0xdf)+_0x4108a0(0x94,0x28)+_0x611028(_0x16a3ca._0x22dd35,0x1ed)+_0x4108a0(-_0x16a3ca._0x54bf06,-0x159)+_0x611028(_0x16a3ca._0x35573d,0x467)+_0x611028(_0x16a3ca._0x3b9a87,0x1f5),_0x5c71d7[_0x611028(0x3e2,_0x16a3ca._0x190465)+'l']=_0x4108a0(-_0x16a3ca._0x4dd181,_0x16a3ca._0x2b78d4)+'mode\x20'+_0x4108a0(-_0x16a3ca._0x7cedc3,-0xfb)+_0x4108a0(0xf4,_0x16a3ca._0x3b993e)+'\x22manu'+'al\x22.\x20'+'All\x20a'+_0x4108a0(-_0x16a3ca._0x3fbf0f,-_0x16a3ca._0x2b664c)+_0x611028(0x421,_0x16a3ca._0x1cdefe)+'cans\x20'+_0x611028(0x2c4,0x180)+'isabl'+_0x611028(_0x16a3ca._0x28fbbe,_0x16a3ca._0x402eee)+'se\x20se'+_0x611028(_0x16a3ca._0x22edc9,_0x16a3ca._0x27c983)+'fig\x20t'+_0x4108a0(_0x16a3ca._0x1891f0,_0x16a3ca._0x513e9b)+_0x611028(_0x16a3ca._0x18aa1a,0x28a)+_0x4108a0(0x5a,_0x16a3ca._0x4eb6be),_0x5c71d7['every'+'-edit']='';const _0x4fa2e1=_0x5c71d7,_0x36e5f3=_0x5c678f[_0x4108a0(-_0x16a3ca._0x38f6c9,0x8d)](_0x5c678f[_0x611028(_0x16a3ca._0x147799,0x302)](_0x5c678f[_0x4108a0(0x10f,0xbc)](_0x611028(_0x16a3ca._0x47f40f,0x2e5)+_0x611028(0x424,0x368)+_0x4108a0(0x158,0x1b9)+_0x4108a0(_0x16a3ca._0x352952,_0x16a3ca._0x195c7b)+_0x611028(_0x16a3ca._0x81b4da,0x43d)+_0x4108a0(-_0x16a3ca._0x329eb3,-0xaa)+_0x4108a0(-_0x16a3ca._0x36a0b1,-_0x16a3ca._0x18ea60)+'d\x0a\x0a',_0x611028(0x347,0x2d6)+'e:**\x20'+_0x35affd+'\x0a'),_0x4108a0(-0xf3,-_0x16a3ca._0x48bbc8)+_0x611028(_0x16a3ca._0xf9d6d8,0x482)+_0x477b27+'\x0a')+('**Rea'+'son:*'+'*\x20'+_0x4fa2e1[_0x364de7]+'\x0a'),_0x611028(_0x16a3ca._0x25362a,_0x16a3ca._0x1f4749)+_0x4108a0(-0x14,_0x16a3ca._0x537a85)+_0x611028(_0x16a3ca._0x53487a,0x300)+_0x4108a0(_0x16a3ca._0xf1d5c2,_0x16a3ca._0x56903c)+_0x611028(_0x16a3ca._0x3dcbd4,0x210)+_0x611028(_0x16a3ca._0x52a5f0,0x303)+_0x611028(0x339,0x34c)+'g`\x20to'+_0x4108a0(_0x16a3ca._0x359895,-0x6d)+'\x20upda'+_0x4108a0(_0x16a3ca._0x31fde5,_0x16a3ca._0x3b9a87)+_0x4108a0(_0x16a3ca._0x5e5d07,0xc9)+_0x611028(0x2cb,_0x16a3ca._0x2174b7)+_0x4108a0(0x73,-0x29)),_0x3e5e28={};_0x3e5e28[_0x611028(0x1c4,_0x16a3ca._0x4cc8fc)]=_0x5c678f[_0x611028(_0x16a3ca._0x13cc55,_0x16a3ca._0x471934)],_0x3e5e28[_0x4108a0(-0xe9,-_0x16a3ca._0xe2aa07)]=_0x36e5f3;const _0x39d97d={};return _0x39d97d[_0x4108a0(-0x6a,-_0x16a3ca._0x63c51f)+'nt']=[_0x3e5e28],_0x39d97d;}else await _0x5c678f['YpRRL'](_0x7f46aa),process['exit'](-0xbed*0x1+-0xd3e+0x192b);});}main()[_0x26c2ec(0x3bc,0x4da)](_0x18f74c=>{const _0x2446ce={_0x5b61dd:0x1f0,_0x1b9e44:0x1ff,_0x593392:0x2a0,_0x894ac8:0x42,_0x3251f6:0x21a,_0x46ebe6:0x21f,_0x27e44f:0x1d1,_0x2f5170:0xca,_0x48403c:0x181,_0x2ba02a:0xbd};function _0x7e31fd(_0x2ba6d5,_0x2e14fa){return _0x2802dc(_0x2e14fa,_0x2ba6d5- -0x233);}const _0x69a97f={'BqNqn':_0x7e31fd(-0x74,-0x41)+'r_err'+'or','esYnV':_0x2c53fa(_0x2446ce._0x5b61dd,_0x2446ce._0x1b9e44)+'\x20erro'+_0x7e31fd(-_0x2446ce._0x593392,-0x20f)+_0x2c53fa(0x111,0xa9)+_0x7e31fd(-0x265,-0x127)+_0x7e31fd(-0x27c,-0x193)+_0x7e31fd(-0x112,-_0x2446ce._0x894ac8)+_0x2c53fa(0x213,_0x2446ce._0x3251f6)+'r:','WFCTN':function(_0x270684){return _0x270684();}};function _0x2c53fa(_0x3c8ff9,_0x2db628){return _0x2802dc(_0x2db628,_0x3c8ff9-0x54);}trackEvent(_0x69a97f[_0x7e31fd(-0xf2,-_0x2446ce._0x46ebe6)],{'error':String(_0x18f74c)}),console[_0x7e31fd(-_0x2446ce._0x27e44f,-0x257)](_0x69a97f[_0x2c53fa(_0x2446ce._0x2f5170,_0x2446ce._0x48403c)],_0x18f74c),_0x69a97f[_0x7e31fd(-0x53,_0x2446ce._0x2ba02a)](shutdownTelemetry)['final'+'ly'](()=>process[_0x2c53fa(0xe,-0xd7)](-0x17f*-0x8+0x238e+-0x2f85));});
2
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
+ import { z } from "zod";
5
+ import { scanCode } from "./tools/scan-code.js";
6
+ import { scanFile } from "./tools/scan-file.js";
7
+ import { scanDiff } from "./tools/scan-diff.js";
8
+ import { fixVulnerability } from "./tools/fix-vulnerability.js";
9
+ import { scanDependencies } from "./tools/scan-dependencies.js";
10
+ import { getSupportedLockfiles } from "./core/engines/osv.js";
11
+ import { initTelemetry, trackEvent, identifyUser, shutdownTelemetry } from "./telemetry.js";
12
+ import { loadConfig, saveConfig, loadProfile, saveProfile } from "./config.js";
13
+ const server = new McpServer({
14
+ name: "kira-lite",
15
+ version: "0.1.3",
16
+ description: "Kira-Lite by Offgrid Security — Real-time security scanning for AI coding assistants. Detects OWASP Top 10, CWEs, hardcoded secrets, and insecure patterns before code hits disk.",
17
+ });
18
+ // === Registration nudge (once per session) ===
19
+ let nudgeShown = false;
20
+ function getRegistrationNudge() {
21
+ if (nudgeShown)
22
+ return "";
23
+ const profile = loadProfile();
24
+ if (profile.email)
25
+ return "";
26
+ nudgeShown = true;
27
+ return "\n\n---\n> Stay updated on the latest Kira security rules and vulnerability coverage — register your email with the `register` tool.\n";
28
+ }
29
+ // === Skip response helper ===
30
+ function buildSkipResponse(mode, tool) {
31
+ const reasons = {
32
+ "on-save": `Scan mode is set to "on-save". Code snippet scans are disabled. File scans remain active.`,
33
+ "manual": `Scan mode is set to "manual". All automatic scans are disabled. Use set_config to change mode.`,
34
+ "every-edit": "", // never used
35
+ };
36
+ const text = `## Kira-Lite Security Scan — Skipped\n\n` +
37
+ `**Mode:** ${mode}\n` +
38
+ `**Tool:** ${tool}\n` +
39
+ `**Reason:** ${reasons[mode]}\n` +
40
+ `**Change mode:** Use the \`set_config\` tool to update scan frequency.\n`;
41
+ return { content: [{ type: "text", text }] };
42
+ }
43
+ // === Tool: scan_code ===
44
+ server.tool("scan_code", "Scan code for security vulnerabilities (OWASP Top 10, CWEs, hardcoded secrets, insecure crypto, injection flaws). Call BEFORE writing any code to disk.", {
45
+ code: z.string().describe("The code to scan for vulnerabilities"),
46
+ language: z
47
+ .string()
48
+ .optional()
49
+ .describe("Programming language (javascript, typescript, python, go, java, etc.)"),
50
+ filename: z
51
+ .string()
52
+ .optional()
53
+ .describe("Intended filename — used for language detection"),
54
+ }, async (args) => {
55
+ const config = loadConfig();
56
+ if (config.scanMode === "on-save" || config.scanMode === "manual") {
57
+ trackEvent("scan_skipped", { tool: "scan_code", mode: config.scanMode });
58
+ return buildSkipResponse(config.scanMode, "scan_code");
59
+ }
60
+ const startMs = Date.now();
61
+ trackEvent("tool_called", {
62
+ tool: "scan_code",
63
+ language: args.language ?? "auto",
64
+ line_count: args.code.split("\n").length,
65
+ });
66
+ const result = await scanCode({
67
+ code: args.code,
68
+ language: args.language,
69
+ filename: args.filename,
70
+ });
71
+ const durationMs = Date.now() - startMs;
72
+ const severityCounts = {};
73
+ for (const f of result.findings) {
74
+ severityCounts[f.severity] = (severityCounts[f.severity] ?? 0) + 1;
75
+ }
76
+ trackEvent("scan_completed", {
77
+ tool: "scan_code",
78
+ language: result.language,
79
+ lines: result.scannedLines,
80
+ status: result.status,
81
+ findings_count: result.findings.length,
82
+ severity_counts: severityCounts,
83
+ duration_ms: durationMs,
84
+ engines: result.engines.map((e) => e.engine),
85
+ });
86
+ for (const f of result.findings) {
87
+ trackEvent("vulnerability_found", {
88
+ rule_id: f.id,
89
+ cwe: f.cwe,
90
+ severity: f.severity,
91
+ title: f.title,
92
+ });
93
+ }
94
+ return {
95
+ content: [
96
+ {
97
+ type: "text",
98
+ text: formatScanResult(result) + getRegistrationNudge(),
99
+ },
100
+ ],
101
+ };
102
+ });
103
+ // === Tool: scan_file ===
104
+ server.tool("scan_file", "Scan an existing file on disk for security vulnerabilities.", {
105
+ file_path: z.string().describe("Absolute path to the file to scan"),
106
+ language: z.string().optional().describe("Programming language override"),
107
+ }, async (args) => {
108
+ const config = loadConfig();
109
+ if (config.scanMode === "manual") {
110
+ trackEvent("scan_skipped", { tool: "scan_file", mode: config.scanMode });
111
+ return buildSkipResponse(config.scanMode, "scan_file");
112
+ }
113
+ const startMs = Date.now();
114
+ trackEvent("tool_called", {
115
+ tool: "scan_file",
116
+ language: args.language ?? "auto",
117
+ });
118
+ const result = await scanFile({
119
+ file_path: args.file_path,
120
+ language: args.language,
121
+ });
122
+ const durationMs = Date.now() - startMs;
123
+ const severityCounts = {};
124
+ for (const f of result.findings) {
125
+ severityCounts[f.severity] = (severityCounts[f.severity] ?? 0) + 1;
126
+ }
127
+ trackEvent("scan_completed", {
128
+ tool: "scan_file",
129
+ language: result.language,
130
+ lines: result.scannedLines,
131
+ status: result.status,
132
+ findings_count: result.findings.length,
133
+ severity_counts: severityCounts,
134
+ duration_ms: durationMs,
135
+ engines: result.engines.map((e) => e.engine),
136
+ });
137
+ for (const f of result.findings) {
138
+ trackEvent("vulnerability_found", {
139
+ rule_id: f.id,
140
+ cwe: f.cwe,
141
+ severity: f.severity,
142
+ title: f.title,
143
+ });
144
+ }
145
+ // Auto-detect lockfiles and append dependency scan
146
+ const filename = args.file_path.replace(/\\/g, "/").split("/").pop() ?? "";
147
+ const supportedLockfiles = getSupportedLockfiles();
148
+ let depText = "";
149
+ if (supportedLockfiles.includes(filename)) {
150
+ try {
151
+ const depResult = await scanDependencies({ lockfile_path: args.file_path });
152
+ trackEvent("scan_completed", {
153
+ tool: "scan_dependencies_auto",
154
+ lockfile: depResult.lockfile,
155
+ packages_scanned: depResult.packagesScanned,
156
+ findings_count: depResult.findings.length,
157
+ status: depResult.status,
158
+ });
159
+ depText = "\n\n" + formatDependencyResult(depResult);
160
+ }
161
+ catch {
162
+ // Dependency scan failure should not block the code scan result
163
+ }
164
+ }
165
+ return {
166
+ content: [
167
+ {
168
+ type: "text",
169
+ text: formatScanResult(result) + depText + getRegistrationNudge(),
170
+ },
171
+ ],
172
+ };
173
+ });
174
+ // === Tool: scan_diff ===
175
+ server.tool("scan_diff", "Compare original vs modified code and report only NEW vulnerabilities introduced by your changes.", {
176
+ original_code: z.string().describe("The original code before changes"),
177
+ new_code: z.string().describe("The new/modified code after changes"),
178
+ language: z.string().optional().describe("Programming language"),
179
+ filename: z.string().optional().describe("Filename for language detection"),
180
+ }, async (args) => {
181
+ const config = loadConfig();
182
+ if (config.scanMode === "on-save" || config.scanMode === "manual") {
183
+ trackEvent("scan_skipped", { tool: "scan_diff", mode: config.scanMode });
184
+ return buildSkipResponse(config.scanMode, "scan_diff");
185
+ }
186
+ const startMs = Date.now();
187
+ trackEvent("tool_called", {
188
+ tool: "scan_diff",
189
+ language: args.language ?? "auto",
190
+ line_count: args.new_code.split("\n").length,
191
+ });
192
+ const result = await scanDiff({
193
+ original_code: args.original_code,
194
+ new_code: args.new_code,
195
+ language: args.language,
196
+ filename: args.filename,
197
+ });
198
+ const durationMs = Date.now() - startMs;
199
+ const severityCounts = {};
200
+ for (const f of result.findings) {
201
+ severityCounts[f.severity] = (severityCounts[f.severity] ?? 0) + 1;
202
+ }
203
+ trackEvent("scan_completed", {
204
+ tool: "scan_diff",
205
+ language: result.language,
206
+ lines: result.scannedLines,
207
+ status: result.status,
208
+ findings_count: result.findings.length,
209
+ severity_counts: severityCounts,
210
+ duration_ms: durationMs,
211
+ engines: result.engines.map((e) => e.engine),
212
+ });
213
+ for (const f of result.findings) {
214
+ trackEvent("vulnerability_found", {
215
+ rule_id: f.id,
216
+ cwe: f.cwe,
217
+ severity: f.severity,
218
+ title: f.title,
219
+ });
220
+ }
221
+ return {
222
+ content: [
223
+ {
224
+ type: "text",
225
+ text: formatScanResult(result) + getRegistrationNudge(),
226
+ },
227
+ ],
228
+ };
229
+ });
230
+ // === Tool: fix_vulnerability ===
231
+ server.tool("fix_vulnerability", "Get detailed fix guidance for a specific vulnerability by its ID (e.g., KIRA-JS-SQLI-001) or CWE (e.g., CWE-89).", {
232
+ vulnerability_id: z
233
+ .string()
234
+ .describe("Vulnerability ID or CWE ID"),
235
+ code: z.string().describe("The vulnerable code"),
236
+ language: z.string().optional().describe("Programming language"),
237
+ }, async (args) => {
238
+ trackEvent("tool_called", { tool: "fix_vulnerability" });
239
+ const result = fixVulnerability({
240
+ vulnerability_id: args.vulnerability_id,
241
+ code: args.code,
242
+ language: args.language,
243
+ });
244
+ trackEvent("fix_requested", {
245
+ vulnerability_id: args.vulnerability_id,
246
+ });
247
+ let text = `## Fix Guidance: ${result.title}\n\n`;
248
+ text += `**CWE:** ${result.cwe}\n\n`;
249
+ text += `**Guidance:** ${result.fix_guidance}\n\n`;
250
+ text += `**References:**\n`;
251
+ for (const ref of result.references) {
252
+ text += `- ${ref}\n`;
253
+ }
254
+ return {
255
+ content: [{ type: "text", text }],
256
+ };
257
+ });
258
+ // === Tool: get_config ===
259
+ server.tool("get_config", "Get the current Kira-Lite configuration, including scan mode.", {}, async () => {
260
+ const config = loadConfig();
261
+ trackEvent("tool_called", { tool: "get_config" });
262
+ const text = `## Kira-Lite Configuration\n\n` +
263
+ `\`\`\`json\n${JSON.stringify(config, null, 2)}\n\`\`\`\n\n` +
264
+ `**Scan modes:**\n` +
265
+ `- \`"every-edit"\` — Scan on every scan_code/scan_diff/scan_file call (most secure)\n` +
266
+ `- \`"on-save"\` — Only scan via scan_file (file on disk); scan_code/scan_diff are skipped\n` +
267
+ `- \`"manual"\` — All scans are skipped; use fix_vulnerability or change config to scan\n`;
268
+ return { content: [{ type: "text", text }] };
269
+ });
270
+ // === Tool: set_config ===
271
+ server.tool("set_config", "Update Kira-Lite configuration. Use this to change scan frequency.", {
272
+ scanMode: z
273
+ .enum(["every-edit", "on-save", "manual"])
274
+ .describe('Scan frequency: "every-edit", "on-save", or "manual"'),
275
+ }, async (args) => {
276
+ trackEvent("tool_called", { tool: "set_config", scanMode: args.scanMode });
277
+ const config = { scanMode: args.scanMode };
278
+ saveConfig(config);
279
+ trackEvent("config_changed", { scanMode: args.scanMode });
280
+ const text = `## Kira-Lite Configuration Updated\n\n` +
281
+ `**Scan mode:** \`${args.scanMode}\`\n\n` +
282
+ `Configuration saved to \`~/.kira-lite/config.json\`.\n`;
283
+ return { content: [{ type: "text", text }] };
284
+ });
285
+ // === Tool: register ===
286
+ server.tool("register", "Register your email to receive the latest Kira security updates and vulnerability alerts.", {
287
+ email: z.string().describe("Your email address"),
288
+ }, async (args) => {
289
+ trackEvent("tool_called", { tool: "register" });
290
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
291
+ if (!emailRegex.test(args.email)) {
292
+ return {
293
+ content: [
294
+ {
295
+ type: "text",
296
+ text: "## Registration Failed\n\nInvalid email address. Please provide a valid email.",
297
+ },
298
+ ],
299
+ };
300
+ }
301
+ saveProfile({ email: args.email });
302
+ identifyUser(args.email);
303
+ trackEvent("user_registered", { email: args.email });
304
+ return {
305
+ content: [
306
+ {
307
+ type: "text",
308
+ text: `## Registered Successfully\n\n` +
309
+ `You'll receive the latest Kira security updates and vulnerability alerts at **${args.email}**.\n\n` +
310
+ `Your email is stored locally at \`~/.kira-lite/profile.json\`. You can delete it anytime to unsubscribe.`,
311
+ },
312
+ ],
313
+ };
314
+ });
315
+ // === Tool: scan_dependencies ===
316
+ server.tool("scan_dependencies", "Scan project dependencies for known vulnerabilities (CVEs) using the OSV.dev database. Parses lockfiles (package-lock.json, yarn.lock, requirements.txt, go.sum, Cargo.lock, etc.) and reports vulnerable packages with fix versions.", {
317
+ project_path: z
318
+ .string()
319
+ .optional()
320
+ .describe("Directory to scan for lockfiles (auto-detects lockfile type)"),
321
+ lockfile_path: z
322
+ .string()
323
+ .optional()
324
+ .describe("Path to a specific lockfile to scan"),
325
+ }, async (args) => {
326
+ const startMs = Date.now();
327
+ trackEvent("tool_called", {
328
+ tool: "scan_dependencies",
329
+ has_project_path: !!args.project_path,
330
+ has_lockfile_path: !!args.lockfile_path,
331
+ });
332
+ try {
333
+ const result = await scanDependencies({
334
+ project_path: args.project_path,
335
+ lockfile_path: args.lockfile_path,
336
+ });
337
+ const durationMs = Date.now() - startMs;
338
+ const severityCounts = {};
339
+ for (const f of result.findings) {
340
+ severityCounts[f.severity] = (severityCounts[f.severity] ?? 0) + 1;
341
+ }
342
+ trackEvent("scan_completed", {
343
+ tool: "scan_dependencies",
344
+ lockfile: result.lockfile,
345
+ packages_scanned: result.packagesScanned,
346
+ status: result.status,
347
+ findings_count: result.findings.length,
348
+ severity_counts: severityCounts,
349
+ duration_ms: durationMs,
350
+ });
351
+ return {
352
+ content: [
353
+ {
354
+ type: "text",
355
+ text: formatDependencyResult(result),
356
+ },
357
+ ],
358
+ };
359
+ }
360
+ catch (err) {
361
+ const errorMsg = err instanceof Error ? err.message : String(err);
362
+ trackEvent("scan_completed", {
363
+ tool: "scan_dependencies",
364
+ status: "error",
365
+ error: errorMsg,
366
+ duration_ms: Date.now() - startMs,
367
+ });
368
+ return {
369
+ content: [
370
+ {
371
+ type: "text",
372
+ text: `## Kira-Lite Dependency Scan — Error\n\n**Error:** ${errorMsg}\n`,
373
+ },
374
+ ],
375
+ };
376
+ }
377
+ });
378
+ // === Format dependency scan results ===
379
+ function formatDependencyResult(result) {
380
+ let output = `## Kira-Lite Dependency Scan Results\n\n`;
381
+ output += `**Lockfile:** ${result.lockfile}\n`;
382
+ output += `**Packages scanned:** ${result.packagesScanned}\n`;
383
+ output += `**Vulnerable packages:** ${result.findings.length}\n`;
384
+ output += `**Summary:** ${result.summary}\n\n`;
385
+ if (result.findings.length === 0) {
386
+ output += `No known vulnerabilities found in dependencies.\n`;
387
+ return output;
388
+ }
389
+ output += `### Findings\n\n`;
390
+ for (const finding of result.findings) {
391
+ const severityTag = `[${finding.severity.toUpperCase()}]`;
392
+ output += `#### ${severityTag} ${finding.packageName}@${finding.installedVersion} — ${finding.title}\n`;
393
+ output += `- **Advisory:** ${finding.id}`;
394
+ if (finding.aliases.length > 0) {
395
+ output += ` (${finding.aliases.join(", ")})`;
396
+ }
397
+ output += `\n`;
398
+ output += `- **CWE:** ${finding.cwe}\n`;
399
+ if (finding.fixedVersion) {
400
+ output += `- **Fixed version:** ${finding.fixedVersion}\n`;
401
+ }
402
+ else {
403
+ output += `- **Fixed version:** No fix available yet\n`;
404
+ }
405
+ output += `- **Description:** ${finding.description}\n`;
406
+ output += `- **More info:** ${finding.advisoryUrl}\n`;
407
+ if (finding.fixedVersion) {
408
+ output += `- **Fix:** Upgrade ${finding.packageName} to >=${finding.fixedVersion}\n`;
409
+ }
410
+ output += `\n`;
411
+ }
412
+ output += `---\n`;
413
+ output += `**Action required:** Update vulnerable dependencies to their fixed versions. `;
414
+ output += `Run your package manager's update command to apply fixes.\n`;
415
+ return output;
416
+ }
417
+ // === Format scan results for AI consumption ===
418
+ function formatScanResult(result) {
419
+ let output = `## Kira-Lite Security Scan Results\n\n`;
420
+ output += `**Status:** ${result.status === "clean" ? "CLEAN" : "VULNERABILITIES FOUND"}\n`;
421
+ output += `**Summary:** ${result.summary}\n\n`;
422
+ if (result.findings.length === 0) {
423
+ output += `No security issues detected. Code is safe to write.\n`;
424
+ return output;
425
+ }
426
+ output += `### Findings\n\n`;
427
+ for (const finding of result.findings) {
428
+ const severityTag = finding.severity === "critical"
429
+ ? "[CRITICAL]"
430
+ : finding.severity === "high"
431
+ ? "[HIGH]"
432
+ : finding.severity === "medium"
433
+ ? "[MEDIUM]"
434
+ : "[LOW]";
435
+ output += `#### ${severityTag} ${finding.title}\n`;
436
+ output += `- **CWE:** ${finding.cwe}\n`;
437
+ output += `- **Line:** ${finding.line}\n`;
438
+ output += `- **Code:** \`${finding.snippet}\`\n`;
439
+ output += `- **Issue:** ${finding.description}\n`;
440
+ output += `- **Fix:** ${finding.fix}\n`;
441
+ if (finding.fixedCode) {
442
+ output += `- **Suggested fix:** \`${finding.fixedCode}\`\n`;
443
+ }
444
+ output += `\n`;
445
+ }
446
+ output += `---\n`;
447
+ output += `**Action required:** Fix all findings above before writing code to disk. Rewrite the code to address each vulnerability, then call scan_code again to verify.\n`;
448
+ return output;
449
+ }
450
+ // === Start server ===
451
+ async function main() {
452
+ await initTelemetry();
453
+ const transport = new StdioServerTransport();
454
+ await server.connect(transport);
455
+ console.error("Kira-Lite MCP server v0.1.3 running on stdio");
456
+ trackEvent("server_started", {
457
+ version: "0.1.3",
458
+ node_version: process.version,
459
+ platform: process.platform,
460
+ });
461
+ const shutdown = async () => {
462
+ await shutdownTelemetry();
463
+ };
464
+ process.on("beforeExit", shutdown);
465
+ process.on("SIGINT", async () => {
466
+ await shutdown();
467
+ process.exit(0);
468
+ });
469
+ process.on("SIGTERM", async () => {
470
+ await shutdown();
471
+ process.exit(0);
472
+ });
473
+ }
474
+ main().catch((err) => {
475
+ trackEvent("server_error", { error: String(err) });
476
+ console.error("Fatal error starting Kira-Lite MCP server:", err);
477
+ shutdownTelemetry().finally(() => process.exit(1));
478
+ });