babel 2.19.0
- Source
- https://github.com/python-babel/babel
- Artifact scanned
babel-2.19.0-py3-none-any.whl- Compared with
babel-2.18.0-py3-none-any.whl(1 signals introduced since)- Files
- 28 scanned, 1155 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 6 info
- Scan time
- 6.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-11-24 20:43
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
: , # Metaʼ : , # Macedonian -
, = = =likely benign Babel imports a configured extractor module by name to call its extraction function.Reasoning
The snippet splits a configured 'module:attr' method spec and imports the module with __import__, then fetches the attribute. This is the standard plugin/extractor loading path in Babel, where the method name comes from the extraction configuration the developer supplies. It is a dynamic import, but it is not a hidden or fetched-remotely payload, so it reads as a legitimate extension mechanism.
-
>>> : : -
>>> is -
= returnlikely benign Babel compiles generated Python source for plural rules and executes it into a namespace.Reasoning
The code builds Python source from parsed plural-rule expressions (CLDR-style rules) and compiles it into a namespace. The rules come from locale data or developer-supplied rule strings, not from network input or an encoded blob. Generating and evaluating a small evaluator function is an intentional design for speed, so this looks like a legitimate code-generation pattern. The residual doubt is that eval is reached with generated code, so injection would be possible if untrusted rule strings were accepted.
-
= returnlikely benign Babel evaluates the compiled plural-rule code to produce an evaluate function.Reasoning
This eval runs the code object produced by the compile call just above, inside a controlled namespace, and returns the 'evaluate' function. It is the second half of the same plural-rule code generation. Nothing in the snippet shows attacker-controlled input or an unusual payload, so it reads as benign, with the same caveat about untrusted rule strings.
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.
|