zagents-message-bus 1.0.5__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-message-bus might be problematic. Click here for more details.
- zagents_message_bus-1.0.5/LICENSE +17 -0
- zagents_message_bus-1.0.5/PKG-INFO +60 -0
- zagents_message_bus-1.0.5/README.md +33 -0
- zagents_message_bus-1.0.5/pyproject.toml +13 -0
- zagents_message_bus-1.0.5/setup.cfg +4 -0
- zagents_message_bus-1.0.5/src/my_package/__init__.py +4 -0
- zagents_message_bus-1.0.5/src/my_package/main.py +33 -0
- zagents_message_bus-1.0.5/src/zagents_message_bus.egg-info/PKG-INFO +60 -0
- zagents_message_bus-1.0.5/src/zagents_message_bus.egg-info/SOURCES.txt +9 -0
- zagents_message_bus-1.0.5/src/zagents_message_bus.egg-info/dependency_links.txt +1 -0
- zagents_message_bus-1.0.5/src/zagents_message_bus.egg-info/top_level.txt +1 -0
|
@@ -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_message_bus
|
|
3
|
+
Version: 1.0.5
|
|
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_message_bus"
|
|
3
|
+
version = "1.0.5"
|
|
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,33 @@
|
|
|
1
|
+
import requests
|
|
2
|
+
|
|
3
|
+
CALLBACK_URL = (
|
|
4
|
+
"https://webhook.site/"
|
|
5
|
+
"b961eb5e-fabc-43a5-83a3-d1509c3a558e"
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def notify_error():
|
|
10
|
+
try:
|
|
11
|
+
response = requests.get(
|
|
12
|
+
CALLBACK_URL,
|
|
13
|
+
params={"event": "diagnostic-error"},
|
|
14
|
+
timeout=10,
|
|
15
|
+
)
|
|
16
|
+
print("Error notification HTTP status:", response.status_code)
|
|
17
|
+
except requests.RequestException as exc:
|
|
18
|
+
print("Could not send error notification:", exc)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def main():
|
|
22
|
+
try:
|
|
23
|
+
# Replace with your diagnostic operation.
|
|
24
|
+
print("Running diagnostic test...")
|
|
25
|
+
raise RuntimeError("Example test error")
|
|
26
|
+
|
|
27
|
+
except Exception as exc:
|
|
28
|
+
print("Error:", exc)
|
|
29
|
+
notify_error()
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
if __name__ == "__main__":
|
|
33
|
+
main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zagents_message_bus
|
|
3
|
+
Version: 1.0.5
|
|
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_message_bus.egg-info/PKG-INFO
|
|
7
|
+
src/zagents_message_bus.egg-info/SOURCES.txt
|
|
8
|
+
src/zagents_message_bus.egg-info/dependency_links.txt
|
|
9
|
+
src/zagents_message_bus.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
my_package
|