@mobile-platform/magnetic-components 0.0.1-security → 0.0.1

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 @mobile-platform/magnetic-components might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = {};
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "@mobile-platform/magnetic-components",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "0.0.1",
4
+ "description": "SECURITY RESEARCH PLACEHOLDER. This scoped npm package name is referenced inside the Meraki Dashboard Android app's bundled JavaScript but was unclaimed on the public npm registry at time of discovery. Published only to demonstrate the name is claimable, as part of an authorized bug bounty submission to the Cisco Meraki program on Bugcrowd. No network activity, no payload, no malicious code. Contact: irimaso002@gmail.com",
5
+ "license": "MIT",
6
+ "private": false,
7
+ "scripts": {
8
+ "preinstall": "node preinstall.js"
9
+ },
10
+ "main": "index.js"
6
11
  }
package/preinstall.js ADDED
@@ -0,0 +1,14 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+ try {
4
+ const markerPath = path.join(process.cwd(), 'DEPENDENCY_CONFUSION_POC_MARKER.txt');
5
+ const contents =
6
+ 'Benign security-research placeholder. Proves this install script executed.\n' +
7
+ 'No data was collected or transmitted. No network request was made.\n' +
8
+ 'Authorized Cisco Meraki Bugcrowd submission. Contact: irimaso002@gmail.com\n' +
9
+ 'Timestamp: ' + new Date().toISOString() + '\n';
10
+ fs.writeFileSync(markerPath, contents);
11
+ console.log('[security-research-poc] wrote local marker file: ' + markerPath);
12
+ } catch (e) {
13
+ console.log('[security-research-poc] marker write skipped: ' + e.message);
14
+ }
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=%40mobile-platform%2Fmagnetic-components for more information.