posthog 7.75.3
- Source
- https://github.com/posthog/posthog-python
- Tag scanned
posthog-v7.75.3- Compared with
posthog-v7.75.2(0 signals introduced since)- Files
- 442 scanned, 285 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 2 warn · 8 info
- Scan time
- 7.7 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:45
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
return return fsuspicious Example AI agent calculator tool that evaluates a math expression with eval after character filtering.Reasoning
eval on a user-influenced expression is a genuine code-execution risk, but this is an example calculator tool; the code first validates characters (the snippet shows an invalid-characters return), and the context is a demo. Still unsafe pattern, so suspicious rather than malicious.
-
return return fsuspicious Example single-agent calculator tool using eval on a sanitized arithmetic expression.Reasoning
Identical to multi_agent.py: eval of a filtered arithmetic expression in an example agent. Unsafe practice in a demo, not evidence of malicious intent.
-
= += 1likely benign Stack-frame walk in PostHog exception utilities to collect traceback context.Reasoning
sys._getframe is standard for stack walking in exception reporting utilities; the loop with ValueError handling is typical frame-depth probing with no payload or evasion.
-
) = # Encode side: our output is byte-identical to the shared wire format.likely benign Test fixture containing a base64-encoded session token for wire-format comparison.Reasoning
A base64url-looking string in a test fixture encoding a JSON session token with readable fields (sid, cn, cv, pv); the test comments indicate wire-format compatibility checks. Test data, not obfuscation.
-
# zlib header =likely benign Unit test decompressing and checking a captured zlib-compressed request body.Reasoning
Test asserting zlib round-trip of a captured request body to verify api_key is absent; decompressing a payload the test itself produced. Not runtime malicious payload execution.
-
= returnlikely benign Test helper that gunzips and parses a mocked HTTP request body.Reasoning
Test helper decompressing gzip request bodies captured from mocks to assert JSON contents. Routine test code.
-
=likely benign Unit test verifying gzip-compressed request payload contents.Reasoning
Test asserting on gzip-decompressed batch body fields such as api_key. Ordinary test verification of request encoding.
-
info
warn→ info by reviewdecoder-decompress-payloadposthog/test/tracing/test_client_traces.py:60:23, = return , ,likely benign Tracing test helper decompressing gzip body from a mocked POST call.Reasoning
Test helper gunzipping mocked session.post data to inspect the sent JSON. Routine test code with no runtime payload execution.
-
assert == assert ==likely benign Tracing transport test checking gzip-decompressed payload equality.Reasoning
Test asserting the gunzipped request body equals the expected payload. Ordinary 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.
&&