watchdog 7.0.0
- Source
- https://github.com/gorakhargosh/watchdog
- Artifact scanned
watchdog-7.0.0.tar.gz- Compared with
watchdog-6.0.0.tar.gz(11 signals introduced since)- Files
- 95 scanned, 16 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 14 info
- Scan time
- 9.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 13 of 13 warn and critical signals; 13 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-31 08:57
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
-
()likely benign Developer-setup docs showing a pip install command in an embedded bash block.Reasoning
This is a documentation code block showing a developer how to run pip inside a venv. The variable-looking command name is ordinary doc prose and nothing in the file runs it automatically.
-
# Run Ruff to check and format code () ()likely benign Contributor docs showing Ruff lint and format commands.Reasoning
The lines are standard Ruff format and check commands in contributor documentation. The flag reflects only a shell-style prompt in rst, not executable malicious logic.
-
() ()likely benign Contributor docs showing Ruff check invocation.Reasoning
Same ordinary contributor documentation of Ruff commands; the rst code block is passive text.
-
()likely benign Contributor docs showing a mypy invocation.Reasoning
Documentation of a mypy type-check command for contributors. Benign prose in an rst file.
-
# Run pytest () # Or run the entire suite using tox (if installed in your venv)likely benign Contributor docs showing how to run pytest.Reasoning
Documentation telling developers to run pytest; this is standard test instruction text with no hidden behaviour.
-
# Or run the entire suite using tox (if installed in your venv) () # Or run using uv without installing tox locallylikely benign Contributor docs mentioning running tox.Reasoning
Doc text suggesting tox run; benign instructional content in an rst file.
-
# Or run using uv without installing tox locally ()likely benign Contributor docs showing uvx tox usage.Reasoning
Doc text showing uvx tox as an alternative runner; standard developer guidance.
-
# Build using sphinx-build directly () # Or build using tox via uv without installing tox locallylikely benign Contributor docs showing a sphinx-build command.Reasoning
Documentation of a sphinx-build command to build HTML docs. Ordinary and not executed by the scanner target.
-
# Or build using tox via uv without installing tox locally ()likely benign Contributor docs showing uvx tox docs build.Reasoning
Doc example of uvx tox -e docs for building docs; benign instructional text.
-
info
critical→ info by reviewdynamic-executionsrc/watchdog/tricks/__init__.py:158:24new in this release= =likely benign Watchdog trick that runs a user-configured shell command on file events.Reasoning
This is the ExecuteCommand trick in watchdog, which by design runs a user-configured command on filesystem events. The command is supplied by the library user via a template and is not hidden or fetched remotely. shell=True with a user-supplied string is a known, documented design choice, though it carries injection risk if untrusted input reaches the template.
-
= flikely benign Optional-module availability check using __import__ inside a try/except.Reasoning
The __import__ call sits inside a try/except ImportError, which is the standard pattern for probing whether an optional module is available. The module name comes from the library's own code path, not from an encoded or hidden payload.
-
likely benign Test helper that runs sudo mount for a tmpfs using os.system.
Reasoning
This is a test helper that mounts a tmpfs via sudo. The shell string is built from a path argument, so it is an injection-prone pattern, but it lives in a test utility and has no obfuscation or hidden intent.
-
likely benign Test helper that runs sudo umount using os.system.
Reasoning
Companion test helper that unmounts a path via sudo umount with os.system. Same test-only context, no malicious indicators.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|
&&