networkx 3.7
- Source
- https://github.com/networkx/networkx
- Tag scanned
networkx-3.7- Compared with
networkx-3.6.1(0 signals introduced since)- Files
- 907 scanned, 48 skipped (binary, oversized, or unrecognised)
- Signals
- 1 critical · 0 warn · 12 info
- Scan time
- 13.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 10 of 10 warn and critical signals; 9 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 03:22
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
# print(cmd) = # print(result)likely benign Documentation helper that runs a shell command built at runtime and reads its output.Reasoning
A maintainer doc script runs os.popen on a variable command, which is a shell invocation with a runtime-determined string. The file is a documentation helper, and the commented-out print lines suggest debugging of a fixed report command. The command source is not visible, so some doubt remains.
-
likely benign IPA transcription of a contributor's name in a release changelog.
Reasoning
The flagged token is an IPA phonetic transcription of a researcher's name in a release-notes contributor list. Mixed Latin and IPA characters are expected in that context and carry no execution or hiding behaviour.
-
likely benign Second fragment of the same IPA name transcription in the release notes.
Reasoning
The 'skʲ' part of the same IPA pronunciation annotation next to a contributor name. It is ordinary documentation text, not an identifier used by code.
-
-------------------------- : /- -------------------------- -
# Visualize the graph -
, = assert == . assert ==likely benign Test helper evaluating a graph-name string from test parameters.Reasoning
In a test, eval parses a graph name taken from parametrized test data to fetch a graph object. This is a common test-harness idiom over trusted in-repo inputs.
-
info
warn→ info by reviewdynamic-executionnetworkx/algorithms/operators/tests/test_binary.py:23:31, = assert == . assert ==likely benign Test helper evaluating a graph-name string from test parameters.Reasoning
Same eval-based graph lookup pattern as the sibling test file, over trusted parametrized test data in the repository.
-
= =likely benign Frame introspection to identify the importing caller for lazy module loading.Reasoning
inspect.stack()[1] is used to find the calling module so a lazy import can be resolved relative to its parent. This is standard lazy-loading machinery in a well-known library, not evasion.
-
= -
=likely benign Test executing generated lazy-import stub code.Reasoning
A test executes generated stub source with empty globals to check lazy-import stub output. The exec input comes from the test itself, which is a legitimate testing pattern.
-
= f = =likely benign Argmap decorator in networkx compiles and executes generated wrapper source.Reasoning
The decorator generates a function from source text with compile and exec, which is how networkx builds argmap wrappers. The bz2 and gzip imports are part of the same library's code-generation machinery, and the flagged pattern matches a multi-stage payload shape only superficially. Lack of a visible malicious sink lowers confidence somewhat.
-
= f = =likely benign Compile step in networkx's argmap decorator code generator.Reasoning
The compile call is the source-to-code step of the same legitimate networkx code-generation routine, over code the library itself produces.
-
= = =likely benign Executes generated decorator wrapper code in networkx's argmap machinery.Reasoning
The exec runs the compiled wrapper into local namespaces and stores its source on the function. This is the same legitimate library mechanism, not an attacker-controlled payload.
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.
&&