apple-internal-security-audit 1.0.2 → 1.0.4
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.
- package/README.md +5 -3
- package/index.js +7 -3
- package/package.json +6 -3
- package/postinstall.js +6 -3
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# apple-internal-security-audit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Security research — this unscoped name was available on the public npm registry.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
If your build resolved this package, you were likely looking for a Apple internal security package. The scoped equivalent may be `@apple/internal-security-audit`, served from Apple's private registry.
|
|
6
|
+
|
|
7
|
+
Check your `.npmrc` for scoped registry configuration:
|
|
6
8
|
|
|
7
9
|
```
|
|
8
10
|
@apple:registry=https://your-private-registry/
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
No files are read, no data is sent anywhere. This
|
|
13
|
+
No files are read, no data is sent anywhere. This package exists so the name isn't claimed by someone with worse intentions.
|
|
12
14
|
|
|
13
15
|
— @merrickhare (X / Discord)
|
package/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
console.log('\n' + '='.repeat(56));
|
|
2
|
-
console.log('
|
|
3
|
-
console.log('
|
|
3
|
+
console.log('Security research —');
|
|
4
|
+
console.log('\x1b[1mapple-internal-security-audit\x1b[0m (unscoped) was available on npm.');
|
|
4
5
|
console.log('');
|
|
5
|
-
console.log('If you
|
|
6
|
+
console.log('If you were looking for a Apple internal security package,');
|
|
7
|
+
console.log('the scoped equivalent may be:');
|
|
8
|
+
console.log(' \x1b[1m@apple/internal-security-audit\x1b[0m');
|
|
6
9
|
console.log('');
|
|
10
|
+
console.log('Check your .npmrc:');
|
|
7
11
|
console.log(' \x1b[32m@apple:registry=https://your-private-registry/\x1b[0m');
|
|
8
12
|
console.log('');
|
|
9
13
|
console.log('No files are read. No data goes anywhere.');
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-internal-security-audit",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Security research — unscoped name available on npm. See @merrickhare on X/Discord.",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"apple-internal-security-audit": "index.js"
|
|
8
|
+
},
|
|
6
9
|
"scripts": {
|
|
7
10
|
"postinstall": "node postinstall.js"
|
|
8
11
|
},
|
|
9
|
-
"keywords": ["apple", "registry-configuration"],
|
|
12
|
+
"keywords": ["security-research", "apple", "registry-configuration"],
|
|
10
13
|
"license": "MIT"
|
|
11
14
|
}
|
package/postinstall.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
console.warn('\n' + '='.repeat(56));
|
|
2
|
-
console.warn('
|
|
3
|
-
console.warn('
|
|
2
|
+
console.warn('Security research —');
|
|
3
|
+
console.warn('\x1b[1mapple-internal-security-audit\x1b[0m (unscoped) was available on npm.');
|
|
4
4
|
console.warn('');
|
|
5
|
-
console.warn('If you
|
|
5
|
+
console.warn('If you were looking for a Apple internal security package,');
|
|
6
|
+
console.warn('the scoped equivalent may be:');
|
|
7
|
+
console.warn(' \x1b[1m@apple/internal-security-audit\x1b[0m');
|
|
6
8
|
console.warn('');
|
|
9
|
+
console.warn('Check your .npmrc:');
|
|
7
10
|
console.warn(' \x1b[32m@apple:registry=https://your-private-registry/\x1b[0m');
|
|
8
11
|
console.warn('');
|
|
9
12
|
console.warn('No files are read. No data goes anywhere.');
|