anthropic 2.0.0
- Source
- https://github.com/anthropics/anthropic-sdk-python
- Tag scanned
v2.0.0- Compared with
v1.17.0(0 signals introduced since)- Files
- 2708 scanned, 33 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 5 info
- Scan time
- 7.4 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 5 of 5 warn and critical signals; 5 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-21 21:14
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
# dont_inherit: this module's `from __future__ import annotations` would turn the annotations into strings. =likely benign Test helper that execs a provider source string to build a TokenCache fixture.Reasoning
exec of compiled source inside a test file, with a comment explaining dont_inherit to preserve annotations for a test provider. The source is likely a test fixture string generated in-file; a legitimate test-harness pattern, though exec on a variable warrants a glance at where source comes from.
-
# dont_inherit: this module's `from __future__ import annotations` would turn the annotations into strings. =likely benign compile call feeding the test fixture exec.Reasoning
Companion compile call for the same exec in a test; same context and explanation about annotation handling.
-
= assert is not Nonelikely benign Test utility retrieving the caller's name via stack frame introspection.Reasoning
inspect.currentframe used to determine caller name for a test utility with stacklevel; standard introspection for logging or test helpers and not evasive.
-
# dont_inherit: this module's `from __future__ import annotations` would turn the annotations into strings. =likely benign Reflection test that execs a function definition to check signature handling.Reasoning
exec of compiled function source in a reflection test, with explicit comment on dont_inherit for annotation semantics. Testing signature extraction without evaluating annotations; benign test scaffolding.
-
# dont_inherit: this module's `from __future__ import annotations` would turn the annotations into strings. =likely benign compile call used to build a test function for signature checks.Reasoning
compile companion to the test exec with the same benign rationale.
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.
&&