PyPI / proto-plus / 1.29.0

proto-plus 1.29.0

Source
https://github.com/googleapis/google-cloud-python
Tag scanned
proto-plus-v1.29.0
Directory
packages/proto-plus (only this part of the repository was scanned)
Compared with
proto-plus-v1.28.4 (0 signals introduced since)
Files
88 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.4 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.1.0
Scanned (UTC)
2026-10-22 01:52

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review frame-introspection packages/proto-plus/tests/test_modules.py:98:13

    `inspect.currentframe` — call-stack frame introspection (ast pass, confidence 0.70)

        # getattr, this is reasonably easy to shim over.
        frame = inspect.currentframe()
        with mock.patch.object(inspect, "getmodule") as getmodule:
            getmodule.side_effect = lambda *a: View(frame.f_locals)
    likely benign LLM, confidence 0.93 Test code that uses inspect.currentframe() inside a mock.patch to shim inspect.getmodule for test purposes.
    Reasoning

    The snippet is a test helper that captures the current frame via inspect.currentframe() to build a view of local variables, then patches inspect.getmodule with mock.patch.object. This is a standard testing technique for mocking introspection behavior; the comment above it explains the purpose. No network, execution of fetched content, or concealment is present, and the file is a test module.

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.

cargo install disclude --version 4.1.0
git clone https://github.com/googleapis/google-cloud-python google-cloud-python && cd google-cloud-python
git checkout proto-plus-v1.29.0
disclude scan --severity info --diff proto-plus-v1.28.4 packages/proto-plus