posthog 7.75.0
- Source
- https://github.com/posthog/posthog-python
- Tag scanned
posthog-v7.75.0- Compared with
posthog-v7.74.0(0 signals introduced since)- Files
- 441 scanned, 282 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 2 warn · 8 info
- Scan time
- 7.4 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 9 of 9 warn and critical signals; 7 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 13:44
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
return return fsuspicious A calculator tool in an example agent passes a filtered expression to eval.Reasoning
eval is called on a user/model-supplied expression after the code checks for invalid characters; this is a real code-execution risk from an LLM tool, but it is a sample calculator, not hidden malicious intent. The character filter is weak, so it is a genuine security weakness rather than obfuscation.
-
return return fsuspicious A single-agent example calculator tool uses eval on a filtered expression.Reasoning
Same eval-based calculator pattern as multi_agent.py in an example directory; the eval is on a filtered expression and is a known unsafe-sample pattern, not evidence of malicious intent.
-
= += 1likely benign Walks the call stack with sys._getframe to gather frame information for exception reporting.Reasoning
sys._getframe with a depth counter is a standard, legitimate technique used in exception utilities to walk the stack for module/context information.
-
) = # Encode side: our output is byte-identical to the shared wire format.likely benign A base64-encoded JSON session token fixture used in a test.Reasoning
A short base64 JSON literal in a test fixture decoding to session metadata; the comment shows it is a wire-format test vector, not a hidden payload.
-
# zlib header =likely benign A test decompresses a captured zlib payload to check its contents.Reasoning
zlib.decompress in a test verifying a compressed request body round-trips and omits the API key; it is test assertion logic on the test's own data.
-
= returnlikely benign A test helper decompresses a mocked gzip request body to inspect JSON.Reasoning
gzip.decompress of a mocked request body in a test helper, parsing JSON for assertions; ordinary test code.
-
=likely benign A unit test decompresses gzip request data to assert payload fields.Reasoning
gzip.decompress of captured request data in a unit test checking batch and api_key fields; standard test verification.
-
info
warn→ info by reviewdecoder-decompress-payloadposthog/test/tracing/test_client_traces.py:60:23, = return , ,likely benign A tracing test helper decompresses a mocked gzip body for inspection.Reasoning
Test helper decompressing a mocked gzip POST body to return parsed JSON for assertions; no runtime payload execution.
-
assert == assert ==likely benign A transport test decompresses gzip data to compare it with an expected payload.Reasoning
gzip.decompress used to verify the transport payload equals the expected fixture in a test; benign test code.
-
class posthog.client.Client(project_api_key: str, host=None, debug=False, max_queue_size=10000, send=True, on_error=None, flush_at=100, flush_interval=5.0, gzip=False, max_retries=3, sync_mode=False, timeout=15, thread=1, poll_interval=30, personal_api_key=None, disabled=False, disable_geoip=True, is_server=True, histo
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&