@offgridsec/kira-lite-mcp 0.1.6 → 0.1.7
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/INSTALL.md +11 -14
- package/README.md +15 -14
- package/dist/config.js +1 -1
- package/dist/core/engines/kira-core.js +1 -1
- package/dist/core/engines/osv.js +1 -1
- package/dist/core/engines/runner.js +1 -1
- package/dist/core/scanner.js +1 -1
- package/dist/core/utils.js +1 -1
- package/dist/index.js +1 -1
- package/dist/rules/c-cpp.js +1 -1
- package/dist/rules/cicd.js +1 -1
- package/dist/rules/csharp.js +1 -1
- package/dist/rules/docker.js +1 -1
- package/dist/rules/go.js +1 -1
- package/dist/rules/index.js +1 -1
- package/dist/rules/java.js +1 -1
- package/dist/rules/javascript-extended.js +1 -1
- package/dist/rules/javascript.js +1 -1
- package/dist/rules/kubernetes.js +1 -1
- package/dist/rules/php.js +1 -1
- package/dist/rules/python-extended.js +1 -1
- package/dist/rules/python.js +1 -1
- package/dist/rules/ruby.js +1 -1
- package/dist/rules/secrets-extended.js +1 -1
- package/dist/rules/secrets.js +1 -1
- package/dist/rules/shell.js +1 -1
- package/dist/rules/terraform.js +1 -1
- package/dist/telemetry.js +1 -1
- package/dist/tools/fix-vulnerability.js +1 -1
- package/dist/tools/scan-code.js +1 -1
- package/dist/tools/scan-dependencies.js +1 -1
- package/dist/tools/scan-diff.js +1 -1
- package/dist/tools/scan-file.js +1 -1
- package/package.json +1 -1
package/dist/tools/scan-file.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4f2bfc,_0x134c75){const _0x24aa6b={_0x564178:0xac,_0x440cae:0x3e3,_0x170f84:0x70,_0x183f4c:0xac,_0x381d83:0x40a,_0x49f9ae:0x3f3},_0x31b246={_0x3483fc:0x29b},_0x44f5fc={_0x1e8067:0xe0};function _0x51a3c4(_0x5a5244,_0x320e89){return _0x3f2e(_0x320e89- -_0x44f5fc._0x1e8067,_0x5a5244);}const _0x4daa69=_0x4f2bfc();function _0x4172e3(_0x21c9c6,_0x5c3f9b){return _0x3f2e(_0x5c3f9b-_0x31b246._0x3483fc,_0x21c9c6);}while(!![]){try{const _0x581c3b=-parseInt(_0x51a3c4(_0x24aa6b._0x564178,0x8b))/(0x21fd+-0x841+-0x1*0x19bb)*(parseInt(_0x51a3c4(0x67,0x6a))/(0x2*0x1236+-0x2293*0x1+0x3*-0x9d))+-parseInt(_0x4172e3(0x3c9,_0x24aa6b._0x440cae))/(-0x2*0x574+-0x1187+0x1c72)+parseInt(_0x4172e3(0x3ec,0x40a))/(0x3f6+-0x4e9*0x1+-0xf7*-0x1)+parseInt(_0x51a3c4(0x73,_0x24aa6b._0x170f84))/(-0x1180+-0x2701+0x5*0xb4e)+parseInt(_0x51a3c4(_0x24aa6b._0x183f4c,0x96))/(-0x1*-0x25d7+0x116d+-0x1*0x373e)+parseInt(_0x4172e3(_0x24aa6b._0x381d83,0x410))/(-0xcf7*-0x3+0x27*0xde+-0x122c*0x4)+-parseInt(_0x4172e3(0x3e2,_0x24aa6b._0x49f9ae))/(0xf03+0x10cc+0x65b*-0x5);if(_0x581c3b===_0x134c75)break;else _0x4daa69['push'](_0x4daa69['shift']());}catch(_0x20c330){_0x4daa69['push'](_0x4daa69['shift']());}}}(_0x1745,0x1e*-0x2691+0xb5a2f+-0x59e*-0x10));function _0x4afe7a(_0x48e457,_0x585f00){return _0x3f2e(_0x48e457- -0x26d,_0x585f00);}import{readFileSync}from'node:fs';import{KiraScanner}from'../core/scanner.js';const scanner=new KiraScanner();export async function scanFile(_0x200f04){const _0x42d125={_0x443065:0xad,_0x44c908:0xb4,_0x2f8d09:0xcb,_0x55df30:0xd9,_0x5433bd:0x274,_0x2458a0:0x293,_0x18a149:0xa6,_0x293f49:0xd4,_0x208355:0xd3,_0x33d8cd:0xc5,_0x353503:0xc1,_0x5a6f8c:0x258,_0x25c2a3:0x26f,_0x1c5ef2:0x295,_0x503108:0xd1,_0x1dab56:0x267,_0x1886d5:0xbf,_0x121ee4:0x9c,_0x10b0b5:0xaf,_0x5d403b:0x269,_0x583144:0x24e,_0x44cbda:0x279,_0x1e11a1:0x263,_0x53c037:0xd1,_0x784f5d:0x27e,_0x5075f4:0x260},_0x1d1f67={_0x4bef72:0x114};function _0x59a87f(_0x4d3f37,_0x50d51a){return _0x3f2e(_0x4d3f37-_0x1d1f67._0x4bef72,_0x50d51a);}const _0x10562f={'PGXYr':function(_0x40bb4a,_0x347401,_0x10083f){return _0x40bb4a(_0x347401,_0x10083f);},'eZBcD':function(_0x2b626f,_0x26f0ec){return _0x2b626f instanceof _0x26f0ec;},'DiZfm':function(_0xdd232e,_0x3f0d2a){return _0xdd232e(_0x3f0d2a);},'jazrd':_0x1bd0fe(-_0x42d125._0x443065,-_0x42d125._0x44c908)+'wn'};let _0x1c00b1;try{_0x1c00b1=_0x10562f[_0x1bd0fe(-0x96,-0x75)](readFileSync,_0x200f04[_0x59a87f(0x27d,0x29a)+_0x1bd0fe(-0xbb,-0xdd)],_0x1bd0fe(-_0x42d125._0x2f8d09,-0xe8));}catch(_0x3c299e){const _0x2ad5ce=_0x10562f[_0x1bd0fe(-0xce,-_0x42d125._0x55df30)](_0x3c299e,Error)?_0x3c299e[_0x59a87f(_0x42d125._0x5433bd,_0x42d125._0x2458a0)+'ge']:_0x10562f['DiZfm'](String,_0x3c299e),_0x50b28e={};return _0x50b28e[_0x1bd0fe(-_0x42d125._0x18a149,-0xb5)+'s']=_0x1bd0fe(-_0x42d125._0x293f49,-_0x42d125._0x208355),_0x50b28e[_0x59a87f(0x269,0x24d)+_0x1bd0fe(-0xaf,-0xd2)]=_0x10562f[_0x1bd0fe(-_0x42d125._0x33d8cd,-_0x42d125._0x353503)],_0x50b28e[_0x59a87f(_0x42d125._0x5a6f8c,_0x42d125._0x25c2a3)+'edLin'+'es']=0x0,_0x50b28e['findi'+_0x1bd0fe(-0xc6,-0xd4)]=[],_0x50b28e[_0x59a87f(0x273,0x270)+'ry']=_0x59a87f(_0x42d125._0x1c5ef2,0x296)+_0x59a87f(0x277,0x28c)+_0x59a87f(0x287,0x299)+_0x1bd0fe(-_0x42d125._0x503108,-0xdc)+_0x2ad5ce,_0x50b28e['engin'+'es']=[],_0x50b28e;}const _0x1112b0={};_0x1112b0[_0x59a87f(0x271,_0x42d125._0x1dab56)]=_0x1c00b1,_0x1112b0[_0x1bd0fe(-_0x42d125._0x1886d5,-_0x42d125._0x121ee4)+_0x1bd0fe(-_0x42d125._0x10b0b5,-0xb9)]=_0x200f04[_0x59a87f(_0x42d125._0x5d403b,_0x42d125._0x583144)+_0x59a87f(_0x42d125._0x44cbda,_0x42d125._0x1e11a1)],_0x1112b0[_0x1bd0fe(-0xb8,-_0x42d125._0x53c037)+_0x59a87f(_0x42d125._0x784f5d,_0x42d125._0x5075f4)]=_0x200f04['file_'+_0x59a87f(0x26d,0x27d)];function _0x1bd0fe(_0x3bb8ad,_0x14ccf9){return _0x3f2e(_0x3bb8ad- -0x214,_0x14ccf9);}return scanner['scan'](_0x1112b0);}const _0x4fa28e={};_0x4fa28e['type']=_0x4afe7a(-0x100,-0xe1)+'g',_0x4fa28e[_0x2fcaa4(0x2f7,0x2ea)+_0x4afe7a(-0x117,-0xf3)+'n']=_0x4afe7a(-0x107,-0x113)+_0x4afe7a(-0xfc,-0xea)+_0x4afe7a(-0xfb,-0xf6)+_0x2fcaa4(0x2d4,0x2d4)+_0x2fcaa4(0x2cd,0x2c6)+_0x2fcaa4(0x2fe,0x2f6)+_0x4afe7a(-0xe6,-0xd4);const _0x562a1f={};_0x562a1f['type']=_0x4afe7a(-0x100,-0x118)+'g',_0x562a1f[_0x4afe7a(-0xf5,-0xda)+_0x4afe7a(-0x117,-0x129)+'n']=_0x2fcaa4(0x2d9,0x2f4)+'ammin'+'g\x20lan'+'guage'+_0x2fcaa4(0x305,0x2f8)+_0x4afe7a(-0xf3,-0xfb)+'(auto'+_0x4afe7a(-0xee,-0xcd)+'cted\x20'+_0x4afe7a(-0xfd,-0x109)+_0x2fcaa4(0x30f,0x2f5)+_0x2fcaa4(0x2ea,0x2e6)+_0x4afe7a(-0x109,-0xf5)+_0x2fcaa4(0x2c0,0x2d0)+_0x4afe7a(-0x11c,-0x116)+')';const _0x4fb467={};function _0x1745(){const _0x442823=['BYb0Agu','ihjLywq','AwyGBM8','ywDL','qwjZB2W','Dw5RBM8','zM9Yihm','zMLSzv8','yw1L','mKLgrhfwtW','Axn0Aw4','C3rYAw4','C3rHDhu','mJa2mJiYmgLRswnxzW','zNjVBsa','DxrLiha','yxrOihq','Aw5Nigy','C2LVBIa','nty3otq3mw5JDMvJwG','mJKWmtC3nhbbuejHqG','CNrPzxm','zgvZy3i','Aw5WDxq','CMLKzsa','B2jQzwm','CMvXDwK','zsbVBIa','ueDywxi','lwrLDgu','u2nOzw0','rxjYB3i','uhjVz3i','zxH0zw4','ihrVihm','BgvZlG','ig92zxi','y2fU','y2XLyw4','DwLSDc0','ChjVCgu','AwXLoIa','C2nHBM4','CMvK','zvPcy0q','DhKGDNu','mJe5mJKZmuLYwxbtDa','DxrMltG','ndq0mdi2vfvgs21Q','q29Yzsa','zgLZAYa','BMfTzq','BMDZ','AMf6CMq','mZK0mJi0nu51yNP1yq','DMLKzwq','u2nHBIa','Bg5LCMe','igzPBgu','BgfUz3u','Axb0Aw8','AwvZihu','nZyYntq1nKLcBeL5Da','Cgf0Aa','yMLSAxq','s2LYys0','zMLSzw4','y29Kzq','DcbWCM8','C3vTBwe','BwvZC2e','C2LUzYa'];_0x1745=function(){return _0x442823;};return _0x1745();}_0x4fb467[_0x4afe7a(-0x104,-0xed)+'path']=_0x4fa28e,_0x4fb467[_0x4afe7a(-0x118,-0x13a)+_0x4afe7a(-0x108,-0xf7)]=_0x562a1f;const _0x489cc4={};_0x489cc4['type']=_0x2fcaa4(0x2f6,0x2ed)+'t',_0x489cc4[_0x2fcaa4(0x2b6,0x2b4)+_0x2fcaa4(0x30a,0x2e9)]=_0x4fb467,_0x489cc4[_0x2fcaa4(0x30b,0x2ee)+_0x2fcaa4(0x2d5,0x2b7)]=['file_'+_0x2fcaa4(0x2e1,0x2cb)];const _0x40e456={};function _0x2fcaa4(_0x403f7c,_0x4df80a){return _0x3f2e(_0x4df80a-0x172,_0x403f7c);}function _0x3f2e(_0x1b36b6,_0x15da65){_0x1b36b6=_0x1b36b6-(-0x19c0+0x94*0x7+0x16f4);const _0x87dfb3=_0x1745();let _0x31d7b4=_0x87dfb3[_0x1b36b6];if(_0x3f2e['FvMLKI']===undefined){var _0x4fa28e=function(_0x40e456){const _0x200f04='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x10562f='',_0x1c00b1='';for(let _0x1112b0=-0x1*0x5d5+-0x79*0x38+0x204d,_0x40bb4a,_0x347401,_0x10083f=-0x1d25+-0x2044+0x3d69;_0x347401=_0x40e456['charAt'](_0x10083f++);~_0x347401&&(_0x40bb4a=_0x1112b0%(0x236*-0x5+-0x565+0x57d*0x3)?_0x40bb4a*(0x1*0x111d+0x3b9*-0x3+-0x5b2)+_0x347401:_0x347401,_0x1112b0++%(0x24d7+-0xca3+0x810*-0x3))?_0x10562f+=String['fromCharCode'](0x99*0x27+-0x24c8+0xe78&_0x40bb4a>>(-(0x24df+0x1501+0x6*-0x9a5)*_0x1112b0&0x98*0x10+0x1*0x18cd+0x19*-0x15f)):0x1e47+0x2*-0x1271+0x69b*0x1){_0x347401=_0x200f04['indexOf'](_0x347401);}for(let _0x2b626f=0xc8b*-0x1+0x1cf8+0x1*-0x106d,_0x26f0ec=_0x10562f['length'];_0x2b626f<_0x26f0ec;_0x2b626f++){_0x1c00b1+='%'+('00'+_0x10562f['charCodeAt'](_0x2b626f)['toString'](-0x22f6+0x483+-0x6b*-0x49))['slice'](-(0x264b+0x13*-0x1a5+-0x70a));}return decodeURIComponent(_0x1c00b1);};_0x3f2e['buIwLg']=_0x4fa28e,_0x3f2e['LOQIJH']={},_0x3f2e['FvMLKI']=!![];}const _0x562a1f=_0x87dfb3[-0x186d+-0x270c+0x3f79],_0x4fb467=_0x1b36b6+_0x562a1f,_0x489cc4=_0x3f2e['LOQIJH'][_0x4fb467];return!_0x489cc4?(_0x31d7b4=_0x3f2e['buIwLg'](_0x31d7b4),_0x3f2e['LOQIJH'][_0x4fb467]=_0x31d7b4):_0x31d7b4=_0x489cc4,_0x31d7b4;}_0x40e456[_0x4afe7a(-0x120,-0x12d)]='scan_'+'file',_0x40e456[_0x4afe7a(-0xf5,-0x114)+'iptio'+'n']=_0x4afe7a(-0x11b,-0x111)+'an\x20ex'+_0x2fcaa4(0x2be,0x2de)+'g\x20fil'+_0x4afe7a(-0xf0,-0xe9)+_0x2fcaa4(0x2ac,0x2be)+_0x2fcaa4(0x2f5,0x2da)+'ecuri'+_0x2fcaa4(0x2c5,0x2b9)+_0x2fcaa4(0x2c1,0x2c5)+_0x4afe7a(-0x113,-0x10e)+_0x2fcaa4(0x2e4,0x2c9)+_0x4afe7a(-0x10c,-0xe9)+_0x4afe7a(-0x112,-0x127)+_0x2fcaa4(0x2b7,0x2bd)+'and\x20b'+_0x4afe7a(-0x12c,-0x113)+'in\x20ru'+_0x4afe7a(-0xe8,-0xd6),_0x40e456[_0x2fcaa4(0x2d9,0x2eb)+_0x2fcaa4(0x2f6,0x2f2)+'a']=_0x489cc4;export const scanFileToolDefinition=_0x40e456;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@offgridsec/kira-lite-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Kira-Lite MCP Server — Real-time security scanning for AI coding assistants",
|
|
5
5
|
"author": "Offgrid Security <contact@offgridsec.com>",
|
|
6
6
|
"homepage": "https://offgridsec.com",
|