PyPI / ddtrace / 4.17.1

ddtrace 4.17.1

Source
https://github.com/DataDog/dd-trace-py
Artifact scanned
ddtrace-4.17.1.tar.gz (sdist · 2.7 MB · SHA-256 3383cb5e85da…)
Compared with
ddtrace-4.17.0.tar.gz (0 signals introduced since)
Files
1545 scanned, 60 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 41 info
Scan time
35.3 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 38 of 38 warn and critical signals; 38 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-11-17 18:13

Signals

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

  1. info warn → info by review decoder-decompress-payload ddtrace/appsec/_contrib/aiohttp/_multipart.py:233:28

    file imports decoder module(s) base64, binascii, zlib and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)

                walk.members_left -= 1
                decompressor = zlib.decompressobj(wbits)
                decompressed += decompressor.decompress(data, limit - len(decompressed))
                data = decompressor.unused_data
    likely benign LLM, confidence 0.90 Bounded zlib decompression of multipart request body parts for AppSec inspection.
    Reasoning

    Standard multipart decompression with a size limit (limit - len(decompressed)) and unused_data handling for gzip/deflate Content-Encoding in an AppSec body parser. This is legitimate request-body decoding, not a hidden payload.

  2. info critical → info by review frame-introspection ddtrace/appsec/_iast/__init__.py:159:19

    `inspect.currentframe` — call-stack frame introspection — file also calls `sys.exit`/`exec`/`eval` (anti-analysis shape) (ast pass, confidence 0.85)

    
        module_name = inspect.currentframe().f_back.f_globals["__name__"]
        module = sys.modules[module_name]
        try:
    likely benign LLM, confidence 0.85 Retrieves the calling module's name via frame introspection to patch its source for IAST instrumentation.
    Reasoning

    Using inspect.currentframe().f_back.f_globals to find the calling module name is a common instrumentation technique for IAST module patching. The sys.exit/exec/eval co-occurrence is a generic heuristic hit from the file's own IAST loader code, not an anti-analysis evasion.

  3. info warn → info by review dynamic-execution ddtrace/appsec/_iast/__init__.py:171:21

    `compile` called on a non-literal expression (ast pass, confidence 0.70)

    
        compiled_code = compile(patched_ast, module_path, "exec")
        # creating a new module environment to execute the patched code from scratch
        new_module = types.ModuleType(module_name)
    likely benign LLM, confidence 0.85 Compiles the AST of an instrumented module after patching it for IAST taint tracking.
    Reasoning

    compile() of AST that was patched from the module's own source file to insert IAST taint-tracking hooks. This is the expected behavior of an in-process source-rewriting instrumentation library; the source comes from the local module file, not from a remote or encoded payload.

  4. info warn → info by review dynamic-execution ddtrace/appsec/_iast/__init__.py:177:5

    `exec` called on a non-literal expression (ast pass, confidence 0.70)

        # executing the compiled code in the new module environment
        exec(compiled_code, module.__dict__)  # nosec B102
    likely benign LLM, confidence 0.85 Executes the instrumented module code into its existing namespace during IAST module reloading.
    Reasoning

    exec of compiled, self-patched module code into the module's own __dict__ is the mechanism of the import hook. The nosec B102 comment shows it is a known, reviewed pattern; the code originates from the local source file.

  5. info warn → info by review dynamic-execution ddtrace/appsec/_iast/_loader.py:51:29

    `compile` called on a non-literal expression (ast pass, confidence 0.70)

                # Patched source is compiled in order to execute it
                compiled_code = compile(patched_ast, module_path, "exec")
            except Exception:
                iast_compiling_debug_log("Unexpected exception while compiling patched code", exc_info=True)
    likely benign LLM, confidence 0.85 Compiles the patched AST of a module within the IAST loader.
    Reasoning

    Same IAST source-rewriting loader pattern: compiles the patched AST of a local module file with debug logging on failure. Consistent with legitimate instrumentation.

  6. info warn → info by review dynamic-execution ddtrace/appsec/_iast/_loader.py:60:13

    `exec` called on a non-literal expression (ast pass, confidence 0.70)

                # Patched source is executed instead of original module
                exec(compiled_code, module.__dict__)  # nosec B102
            except TypeError:
                iast_compiling_debug_log("INSTRUMENTED CODE. Unexpected exception", exc_info=True)
    likely benign LLM, confidence 0.85 Executes the instrumented module code in place of the original module.
    Reasoning

    Executes the instrumented module code in its own namespace, with nosec annotation and error logging. This is the standard exec step of a source-transform import hook, not malicious execution.

  7. info warn → info by review macro-keyword-override ddtrace/appsec/_iast/_taint_tracking/constants.h:3:1

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

    #define PY_MODULE_NAME "ddtrace.appsec._iast._taint_tracking._native"
    #define RANGE_START long
    #define RANGE_LENGTH long
    #define MSG_ERROR_N_PARAMS "iast::propagation::native::error::Invalid number of params"
    likely benign LLM, confidence 0.80 C header macro aliasing the type name long to RANGE_START for the taint-tracking native module.
    Reasoning

    Defining RANGE_START as long is a benign type-alias macro in a C header for a native extension. The keyword-override heuristic fires on a common C macro idiom with no obfuscation purpose.

  8. info warn → info by review macro-keyword-override ddtrace/appsec/_iast/_taint_tracking/constants.h:4:1

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

    #define RANGE_START long
    #define RANGE_LENGTH long
    #define MSG_ERROR_N_PARAMS "iast::propagation::native::error::Invalid number of params"
    #define MSG_ERROR_SET_RANGES                                                                                           \
    likely benign LLM, confidence 0.80 C header macro aliasing long to RANGE_LENGTH for the taint-tracking native module.
    Reasoning

    Same benign type-alias macro pattern as RANGE_START, used for range length in a native taint-tracking header.

  9. info warn → info by review frame-introspection ddtrace/appsec/_iast/taint_sinks/code_injection.py:101:26

    `inspect.currentframe` — call-stack frame introspection (ast pass, confidence 0.70)

                else:
                    frames = inspect.currentframe()
                    if frames is not None:
                        caller_frame = _resolve_caller_frame(frames.f_back)
    likely benign LLM, confidence 0.85 Retrieves the current frame to resolve the caller frame for a code injection taint sink.
    Reasoning

    Frame introspection is used to locate the caller of a code-injection sink so taint reports point to the right location. It is a legitimate debugging/reporting technique in a security instrumentation library.

  10. info warn → info by review frame-introspection ddtrace/appsec/_iast/taint_sinks/code_injection.py:114:30

    `inspect.currentframe` — call-stack frame introspection (ast pass, confidence 0.70)

                    if caller_frame is None:
                        frames = inspect.currentframe()
                        if frames is not None:
                            caller_frame = _resolve_caller_frame(frames.f_back)
    likely benign LLM, confidence 0.85 Retrieves the current frame again to resolve the caller frame in the code injection sink's fallback path.
    Reasoning

    Repeats the same caller-frame resolution for the sink reporting path, which is legitimate instrumentation logic.

  11. info warn → info by review dynamic-attribute ddtrace/appsec/ai_guard/__init__.py:59:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

    
            globals()[name] = attr  # cache so we warn at most once per symbol
            return attr
        raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
    likely benign LLM, confidence 0.90 Module __getattr__ that lazily resolves and caches deprecated attribute names.
    Reasoning

    Module-level __getattr__ that caches a lazily resolved attribute into globals() and warns once. This is a standard lazy-import / deprecation-shim pattern with no concealment.

  12. info warn → info by review dynamic-attribute ddtrace/appsec/ai_guard/integrations/litellm.py:35:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

            attr = getattr(litellm, name)
            globals()[name] = attr  # cache so we warn at most once per symbol
            return attr
        raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
    likely benign LLM, confidence 0.90 Module __getattr__ that forwards and caches attributes from litellm on first access.
    Reasoning

    Same lazy module __getattr__ caching pattern, forwarding attributes from the litellm module. Standard and benign.

  13. info warn → info by review dynamic-attribute ddtrace/appsec/ai_guard/integrations/strands.py:35:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

            attr = getattr(strands, name)
            globals()[name] = attr  # cache so we warn at most once per symbol
            return attr
        raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
    likely benign LLM, confidence 0.92 Lazy module attribute lookup that caches the resolved attribute in globals.
    Reasoning

    This is a standard module-level __getattr__ lazy-loading pattern. It caches the attribute in globals() and raises AttributeError otherwise, with no external input or execution path.

  14. info warn → info by review frame-introspection ddtrace/contrib/internal/boto/patch.py:153:13

    `inspect.currentframe` — call-stack frame introspection (ast pass, confidence 0.70)

        # But can vary depending on Python versions; that's why we use an heuristic
        frame = inspect.currentframe().f_back
        operation_name = None
        while frame:
    likely benign LLM, confidence 0.90 Uses frame introspection to infer the boto operation name for tracing spans.
    Reasoning

    Walking the call stack with inspect.currentframe().f_back is a heuristic to find the operation name for tracing. It is read-only introspection with no harmful effect.

  15. info warn → info by review dynamic-attribute ddtrace/contrib/trace_utils.py:40:16

    reach-by-name through `globals` (ast pass, confidence 0.60)

        if name in globals():
            return globals()[name]
    
        raise AttributeError("%s has no attribute %s", __name__, name)
    likely benign LLM, confidence 0.90 Module-level lazy attribute resolution via globals().
    Reasoning

    This is the same lazy module __getattr__ pattern, reading names from globals() and raising AttributeError for unknown names. Nothing is fetched or executed externally.

  16. info warn → info by review frame-introspection ddtrace/debugging/_debugger.py:359:27

    `sys._getframe` — call-stack frame introspection (ast pass, confidence 0.70)

                        probe,
                        frame=sys._getframe(HOOK_FRAME_DEPTH),
                        thread=current_thread(),
                        trace_context=self._tracer.current_trace_context(),
    likely benign LLM, confidence 0.90 Captures the instrumented caller's frame for debugger probe hooks.
    Reasoning

    The dynamic debugger captures the frame at a fixed hook depth to evaluate probe conditions and collect locals. This is the expected behavior of a debugger library.

  17. info warn → info by review dynamic-attribute ddtrace/debugging/_expressions.py:139:34

    reach-by-name through `__builtins__` (ast pass, confidence 0.60)

            # Try with a built-in type first
            return isinstance(value, __builtins__[type_qname])  # type: ignore[index]
        except KeyError:
            # Otherwise we expect a fully qualified name
    likely benign LLM, confidence 0.85 Resolves built-in type names from __builtins__ for debugger expression type checks.
    Reasoning

    The lookup resolves built-in type names for isinstance checks inside debugger probe expressions, with a KeyError fallback to qualified names. The name comes from the probe definition and the operation is a type check only.

  18. info warn → info by review dynamic-attribute ddtrace/debugging/_expressions.py:282:17

    reach-by-name through `__builtins__` (ast pass, confidence 0.60)

                a, b = args
                f = __builtins__[_type]  # type: ignore[index]
                ca, fb = self._compile_predicate(a), self._make_lambda(b)
    likely benign LLM, confidence 0.85 Maps an expression operator type name to a built-in function in the debugger expression compiler.
    Reasoning

    This indexes __builtins__ with a type name taken from the expression grammar to map to a built-in callable. It is a bounded lookup in the expression compiler, not arbitrary execution.

  19. info critical → info by review frame-introspection ddtrace/internal/assembly.py:172:17

    `sys._getframe` — call-stack frame introspection — file also calls `sys.exit`/`exec`/`eval` (anti-analysis shape) (ast pass, confidence 0.85)

        def parse_expr(self, text: str) -> t.Any:
            frame = sys._getframe(1)
    
            _globals = frame.f_globals.copy()
    likely benign LLM, confidence 0.70 Grabs the caller's frame globals to support evaluating assembly-expression text.
    Reasoning

    This is a bytecode assembler DSL used for dynamic instrumentation. It reads the caller's globals and locals to evaluate developer-written expressions. The critical severity comes from the generic anti-analysis flag, not from malicious behavior, but eval of text in caller scope warrants a reasonable check that the input is trusted.

  20. info warn → info by review dynamic-execution ddtrace/internal/assembly.py:177:16

    `eval` called on a non-literal expression (ast pass, confidence 0.70)

    
            return eval(text, _globals, frame.f_locals)  # nosec
    
        def parse_opcode_arg(self, text: str) -> t.Union[bc.Label, str, int, t.Any]:
    likely benign LLM, confidence 0.75 eval of assembler expression text in the caller's frame namespace.
    Reasoning

    eval runs on text passed to the bytecode assembler DSL, in the caller's namespace. The call is marked nosec and fits the library's purpose. The risk depends on whether that text can come from untrusted input, which the snippet does not show.

  21. info warn → info by review dynamic-attribute ddtrace/internal/compat.py:155:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

    
            globals()[name] = python_version()
    
        elif name == "PYTHON_INTERPRETER":
    likely benign LLM, confidence 0.92 Lazy compatibility constant that caches the Python version in globals.
    Reasoning

    This is a lazy module attribute pattern that caches python_version() into globals for a PYTHON_VERSION-style name. It is a benign compatibility shim.

  22. info warn → info by review dynamic-attribute ddtrace/internal/compat.py:160:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

    
            globals()[name] = python_implementation()
    
        try:
    likely benign LLM, confidence 0.92 Lazy compatibility constant that caches the Python implementation name in globals.
    Reasoning

    Same lazy compatibility pattern, caching python_implementation() into globals. No external input or execution.

  23. info warn → info by review dynamic-attribute ddtrace/internal/compat.py:163:16

    reach-by-name through `globals` (ast pass, confidence 0.60)

        try:
            return globals()[name]
        except KeyError:
            raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
    likely benign LLM, confidence 0.92 Module-level __getattr__ fallback for lazily computed compatibility names.
    Reasoning

    This is the module __getattr__ fallback that reads from globals and raises AttributeError on a miss, a standard compatibility idiom.

  24. info warn → info by review dynamic-execution ddtrace/internal/datadog/profiling/build_standalone.sh:41:5

    command name is a variable (`$1`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)

      get_version() {
        $1 --version 2>&1 | grep -oE '[0-9]+(\.[0-9]+)?' | head -n 1
      }
    likely benign LLM, confidence 0.85 Build helper that runs a caller-supplied tool with --version to parse its version.
    Reasoning

    The function runs a tool path passed as $1 to read its version. This is a build-script helper whose callers are the project's own build steps. It is not a sign of a hidden payload, but it does run whatever command it is given.

  25. info critical → info by review dynamic-execution ddtrace/internal/datadog/profiling/build_standalone.sh:66:5

    `eval` called on a dynamic (variable/substitution) expression (ast pass, confidence 0.90)

      if [[ -n $found_version ]]; then
        eval "$highest_var_name=$found_version"
      fi
    }
    likely benign LLM, confidence 0.70 Build-script helper that uses eval to assign a version value to a named variable.
    Reasoning

    eval assigns a variable named by the caller to a parsed version string. It is a classic eval-injection shape, but it runs at build time on values derived from local tool output, so exposure is limited. Critical severity is overstated for a build script.

  26. command name is a variable (`$RUN_CLANG_TIDY`) that this file sets only to plain text (ast pass, confidence 0.40)

        echo "Using ${RUN_CLANG_TIDY} with ${JOBS} parallel jobs"
        ${RUN_CLANG_TIDY} \
            -p "${BUILD_DIR}" \
            -j "${JOBS}" \
  27. command name is a variable (`$CLANG_TIDY`) that this file sets only to plain text (ast pass, confidence 0.40)

            echo "Analyzing: ${file}"
            if ! ${CLANG_TIDY} \
                -p "${BUILD_DIR}" \
                -checks="${CHECKS}" \
  28. info warn → info by review dynamic-execution ddtrace/internal/datadog/profiling/stack/fuzz/build.sh:39:7

    pipeline feeds into `sh` — piped data is executed as shell code (ast pass, confidence 0.80)

        for i in 1 2 3; do
          curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && break
          echo "rustup install attempt $i failed, retrying..."
          sleep 5
    likely benign LLM, confidence 0.80 Installs the Rust toolchain by piping the official rustup script to sh.
    Reasoning

    This is the official rustup installer fetched over TLS 1.2 with https-only enforcement and retried in a loop. Piping a remote script to sh is risky in general, but it is the standard documented Rust toolchain install for a fuzz build. Only the sh.rustup.rs origin is trusted here.

  29. info warn → info by review dynamic-import ddtrace/internal/datadog/profiling/stack/fuzz/build.sh:44:5

    `source` called with a dynamic path — sourcing a variable script path (ast pass, confidence 0.75)

        done
        . "$HOME/.cargo/env"
    fi
    likely benign LLM, confidence 0.92 Sources the cargo environment file after a rustup install.
    Reasoning

    Sourcing $HOME/.cargo/env is the standard step after a rustup install to put cargo on PATH. The path is fixed relative to HOME and has no external input.

  30. info warn → info by review frame-introspection ddtrace/internal/lazy.py:20:16

    `sys._getframe` — call-stack frame introspection (ast pass, confidence 0.70)

    
        _globals = sys._getframe(1).f_globals
    
        def __getattr__(name: str) -> t.Any:
    likely benign LLM, confidence 0.85 Reads the caller's module globals to set up lazy module attribute loading.
    Reasoning

    sys._getframe(1).f_globals is the common idiom for installing a module-level __getattr__ for lazy attribute loading. It reads the caller's globals and does not execute anything.

  31. info warn → info by review decoder-decompress-payload ddtrace/internal/openfeature/_agentless.py:109:16

    file imports decoder module(s) gzip and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)

        if content_encoding and content_encoding.strip().lower() == "gzip":
            return gzip.decompress(body)
        return body
    likely benign LLM, confidence 0.90 Decompresses gzip-encoded HTTP response bodies based on the Content-Encoding header.
    Reasoning

    gzip.decompress is applied to an HTTP response body when Content-Encoding is gzip. This is ordinary protocol handling, not an embedded payload.

  32. info warn → info by review macro-keyword-override ddtrace/internal/pack.h:26:1

    `#define inline` rebinds the reserved C keyword `inline` (token pass, confidence 0.85)

    #ifdef _MSC_VER
    #define inline __inline
    #endif
    likely benign LLM, confidence 0.90 Defines inline as __inline on MSVC for compiler compatibility.
    Reasoning

    The macro is guarded by _MSC_VER and maps the C keyword inline to MSVC's __inline, a standard portability shim for older MSVC compilers.

  33. info warn → info by review frame-introspection ddtrace/internal/security/stack_traces.py:54:13

    `inspect.stack` — call-stack frame introspection (ast pass, confidence 0.70)

    
        stack = inspect.stack(0)
        crop_index = 0
        if crop_stack is not None:
    likely benign LLM, confidence 0.90 Collects the current call stack to build stack-trace reports.
    Reasoning

    inspect.stack(0) collects the current call stack for a stack-trace reporting feature in a security module. It does not send or hide anything.

  34. info warn → info by review frame-introspection ddtrace/internal/wrapping/context.py:794:32

    `sys._getframe` — call-stack frame introspection (ast pass, confidence 0.70)

            # Make the frame object available to the contexts
            storage["__frame__"] = sys._getframe(_ENTER_FRAME_DEPTH)
    
            # Freeze the list of contexts so that we know exactly which ones to
    likely benign LLM, confidence 0.85 Stores the current frame in wrapping context storage for context hooks.
    Reasoning

    sys._getframe at a fixed depth stores the frame in context storage so wrapped contexts can access it. This is internal tracing-framework plumbing.

  35. info warn → info by review dynamic-attribute ddtrace/llmobs/_integrations/__init__.py:39:5

    reach-by-name through `globals` (ast pass, confidence 0.60)

        integration = getattr(import_module(module_name, __name__), name)
        globals()[name] = integration
        return integration
    likely benign LLM, confidence 0.90 Lazily imports an integration by name and caches it in module globals.
    Reasoning

    This is a standard lazy-import pattern: import a named integration module, cache it in globals, and return it. The target is a fixed package-internal module name.

  36. info warn → info by review frame-introspection ddtrace/llmobs/_integrations/utils.py:2066:25

    `inspect.currentframe` — call-stack frame introspection (ast pass, confidence 0.70)

            # Start from the current frame and walk up the stack
            current_frame = inspect.currentframe()
            if current_frame is None:
                return variable_name, module_name
    likely benign LLM, confidence 0.85 Walks the call stack to infer variable and module names for instrumentation.
    Reasoning

    inspect.currentframe walks up the stack to recover variable and module names for tracing labels. It is read-only introspection used for instrumentation.

  37. info warn → info by review encoding-base64 ddtrace/propagation/http.py:423:38

    base64-like blob (64 bytes, compression ratio 1.17) (raw pass, confidence 0.60)

    
        https://github.com/openzipkin/b3-propagation/blob/3e54cda11620a773d53c7f64d2ebb10d3a01794c/README.md#multiple-headers
    
        Example::
    dismissed LLM, confidence 0.90 A docstring link to the B3 propagation spec with a commit hash in the URL.
    Reasoning

    The flagged text is a docstring URL containing a git commit hash. It is not a base64 blob or encoded payload.

  38. info warn → info by review encoding-base64 ddtrace/propagation/http.py:540:38

    base64-like blob (64 bytes, compression ratio 1.17) (raw pass, confidence 0.60)

    
        https://github.com/openzipkin/b3-propagation/blob/3e54cda11620a773d53c7f64d2ebb10d3a01794c/README.md#single-header
    
        Format::
    dismissed LLM, confidence 0.90 A docstring link to the B3 single-header spec, with a commit hash in the URL.
    Reasoning

    The flagged text is a docstring URL containing a git commit hash, not an encoded blob. This is a raw-pass false positive.

  39. info critical → info by review dynamic-execution ddtrace/vendor/dogstatsd/context_async.py:52:5

    `exec` at module scope (runs on import) on a non-literal expression (ast pass, confidence 0.80)

    if sys.version_info >= (3, 5):
        exec(compile(ASYNC_SOURCE, __file__, "exec"))
    likely benign LLM, confidence 0.70 Execs a module-level ASYNC_SOURCE string to add async support on Python 3.5 and later.
    Reasoning

    This vendored dogstatsd module execs source compiled from ASYNC_SOURCE at import time, a common way to add async syntax without breaking older Pythons. The source is presumably a literal string in the same file, though its contents are not shown and should be checked.

  40. info critical → info by review dynamic-execution ddtrace/vendor/dogstatsd/context_async.py:52:10

    `compile` at module scope (runs on import) on a non-literal expression (ast pass, confidence 0.80)

    if sys.version_info >= (3, 5):
        exec(compile(ASYNC_SOURCE, __file__, "exec"))
    likely benign LLM, confidence 0.70 Compiles the in-file ASYNC_SOURCE string for the exec call that adds async support.
    Reasoning

    compile is used only to feed the same exec call and compiles the in-file ASYNC_SOURCE. The pattern is legitimate if that constant is a fixed in-file literal, which the snippet does not confirm.

  41. proc-macro attribute `#[proc_macro_derive]` present (ast pass, confidence 0.95)

    /// but whose Python attributes should read as `RemoteConfigProduct.LiveDebugging`).
    #[proc_macro_derive(ConvertToPyO3Enum, attributes(pyo3_enum))]
    pub fn convert_to_pyo3_enum(input: TokenStream) -> TokenStream {
        let input = parse_macro_input!(input as DeriveInput);

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 ddtrace-4.17.1.tar.gz https://files.pythonhosted.org/packages/b1/83/880b81f6878a81183107aa4accc3d1fc988de65984993b827e6a9a46ab24/ddtrace-4.17.1.tar.gz
printf '%s  %s\n' 3383cb5e85da6dada219f552c4f5ed32b880fa601e820eede82c83eca5c9967a ddtrace-4.17.1.tar.gz | shasum -a 256 -c -
mkdir pkg && tar -xzf ddtrace-4.17.1.tar.gz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg