PyPI / tree-sitter / 0.27.0

tree-sitter 0.27.0

Source
https://github.com/tree-sitter/py-tree-sitter
Artifact scanned
tree_sitter-0.27.0.tar.gz (sdist · 229.4 KB · SHA-256 5ac47f29033a…)
Compared with
tree_sitter-0.26.1.tar.gz (4 signals introduced since)
Files
106 scanned, 12 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 4 info
Scan time
5.4 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-23 10:12

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review narrow-file-charset tree_sitter/core/lib/src/wasm-stdlib/libc/ctype/alpha.h:1:1 new in this release

    file uses only 11 distinct printable characters (",0123456789") — JSF*ck-style or character-constrained obfuscation (raw pass, confidence 0.90)

    18,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,17,34,35,36,17,37,38,39,40,
    41,42,43,44,17,45,46,47,16,16,48,16,16,16,16,16,16,16,49,50,51,16,52,53,16,16,
    17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,54,
    likely benign LLM, confidence 0.95 A generated wasi-libc ctype lookup table of integer class indices for alphabetic characters.
    Reasoning

    The file is a numeric lookup table of small integer indices separated by commas, the form of a generated character-class table. Digits and commas are the only characters needed for such a table, so the narrow charset comes from the data format rather than from JSF*ck-style encoding. The file sits in the vendored wasi-libc sources under the ctype directory, which supports a benign reading.

  2. info warn → info by review narrow-file-charset tree_sitter/core/lib/src/wasm-stdlib/libc/ctype/punct.h:1:1 new in this release

    file uses only 11 distinct printable characters (",0123456789") — JSF*ck-style or character-constrained obfuscation (raw pass, confidence 0.90)

    18,16,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,16,16,34,35,16,36,37,38,39,
    40,41,42,43,16,44,45,46,17,17,47,17,17,17,17,17,17,48,49,50,51,52,53,54,55,17,
    16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,56,
    likely benign LLM, confidence 0.95 A generated wasi-libc ctype lookup table of integer class indices for punctuation characters.
    Reasoning

    This is the same kind of comma-separated integer table as alpha.h, here for punctuation classification. The limited character set is inherent to a numeric array, it is not executed or decoded at runtime, and it lives in the vendored wasi-libc ctype directory, so it is a legitimate data file.

  3. info warn → info by review identifier-confusable-collision tree_sitter/core/lib/src/wasm-stdlib/libc/string/memcmp.c:7:24 new in this release

    two identifiers collapse to visual skeleton `v|` (0/O/o and 1/l/I are confusable) (token pass, confidence 0.80)

    
    int memcmp(const void *vl, const void *vr, size_t n)
    {
    #if defined(__wasm_simd128__) && defined(__wasilibc_simd_string)
    likely benign LLM, confidence 0.90 A standard wasi-libc memcmp implementation whose parameter names vl and vr trip a confusable-identifier heuristic.
    Reasoning

    The collision is between the parameter names vl and vr, which both reduce to a similar skeleton under the confusable heuristic. These are conventional short names for the two buffers in a memcmp implementation, and the code is a standard SIMD-guarded libc function. The finding is a heuristic false positive with no evidence of deceptive identifiers.

  4. info identifier-low-length tree_sitter/core/lib/src/wasm-stdlib/libc/string/memcpy.c:1:1 new in this release

    164 of 291 non-conventional identifiers are single-character (56%) (token pass, confidence 0.50)

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.

cargo install disclude --version 4.3.0
curl -fsSL -o tree_sitter-0.27.0.tar.gz https://files.pythonhosted.org/packages/6f/ed/07c594be37b6fd8d4b43b1deb7acc03008a613bf0fa6e3e8576ebb5639fe/tree_sitter-0.27.0.tar.gz
printf '%s  %s\n' 5ac47f29033af9c01b034f79f0234cde40d73a36976bce05256b3dbf05a2db4b tree_sitter-0.27.0.tar.gz | shasum -a 256 -c -
mkdir pkg && tar -xzf tree_sitter-0.27.0.tar.gz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg