posthog 7.74.0
- Source
- https://github.com/posthog/posthog-python
- Tag scanned
posthog-v7.74.0- Compared with
posthog-v7.73.3(0 signals introduced since)- Files
- 435 scanned, 281 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 10 info
- Scan time
- 10.3 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 9 of 9 warn and critical signals; 9 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 flikely benign An example calculator tool evaluates a filtered arithmetic expression with eval.Reasoning
eval is applied to a user-supplied expression after a character check and a ^ to ** substitution, which is a calculator tool in an example. Eval on agent-controlled input is an unsafe pattern, but nothing suggests hidden or malicious intent.
-
info
warn→ info by reviewdynamic-executionexamples/example-ai-openai-agents/single_agent.py:29:23return return flikely benign An example single-agent calculator evaluates a filtered arithmetic expression with eval.Reasoning
Same calculator pattern as multi_agent.py: eval on a character-filtered arithmetic expression in an example file. Unsafe but not evidence of obfuscation or malicious intent.
-
= += 1likely benign Exception utility walks the call stack via sys._getframe to collect frames.Reasoning
sys._getframe in a loop with depth increments and a ValueError fallback is the standard way an exception reporter walks the stack. This is ordinary SDK behaviour.
-
) = # Encode side: our output is byte-identical to the shared wire format.dismissed A base64url-encoded session token fixture in a unit test.Reasoning
The base64 string is a fixed test fixture encoding a small JSON session object, and the surrounding comment describes a wire-format encode check. This is a test vector, not a hidden payload.
-
# zlib header =dismissed Test decompresses a captured zlib request body to verify its contents.Reasoning
zlib.decompress is used in a test to round-trip a captured request body and assert that the API key is absent. The test checks the payload rather than running an embedded one.
-
= returndismissed Test helper decompresses a gzip request body to inspect JSON.Reasoning
gzip.decompress is used in a test helper to parse a captured request body as JSON. This is a standard test assertion path.
-
=dismissed Test decompresses gzip request data and asserts on its JSON fields.Reasoning
gzip.decompress on captured request data followed by JSON assertions on batch and api_key. This is normal test verification of an SDK request.
-
info
warn→ info by reviewdecoder-decompress-payloadposthog/test/tracing/test_client_traces.py:60:23, = return , ,dismissed Tracing test helper decompresses a mocked POST body for assertions.Reasoning
gzip.decompress of a mocked session.post payload to compare against expected data. It is a test helper with no runtime payload execution.
-
assert == assert ==dismissed Transport test decompresses a mocked gzip body to compare with the expected payload.Reasoning
gzip.decompress of mocked request data compared against a fixed PAYLOAD. This is ordinary transport testing.
-
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.
&&