anyio 4.15.1
- Source
- https://github.com/agronholm/anyio
- Tag scanned
4.15.1- Compared with
4.15.0(0 signals introduced since)- Files
- 105 scanned, 3 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 7 info
- Scan time
- 6.3 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 7 of 7 warn and critical signals; 7 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-21 21:04
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= . = = +likely benign Caller-globals access inside anyio's lazy-import helper.Reasoning
sys._getframe(1).f_globals is the standard technique for lazy-import installers that set module-level __getattr__ in the caller's namespace. Flagged only because the file also contains exec/eval-like shape; the context is a well-known anyio utility with no network, encoding, or payload behavior.
-
= . = + dellikely benign Frame globals access used to fix package names in anyio's lazy importer.Reasoning
Retrieves caller globals to rewrite package names and delete a helper function reference, a normal cleanup pattern in lazy-import code. No malicious indicators.
-
= . = dellikely benign Frame globals access used to register deprecated aliases in anyio.Reasoning
Caller globals used to install deprecated aliases and remove the helper name. Standard module-management code in a legitimate library.
-
= assert : =likely benign Parses a module's source file into an AST for static inspection.Reasoning
compile with ast.PyCF_ONLY_AST parses a module's source into an AST for static analysis of imports (for lazy import checking). It does not execute the code, so the non-literal argument is expected here.
-
=likely benign Compiles a bootstrap script run in a subinterpreter for anyio's to_interpreter feature.Reasoning
compile of a triple-quoted string containing code for running in a subinterpreter via _interpqueues. This is a legitimate way to bootstrap a subinterpreter worker; the pickle import is for passing data between interpreters. The snippet shows no encoded blob or download, so the multi-stage dropper reading is weak.
-
return >= :likely benign Test helper that retrieves a generator frame to verify no lingering references.Reasoning
Test helper returning the generator frame reference to check for leaked references in tests. Standard test utility for garbage-collection checks.
-
returnlikely benign Test helper capturing a frame to check for reference leaks.Reasoning
Test helper returning the current frame to check reference cycles in tests. Standard testing practice with no malicious behavior.
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.
&&