PyPI / librt / 0.17.0

librt 0.17.0

Source
https://github.com/mypyc/librt
Artifact scanned
librt-0.17.0.tar.gz (sdist · 234.6 KB · SHA-256 fd18d1f708f7…)
Compared with
librt-0.16.0.tar.gz (0 signals introduced since)
Files
144 scanned, 7 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 2 info
Scan time
3.7 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-11-19 14:12

Signals

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

  1. info warn → info by review macro-keyword-override vecs/vec_bool.c:10:1

    `#define ITEM_C_TYPE char` aliases a C reserved keyword behind a non-keyword macro name (ast pass, confidence 0.85)

    #define ITEM_TYPE_MAGIC VEC_ITEM_TYPE_BOOL
    #define ITEM_C_TYPE char
    #define FEATURES Vec_BoolAPI
    likely benign LLM, confidence 0.90 Macro configuration in a C vector template header selecting char as the item type.
    Reasoning

    This is a generic-container style header-include pattern: ITEM_C_TYPE is set to a builtin type (char) for a type-parameterized vector template, alongside ITEM_TYPE_MAGIC and FEATURES macros. Defining a macro whose value is a C keyword type is the standard way to instantiate type-generic C code; the rule fires on the keyword value rather than any hidden or malicious behavior. Sibling file vec_float.c shows the same benign template pattern.

  2. info warn → info by review macro-keyword-override vecs/vec_float.c:10:1

    `#define ITEM_C_TYPE double` aliases a C reserved keyword behind a non-keyword macro name (ast pass, confidence 0.85)

    #define ITEM_TYPE_MAGIC VEC_ITEM_TYPE_FLOAT
    #define ITEM_C_TYPE double
    #define FEATURES Vec_FloatAPI
    likely benign LLM, confidence 0.90 Macro configuration in a C vector template header selecting double as the item type.
    Reasoning

    Same template-instantiation pattern as vec_bool.c: ITEM_C_TYPE is set to double alongside ITEM_TYPE_MAGIC and FEATURES macros for a float vector variant. Macro-selected C types are a normal way to specialize generic code, and nothing here executes, decodes, or hides behavior.

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 librt-0.17.0.tar.gz https://files.pythonhosted.org/packages/ed/82/9b31a8cd0fe33fde43132f43d2dab766976afc0d3d0763ea6082c4385b22/librt-0.17.0.tar.gz
printf '%s  %s\n' fd18d1f708f78577556a7d76505048b9e3ad6ff61b8d9c91616a5a3f1e6c770b librt-0.17.0.tar.gz | shasum -a 256 -c -
mkdir pkg && tar -xzf librt-0.17.0.tar.gz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg