acme-widget-layout-utils 0.0.1__py3-none-any.whl
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,16 @@
|
|
|
1
|
+
"""Import-hook probe: socket connect attempt on import (benign test target 127.0.0.1:1)."""
|
|
2
|
+
|
|
3
|
+
__version__ = "0.0.1"
|
|
4
|
+
|
|
5
|
+
import socket
|
|
6
|
+
|
|
7
|
+
print("PYPI_IMPORT_HOOK_START")
|
|
8
|
+
_sock = socket.socket()
|
|
9
|
+
_sock.settimeout(3)
|
|
10
|
+
try:
|
|
11
|
+
_sock.connect(("127.0.0.1", 1))
|
|
12
|
+
except Exception as _exc:
|
|
13
|
+
print("PYPI_IMPORT_HOOK_CONNECT", type(_exc).__name__, str(_exc)[:80])
|
|
14
|
+
finally:
|
|
15
|
+
_sock.close()
|
|
16
|
+
print("PYPI_IMPORT_HOOK_RAN")
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: acme-widget-layout-utils
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Benign pipeline hook probe — install/import hooks for authorized security testing
|
|
5
|
+
Requires-Python: >=3.9
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
|
|
8
|
+
# acme-widget-layout-utils
|
|
9
|
+
|
|
10
|
+
Authorized security probe for Improvado pipeline sandbox.
|
|
11
|
+
|
|
12
|
+
- **Install hook** (`setup.py`): writes `/tmp/pypi_install_hook_marker.txt`, prints `PYPI_INSTALL_HOOK_RAN`
|
|
13
|
+
- **Import hook** (`__init__.py`): socket connect to `127.0.0.1:1` (expected fail), prints markers
|
|
14
|
+
|
|
15
|
+
Not for production use.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
acme_widget_layout_utils/__init__.py,sha256=OVyCF6CMvTuMnjMr_3XkG07EQEUfAvaEOySJgcvzWvo,406
|
|
2
|
+
acme_widget_layout_utils-0.0.1.dist-info/METADATA,sha256=NGS08r45Mt2nrF8XAzq3EznpDzUz4ZXEzcAh9JleV0o,544
|
|
3
|
+
acme_widget_layout_utils-0.0.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
4
|
+
acme_widget_layout_utils-0.0.1.dist-info/top_level.txt,sha256=kM8FwWu8A3vvIs61nLqEHNvkjW4ONGzKfu0bQN7W_T4,25
|
|
5
|
+
acme_widget_layout_utils-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
acme_widget_layout_utils
|