{
  "ml": {
    "v": "7",
    "eng": "2.9.1",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.000013947487,
        "rte": "az",
        "prob": 0.000013947487
      },
      {
        "cls": 0,
        "raw": 0.00051598746,
        "rte": "az/crate",
        "prob": 0.00051598746
      }
    ],
    "prob": 0.000015457472,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000015457471818081103,
        "type": "crate"
      },
      {
        "id": 1,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000008553266525268555,
        "type": "json"
      },
      {
        "id": 4,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000015457471818081103,
        "type": "rust"
      },
      {
        "id": 5,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000010033448234025855,
        "type": "registry"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-09-11T21:28:54Z"
  },
  "path": "usdt-0.3.5.crate",
  "raw": {
    "files": [
      {
        "id": 0,
        "ctx": [
          {
            "b": "abZyg000000@)y:wooySe\u0026baqe[n{gBy+EtEqs5YmZuBoe}ckVZb)WPb\u003eQNJ4XmchV78Y/p3-\u003eONvEz29rEHPbe$+v0yk3JKn]9VxlKDN9a{QxCjh#)2u@y6)=%95Dro^p:\u003eDnZD{r78",
            "ln": 0
          }
        ],
        "mol": "H₂(F₂Os)",
        "sha": "2b4c48f9e522b977bbe938a0d7c4d36633d267ba0155aaa253fb57d0531be0fb",
        "path": "usdt-0.3.5.crate",
        "risk": 2,
        "size": 12916,
        "type": "crate",
        "facts": {
          "metrics": {
            "file": {
              "size": 12916,
              "entropy": 7.98
            },
            "parse": {
              "error_count": 1
            },
            "binary": {
              "peak_region_bytes": 12916,
              "peak_region_entropy": 7.82
            }
          }
        },
        "ident": {
          "name": {
            "value": "usdt",
            "source": "crate.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/oxidecomputer/usdt.git",
              "kind": "repository",
              "source": "crate.repository"
            }
          ],
          "trust": "unsigned",
          "emails": [
            "ben@oxidecomputer.com",
            "ahl@oxidecomputer.com"
          ],
          "authors": [
            {
              "name": "Benjamin Naecker",
              "role": "author",
              "email": "ben@oxidecomputer.com",
              "source": "crate.authors"
            },
            {
              "name": "Adam H. Leventhal",
              "role": "author",
              "email": "ahl@oxidecomputer.com",
              "source": "crate.authors"
            }
          ],
          "version": {
            "value": "0.3.5",
            "source": "crate.version",
            "verified": false
          },
          "identifier": {
            "value": "usdt",
            "source": "crate.name",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "metadata/package/manifest/name::cargo-repository-field",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package declares repository"
          },
          {
            "id": "metadata/package/manifest/name::cargo-package-name",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has name"
          },
          {
            "id": "micro-behaviors/fs/file/write/direct::fs-write",
            "atk": "T1041",
            "conf": 0.85,
            "crit": 3,
            "desc": "Writes a file with Rust fs::write",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "micro-behaviors/os/env/access::cargo-out-dir-reference",
            "conf": 0.9,
            "crit": 3,
            "desc": "References Cargo OUT_DIR environment value",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/manifest/name::cargo-license-field",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package declares license"
          },
          {
            "id": "metadata/package/manifest/name::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/package/manifest/name::cargo-meaningful-description",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo package has meaningful description"
          },
          {
            "id": "micro-behaviors/os/env/access::rust-env-module-var",
            "conf": 0.86,
            "crit": 3,
            "desc": "Rust reads an environment variable",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "micro-behaviors/fs/file/read::rust-read-to-string",
            "conf": 0.88,
            "crit": 3,
            "desc": "Reads a file into a Rust string",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/manifest/name::cargo-readme-field",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package declares readme"
          }
        ]
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 98,
              "entropy": 4.64
            },
            "json": {
              "parsed_bytes": 98,
              "parse_limit_bytes": 76800
            },
            "binary": {
              "peak_region_bytes": 98,
              "peak_region_entropy": 4.64
            }
          }
        },
        "id": 1,
        "path": "usdt-0.3.5.crate!!usdt-0.3.5/.cargo_vcs_info.json",
        "pid": 0,
        "risk": 1,
        "sha": "82f35de993fed3eb1e89196af8ced1a4961be22d3fbb11ab8a050eb92f213a64",
        "size": 98,
        "traits": [
          {
            "id": "metadata/file/extension/identity::web-asset-extension",
            "conf": 1.0,
            "crit": 1,
            "desc": "Common web or JSON file extension",
            "spans": [
              [
                0,
                0
              ]
            ]
          },
          {
            "id": "metadata/file/format/conformance::json-document-opening",
            "conf": 0.95,
            "crit": 2,
            "desc": "File begins with a JSON document",
            "spans": [
              [
                0,
                0
              ]
            ]
          },
          {
            "id": "metadata/file/format/structured::valid",
            "conf": 0.6,
            "crit": 2,
            "desc": "File contains valid JSON data",
            "spans": [
              [
                0,
                0
              ]
            ]
          }
        ],
        "type": "json"
      },
      {
        "ctx": [
          {
            "b": "fe1Cnz/x#xx\u003eIa3atLSag9xwqx\u003eg=$lVl*XB-.hnavy6:Aa9Tf3nj4tfe1Cwx\u003e7Z(B7F(8B-7-3AV/EqwGToTvpJ$ZawuGVwO#N2efE#8A=U@kzxHX!fD.==xK@qgoLF0FzGxwkdlv\u003e\u0026fcCKUBS+KfC{40yBrCZEwGV8dx(+zex(4u6wQ4Y@Ac9jpzxJCcze:r9vqYN^aA}KwxDRzgwGTVXv}xL0wIaryfcBzoBS+KfC{43mByw)3ayMy5z/x$Az!pblxK@qWx\u003e7Z(B7DF5Bp6VO3nj4ParR^HxMOuniXJdgCxUVFAa9l\u0026wId[wxd[7nv}xL0wD",
            "ln": 0,
            "col": 1,
            "line": 1
          },
          {
            "b": "efFIrBzblaaz2!pA+frkaA8oyx(d*9x\u003ep*c3nj4Pq!oI.BzbkdoLF0FzGxwiw]zYjBzbkdB8UY2x\u003ez6?az+F7xlvS}wGUS7C4CYix(mMaAaK6bx(!ufz/fRsvqYP.fe1C:x(dNavruj4zGu}yzE^s0aARpdawuGVwO#N2e^.}sfcIDbCYmOxwGT#Kl@UpFA=kz#aAhmkzGG}xw].*bax0u6BrCKyz!B90zf4rpfe1EQfe1E\u003epJ*p",
            "ln": 465,
            "col": 48,
            "line": 11
          },
          {
            "b": "wH[%kwPIM@wPF#oxK@rcD2v.jCP.cIwN({9zY\u0026O4B7ol8vR3W7xK#3iazC)tBzb98azC.fx(mG8Ab](awPF#nB-qqrA=-BjzG#NxfcIDoB-RTEBA}?paARp9BrCpsawbNdp9sQ?A+O@#x)Kh%y?kjws7J:}y-)kaC4CXpwNP7ZazCZoBAIRwe^:l+",
            "ln": 1633,
            "col": 22,
            "line": 32
          },
          {
            "b": "aAhvtvR3W0vpKs@B1OOmxLzJgv{%l$vR3V\u003czH0vCBAh8kxdLflzE:(lx(4PdxKM6}aARpdazULlB0a\u003eqAb](ux\u003eg^}EpagazE:\u003e$DVj1zvR6%}3nj4QazC.nwPz:dy*?A%wft#jaARpdayO=4BZY8ezEEx[B0bykaARpdaAhvtC4\u003eF#AV!!dwft\u0026i",
            "ln": 7305,
            "col": 4,
            "line": 148
          },
          {
            "b": "y\u00261wFaARphB0bWBB.\u003eOhvR3V)z/fbevrDWgzddK2v{%g\u0026C@)cZz*b=owPxsACw7YbwGV8dwPzu8vrb{4zdN*5z!9]ivTf8uxLy%\u00263nj4QaARp9BrC7iB.\u003eOhvR3V\u003cv}YN/C4ChnaARpdC{3Kiy-)XnB7DFnx\u003eIr$w[+:-zGE1hz/f5@A=b}vvrcpezE-",
            "ln": 11687,
            "col": 17,
            "line": 245
          },
          {
            "b": "aAhEjazbHlvS=y3wghIgy?taseJ$pPwPJ0gBuy%2efEx4A=k$ZaBsCrarR^HarR!ywPP5oz/{8gwGTbUw]*0]A+eV\u0026uVZi[B98CpzF7wswO+%hB8Mhwv}x1Vx(4ufkrxh{arR^HarR!ywPP5pz!\u0026{4B09Q*B-R8nuUKv@y=TQ!z/6Dcy?l%)A=lbnwmY^*B8Mhwv}v5nB8Mhwv}vhlcuA:mw?EOizF0P}dl/)3arR^HarR^Hy?mYhzfo}yz/{eew[=6)auZ\u0026zvrufzi=nIMc)\u0026IyB#?Wcvr9+upGpw3l}Ho2dl/mlBz\u003eJ9vruf\u0026vS=ohdlv\u003eVarR^HarR!BB-Z#5x(4ukAclknc\u003c?7tarR^HarR^HarU-py?tqrB-Z#5x(4t/arR^HarR^HarR^HarR^He[O*lwNxs-zdLaA3lQDlarR^HarR^HarR^HatdkIAaJK3c)z2%B.\u003eOhzF%RtwQ5rqvpKy4w[=6)zEEx[a$k5IarR^HarR^Hdlv\u003eVarR^HarR!sB2(vaA+PSbc#TlIuUj1*wH[%Cz!\u0026{4B1RMMuVQsfx(mMidk24IuT!q5wPGmGdl/)3arR^HarR^HpIRvbdjCPDarR!P3vJl*fe1$3qE%GPB97#layPdgvq{g4x\u003e7N[x(v(pB0bBxz^)p0aA}KwxDPYxA:-D?e^:l+fa6u=fcBkcx-",
            "ln": 20513,
            "col": 4,
            "line": 405
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "file.as_ref.to_path_buf"
            ],
            [
              "",
              "file.as_ref"
            ],
            [
              "",
              "source_file.clone"
            ],
            [
              "",
              "out_file.set_extension"
            ],
            [
              "",
              "file.as_ref.to_path_buf"
            ],
            [
              "",
              "file.as_ref"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "format.to_string"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "module.to_string"
            ],
            [
              "",
              "out_file.push"
            ],
            [
              "",
              "tokens.to_string.as_bytes"
            ],
            [
              "",
              "tokens.to_string"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "usdt_attr_macro"
            ],
            [
              "",
              "usdt_impl"
            ],
            [
              "",
              "usdt_macro"
            ]
          ],
          "mbr": [
            "file.as_ref",
            "file.as_ref().to_path_buf",
            "format.to_string",
            "module.to_string",
            "out_file.push",
            "out_file.set_extension",
            "source_file.clone",
            "tokens.to_string",
            "tokens.to_string().as_bytes"
          ],
          "tgt": [
            "Ok",
            "Some",
            "file.as_ref",
            "file.as_ref().to_path_buf",
            "format.to_string",
            "module.to_string",
            "out_file.push",
            "out_file.set_extension",
            "source_file.clone",
            "tokens.to_string",
            "tokens.to_string().as_bytes"
          ],
          "funcs": [
            [
              "new",
              19156
            ],
            [
              "out_file",
              19643
            ],
            [
              "probe_format",
              20078
            ],
            [
              "module",
              20291
            ],
            [
              "build",
              20514
            ],
            [
              "register_probes",
              21675
            ]
          ],
          "metrics": {
            "ast": {
              "max_depth": 15,
              "call_count": 26,
              "node_count": 2433,
              "member_count": 9,
              "member_depth_max": 3
            },
            "file": {
              "size": 21779,
              "entropy": 4.81
            },
            "text": {
              "lines": 435,
              "top_char": 101,
              "max_ws_run": 5,
              "digit_ratio": 0.01,
              "space_count": 3255,
              "char_entropy": 4.81,
              "unique_chars": 89,
              "top_char_null": 0,
              "string_density": 0.01,
              "top_char_ratio": 0.09,
              "ascii_art_lines": 4,
              "avg_line_length": 49.07,
              "max_line_length": 102,
              "empty_line_ratio": 0.02,
              "last_line_length": 1,
              "whitespace_ratio": 0.17,
              "identifier_density": 0.27,
              "line_length_stddev": 39.18,
              "normalized_string_count": 0.19,
              "repeated_char_sequences": 14,
              "suspicious_comment_ratio": 0.03,
              "suspicious_identifier_ratio": 0.02,
              "normalized_unique_identifiers": 6.16
            },
            "binary": {
              "peak_region_bytes": 21779,
              "peak_region_entropy": 4.93
            },
            "source": {
              "class_count": 1,
              "function_count": 6
            },
            "imports": {
              "count": 3,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "strings": {
              "bytes": 37,
              "count": 4,
              "avg_length": 9.25,
              "max_length": 26,
              "avg_entropy": 2.16,
              "entropy_stddev": 1.22
            },
            "comments": {
              "chars": 18885,
              "count": 372,
              "empty": 3,
              "lines": 369,
              "high_entropy": 11,
              "to_code_ratio": 5.59,
              "url_in_comments": 10
            },
            "functions": {
              "count": 7,
              "density": 1.38,
              "avg_params": 1.33,
              "code_ratio": 0.09,
              "max_params": 2,
              "length_stddev": 3.4,
              "avg_name_length": 8.17,
              "no_params_count": 1,
              "avg_length_lines": 6.33,
              "max_length_lines": 12,
              "min_length_lines": 3,
              "avg_param_name_length": 6
            },
            "identifiers": {
              "count": 119,
              "unique": 54,
              "avg_length": 7.28,
              "max_length": 23,
              "min_length": 1,
              "avg_entropy": 2.44,
              "reuse_ratio": 0.45,
              "length_stddev": 4.51,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.04,
              "all_lowercase_ratio": 0.76,
              "all_uppercase_ratio": 0.02
            }
          }
        },
        "id": 4,
        "mol": "H₂(F₂Os)",
        "path": "usdt-0.3.5.crate!!usdt-0.3.5/src/lib.rs",
        "pid": 0,
        "risk": 2,
        "sha": "5100b805bb5ebd995a8a4b5d6d6db3f93a9a0f6d6ebbd5bdcfec4bb8e12ffce6",
        "size": 21779,
        "traits": [
          {
            "id": "micro-behaviors/os/env/access::cargo-out-dir-reference",
            "conf": 0.9,
            "crit": 3,
            "desc": "References Cargo OUT_DIR environment value",
            "spans": [
              [
                20735,
                19
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/file/read::rust-read-to-string",
            "conf": 0.88,
            "crit": 3,
            "desc": "Reads a file into a Rust string",
            "spans": [
              [
                20577,
                19
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/file/write/direct::fs-write",
            "atk": "T1041",
            "conf": 0.85,
            "crit": 3,
            "desc": "Writes a file with Rust fs::write",
            "spans": [
              [
                20924,
                10
              ]
            ]
          },
          {
            "id": "micro-behaviors/os/env/access::rust-env-module-var",
            "conf": 0.86,
            "crit": 3,
            "desc": "Rust reads an environment variable",
            "spans": [
              [
                20734,
                10
              ]
            ]
          }
        ],
        "type": "rust"
      },
      {
        "ctx": [
          {
            "b": "DM)3hz/ZhBBy/qkiWe6Ovru74a$K{QvqPN1iWeY/woo1Db6EKrB7]Mgb03]4e\u0026baqa$K{SBZ/f3B7/b}uTX42iX-JKf!\u003eEuhzv9wb4ka}uU0O\u003cB0rU1gD4cxb5yXfwPE",
            "ln": 0,
            "col": 1,
            "line": 1
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 848,
              "entropy": 4.72
            },
            "binary": {
              "peak_region_bytes": 848,
              "peak_region_entropy": 4.72
            },
            "registry": {
              "age_days": 1366,
              "published_at": 1671133608,
              "is_deprecated": 0,
              "downloads_total": 3949785,
              "downloads_recent": 1146469
            }
          }
        },
        "id": 5,
        "path": "usdt@0.3.5.registry.json",
        "pid": 0,
        "rel": "registry",
        "role": "sidecar",
        "sha": "6c831748c242e689e083b08d294d642e79dab9d54c868b1228a26f6f85121c78",
        "size": 848,
        "traits": [
          {
            "id": "metadata/registry::widely-installed",
            "conf": 1.0,
            "crit": 1,
            "desc": "Large registry install base (10k+ downloads)",
            "spans": [
              [
                0,
                0
              ]
            ]
          }
        ],
        "type": "registry"
      }
    ],
    "rev": "b3dc8",
    "v": "8"
  }
}