posthog 7.75.8
- Source
- https://github.com/posthog/posthog-python
- Artifact scanned
posthog-7.75.8-py3-none-any.whl- Compared with
posthog-7.75.7-py3-none-any.whl(0 signals introduced since)- Files
- 261 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 7 info
- Scan time
- 7.6 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 7 of 7 warn and critical signals; 7 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 16:43
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= += 1likely benign Walks the call stack with sys._getframe inside exception-reporting utilities.Reasoning
The loop calls sys._getframe(depth) with incrementing depth and stops on ValueError, the standard way to walk the call stack to a frame when building exception context. It is ordinary introspection in an SDK's exception-reporting code, with no execution, network, or process spawning nearby.
-
) = # Encode side: our output is byte-identical to the shared wire format.likely benign A base64url-encoded JSON session-token test fixture.Reasoning
The string is a base64url-encoded JSON session fixture (decodes to fields like sid, cn, cv, pv), assigned in a test and followed by a comment about checking encoder output against a shared wire format. It is test data for token encoding, not a hidden payload.
-
# zlib header =likely benign Test decompresses a captured mock request body to check its contents.Reasoning
zlib.decompress is applied to a request body captured from a mocked HTTP call, and the test asserts the API key is absent from the decoded JSON. This is verification of outbound payload content in a unit test, not runtime decoding of an embedded payload.
-
= returnlikely benign Test helper gunzips a mocked request body to parse its JSON.Reasoning
gzip.decompress is applied to the 'data' kwarg of a mocked POST so the test can parse the JSON body. This is a test helper decoding captured traffic, with no dynamic execution or dropper behavior.
-
=likely benign Test gunzips captured request data to assert its batch and API key fields.Reasoning
gzip.decompress decodes request data captured by the test, and the test then asserts on batch contents and the API key. This is ordinary test verification of the SDK's compressed request format.
-
info
warn→ info by reviewdecoder-decompress-payloadposthog/test/tracing/test_client_traces.py:60:23, = return , ,likely benign Test helper gunzips a mocked trace export body for assertions.Reasoning
The helper gunzips kwargs['data'] from a mocked session.post call and returns parsed JSON for assertions. It is test-only plumbing for checking the trace export payload.
-
assert == assert ==likely benign Transport test gunzips the mocked request body and compares it to an expected payload.Reasoning
gzip.decompress is applied to a mocked request's data and compared against an expected PAYLOAD constant. This is a transport unit test verifying compression round-trips correctly.
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.
|