PyPI / websockets / 17.3
websockets 17.3
- Source
- https://github.com/python-websockets/websockets
- Artifact scanned
websockets-17.3-py3-none-any.whl- Compared with
websockets-17.2-py3-none-any.whl(0 signals introduced since)- Files
- 56 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 3 info
- Scan time
- 5.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 02:27
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
likely benign A Windows-only os.system("") call that enables ANSI colour output in the console.
Reasoning
The call is os.system("") guarded by a win32 check. An empty command is the well-known trick for enabling ANSI escape-sequence processing in the Windows console. It runs no payload and takes no external input.
-
info
warn→ info by reviewdecoder-decompress-payloadwebsockets/extensions/permessage_deflate.py:72:28=dismissed Creates a raw-deflate decompressor for WebSocket permessage-deflate message decompression.Reasoning
zlib.decompressobj with negative wbits is how RFC 7692 permessage-deflate decodes compressed WebSocket frames. It is the core of the extension and operates on peer traffic as the protocol requires, not on an embedded payload.
-
assert < , = returnlikely benign A relative-import helper that calls __import__ on a module path derived from package names.Reasoning
This is a small helper that resolves a name from a (possibly relative) module path, passing the level argument through to __import__. The module string is derived from the caller's own package names, not from untrusted input. The critical severity overstates a common stdlib-style import shim.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|