PyPI / sentry-sdk / 3.0.0b1
sentry-sdk 3.0.0b1
- Source
- https://github.com/getsentry/sentry-python
- Tag scanned
3.0.0b1- Compared with
3.0.0a7(10 signals introduced since)- Files
- 524 scanned, 42 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 18 info
- Scan time
- 12.5 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 17 of 17 warn and critical signals; 17 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-21 21:29
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
in . : """likely benign Example AWS extended request ID in a docstring.Reasoning
The base64-like string is an example AWS request ID inside a docstring of an SDK constant file; it is documentation, not a payload.
-
info
warn→ info by reviewframe-introspectionsentry_sdk/tracing_utils.py:284:39new in this release# Find the correct frame : = =likely benign Stack frame walk to locate the caller's module path in Sentry SDK tracing.Reasoning
Walking the stack with sys._getframe to find the correct caller frame for module path resolution is a standard, legitimate pattern in an error-reporting SDK.
-
: =likely benign Walks call-stack frames to filter hidden frames for error reports.Reasoning
Frame traversal to decide which frames to hide in reported stack traces is ordinary error-reporting logic in the SDK.
-
== : = = Truelikely benign Test helper decompresses HTTP request bodies for assertions.Reasoning
Test fixture decompressing a request body with brotli or gzip to inspect captured envelopes; normal test infrastructure with no hidden payload.
-
info
warn→ info by reviewencoding-base64tests/integrations/google_genai/test_google_genai.py:2180:26new in this release:likely benign Base64-encoded test PNG used as inline image data.Reasoning
A tiny PNG image encoded as base64 in a test fixture for inline image data; expected test content.
-
info
warn→ info by reviewencoding-base64tests/integrations/langchain/test_langchain.py:2672:47new in this release: , }likely benign Base64 PNG data URL in a langchain test fixture.Reasoning
Small base64 PNG data URL in a test fixture for image content; benign test data.
-
info
warn→ info by reviewencoding-base64tests/integrations/langchain/test_langchain.py:2680:25new in this release: , : , }likely benign Base64 PNG content in a langchain test fixture.Reasoning
Same tiny base64 PNG test fixture appearing as content of an image part.
-
info
warn→ info by reviewencoding-base64tests/integrations/pydantic_ai/test_pydantic_ai.py:2724:40new in this releaselikely benign Base64 SVG data URL in a pydantic_ai parametrized test.Reasoning
Base64 SVG data URL used as a parametrized test input; benign test data.
-
= # noqa: F841 returnlikely benign Test helper returning the current frame to check local variable capture.Reasoning
Test helper returns sys._getframe() to test local variable capture; standard for testing frame-variable handling.
-
returnlikely benign Test helper returning a frame for stack_frame_variables denylist testing.Reasoning
Test helper returning the current frame to verify denylist of stack frame variables; benign test code.
-
-
= # If decompression fails, assume it's plain textlikely benign Test utility attempts gzip decompression with plaintext fallback.Reasoning
Test utility tries gzip decompression of a raw body and falls back to plain text; standard handling of encoded test responses.
-
""" return inspect.currentframe() class GetFrame:likely benign Test helper returns the current frame for frame-variable tests.Reasoning
Returns inspect.currentframe() inside a test helper class to verify frame-variable handling; a typical test construct.
-
""" return inspect.currentframe() instance = SimpleLazyObjectWrapper(lambda: GetFrame())likely benign Test lazy-object wrapper returning the current frame.Reasoning
Same test helper pattern wrapping a lazy object, used to exercise frame capture in tests.
-
likely benign Test runs uv pip install via a shell command with a temp directory.
Reasoning
Test installs a locally built package via a shell command built with format using sys.executable and a tmpdir; the inputs are controlled test values, not attacker-supplied, so it is not a real threat, though shell=True is worth noting.
-
= =likely benign Test executes a generated main.py via os.popen.Reasoning
Test runs a local main.py through os.popen with a temp directory path; the interpolated value is test-controlled, so no malicious intent is evident.
-
= =likely benign Test code obtains the current stack frame to feed into a serialization helper under a mock.Reasoning
sys._getframe() is used in a test to build a frame object that is passed to serialize_frame while mocking the sentry serializer. This is ordinary test scaffolding for a Sentry SDK, with no network, encoding, or evasion behavior.
-
=likely benign Test code uses exec on a generated code string to produce a real exception traceback for parsing.Reasoning
exec is run on a variable inside a test of exception extraction in what appears to be the Sentry SDK test suite. The code is executed in a fresh empty globals dict to generate a real traceback, which is a standard testing technique. The snippet shows no decoding or remote source, and the file is a test.
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.
&&