{
  "ml": {
    "v": "7",
    "id": 474,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000014493863091047388,
    "type": "",
    "version": "v18.18",
    "analyzed_at": "2026-10-19T18:18:18Z"
  },
  "path": "geiserx_ts_bart_packetfilter-0.58.0.crate",
  "raw": {
    "rev": "17dc6",
    "files": [
      {
        "id": 475,
        "mol": "H(Cm)Md₃(InPa)",
        "pid": 2,
        "rel": "fetched",
        "sha": "2d7525980a2cea9a808bf31be4e601fa5a7520dffdf434c97dca8b710d0fdf68",
        "via": "https://static.crates.io/crates/geiserx_ts_bart_packetfilter/geiserx_ts_bart_packetfilter-0.58.0.crate",
        "path": "pkg:cargo/geiserx_ts_bart_packetfilter@0.58.0",
        "risk": 6,
        "size": 22613,
        "type": "crate",
        "depth": 2,
        "facts": {
          "metrics": {
            "file": {
              "size": 22613,
              "entropy": 7.99
            },
            "binary": {
              "peak_region_bytes": 22528,
              "peak_region_entropy": 7.82
            }
          }
        },
        "ident": {
          "name": {
            "value": "geiserx_ts_bart_packetfilter",
            "source": "crate.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/GeiserX/tailscale-rs",
              "kind": "repository",
              "source": "crate.repository"
            }
          ],
          "trust": "unsigned",
          "version": {
            "value": "0.58.0",
            "source": "crate.version",
            "verified": false
          },
          "identifier": {
            "value": "geiserx_ts_bart_packetfilter",
            "source": "crate.name",
            "verified": false
          },
          "description": {
            "value": "fast tailscale packet filter implemented using ts_bart",
            "source": "crate.description",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "metadata/file/naming::uppercase-readme-md-basename",
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/import/rust/core/net/ipaddr::core/net/ipaddr",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports core::net::IpAddr",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test",
            "conf": 0.95,
            "crit": 3,
            "desc": "Rust test marker or harness",
            "from": [
              {
                "off": 2994,
                "file": 484,
                "line": 109
              },
              {
                "off": 7878,
                "file": 485,
                "line": 231
              },
              {
                "off": 9231,
                "file": 486,
                "line": 295
              },
              {
                "off": 8027,
                "file": 487,
                "line": 238
              },
              {
                "off": 4238,
                "file": 488,
                "line": 161
              }
            ],
            "uses": [
              54,
              55
            ]
          },
          {
            "id": "micro-behaviors/communications/socket/port::endpoint-port-123-reference",
            "conf": 0.94,
            "crit": 3,
            "desc": "Endpoint text or setting references port 123",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/build/archive::archive-cargo-toml-entry",
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive contains Cargo.toml"
          },
          {
            "id": "metadata/file/comment::source-comment-bytes-over-300",
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/boxed/box::alloc/boxed/box",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::boxed::Box",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/collections/btreemap::alloc/collections/btreemap",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::collections::BTreeMap",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/string/string::alloc/string/string",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::string::String",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/string/tostring::alloc/string/tostring",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::string::ToString",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/vec/vec::alloc/vec/vec",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::vec::Vec",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/alloc/vec::alloc/vec",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alloc::vec",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/cap_lookup/caplookup::cap_lookup/caplookup",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cap_lookup::CapLookup",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/core/borrow/borrow::core/borrow/borrow",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports core::borrow::Borrow",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/import/rust/core/cmp/ordering::core/cmp/ordering",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports core::cmp::Ordering",
            "from": [
              {
                "file": 13
              }
            ]
          },
          {
            "id": "metadata/import/rust/core/fmt/formatter::core/fmt/formatter",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports core::fmt::Formatter",
            "from": [
              {
                "file": 13
              }
            ]
          },
          {
            "id": "metadata/import/rust/core/ops/rangeinclusive::core/ops/rangeinclusive",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports core::ops::RangeInclusive",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/dst_port/test/bart_bitset::crate/dst_port/test/bart_bitset",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::dst_port::test::bart_bitset",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/port_trie/child::crate/port_trie/child",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::port_trie::Child",
            "from": [
              {
                "file": 13
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/port_trie/porttrie::crate/port_trie/porttrie",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::port_trie::PortTrie",
            "from": [
              {
                "file": 13
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/porttrie::crate/porttrie",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::PortTrie",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/ruleid::crate/ruleid",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::RuleId",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/dst_port/dstmatchlookup::dst_port/dstmatchlookup",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dst_port::DstMatchLookup",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/hashbrown/hashmap::hashbrown/hashmap",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports hashbrown::HashMap",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/pf/filterext::pf/filterext",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pf::FilterExt",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/port_prefix/portprefix::port_prefix/portprefix",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports port_prefix::PortPrefix",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/import/rust/port_trie/porttrie::port_trie/porttrie",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports port_trie::PortTrie",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/proptest/prelude::proptest/prelude",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports proptest::prelude::*",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/super::super",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::*",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_array256/array256::ts_array256/array256",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_array256::Array256",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_array256/arraystoragesliceext::ts_array256/arraystoragesliceext",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_array256::ArrayStorageSliceExt",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bart/baseindex::ts_bart/baseindex",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bart::BaseIndex",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bart/routingtable::ts_bart/routingtable",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bart::RoutingTable",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bart/routingtableext::ts_bart/routingtableext",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bart::RoutingTableExt",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bart/strideops::ts_bart/strideops",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bart::StrideOps",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bitset/bitsetdyn::ts_bitset/bitsetdyn",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bitset::BitsetDyn",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_bitset/bitsetstatic::ts_bitset/bitsetstatic",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_bitset::BitsetStatic",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_dynbitset/dynbitset::ts_dynbitset/dynbitset",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_dynbitset::DynBitset",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/dstmatch::ts_packetfilter/dstmatch",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::DstMatch",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/filter/capiter::ts_packetfilter/filter/capiter",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::filter::CapIter",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/filter::ts_packetfilter/filter",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::Filter",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/filterstorage::ts_packetfilter/filterstorage",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::FilterStorage",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/ipproto::ts_packetfilter/ipproto",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::IpProto",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/packetinfo::ts_packetfilter/packetinfo",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::PacketInfo",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/rule::ts_packetfilter/rule",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::Rule",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter/ruleset::ts_packetfilter/ruleset",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter::Ruleset",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/import/rust/ts_packetfilter::pf",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ts_packetfilter as pf",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/package/description/length::cargo-description-at-least-20-characters",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo description has at least 20 characters"
          },
          {
            "id": "metadata/package/documentation/source::cargo-readme-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo readme field is populated"
          },
          {
            "id": "metadata/package/license::cargo-license-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo license field is populated"
          },
          {
            "id": "metadata/package/name/identity::cargo-package-name-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package name field is populated"
          },
          {
            "id": "metadata/package/repository::cargo-repository-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository field is populated"
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-assert-eq-macro",
            "conf": 0.7,
            "crit": 2,
            "desc": "assert_eq! macro",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-assert-macro",
            "conf": 0.6,
            "crit": 2,
            "desc": "assert! macro",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-cfg-test",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[cfg(test)] attribute",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test-attr",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[test] attribute",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-3",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-4",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 11
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-7",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "micro-behaviors/data/serialize/envelope::result-assignment-key",
            "conf": 0.4,
            "crit": 1,
            "desc": "Result field or assignment key",
            "from": [
              {
                "file": 10
              }
            ]
          }
        ]
      }
    ]
  }
}