{
  "ml": {
    "v": "7",
    "eng": "2.9.1",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.0000338157,
        "rte": "az",
        "prob": 0.0000338157
      },
      {
        "cls": 0,
        "raw": 0.00028813878,
        "rte": "az/gem",
        "prob": 0.00028813878
      }
    ],
    "prob": 0.0000338157,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00003381570058991201,
        "type": "gem"
      },
      {
        "id": 1,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000012973944649274927,
        "type": "tar.gz"
      },
      {
        "id": 2,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000009745359420776367,
        "type": "ruby"
      },
      {
        "id": 3,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00001195073127746582,
        "type": "ruby"
      },
      {
        "id": 13,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000010132789611816406,
        "type": "registry"
      },
      {
        "id": 14,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000010132789611816406,
        "type": "registry"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-09-13T07:41:46Z"
  },
  "path": "opentelemetry-resource-detector-container-0.3.0.gem",
  "raw": {
    "files": [
      {
        "id": 0,
        "ctx": [
          {
            "b": "zdN/$wmoN*e[YFg00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fFCgmg=d2?fFCgmfFCfXfFCgmfFCfXfFCgmfFCgngCyV^f/pTzhzEcHh83/",
            "ln": 0
          }
        ],
        "mol": "H₂(F₂Os)",
        "sha": "2ab65b9b63ce76e5a670ef3587a1ce09e36e5f2c3c80d498f2250a2baaaa0160",
        "path": "opentelemetry-resource-detector-container-0.3.0.gem",
        "refs": [
          {
            "to": "pkg:gem/opentelemetry-sdk",
            "off": 0,
            "kind": "dependency"
          }
        ],
        "risk": 3,
        "size": 10752,
        "type": "gem",
        "facts": {
          "metrics": {
            "gem": {
              "dependency_count": 1,
              "runtime_dependency_count": 1,
              "development_dependency_count": 0
            },
            "file": {
              "size": 10752,
              "entropy": 6.49
            },
            "binary": {
              "peak_region_bytes": 6144,
              "peak_region_entropy": 7.82
            },
            "archive": {
              "file_count": 3,
              "member_count": 3,
              "script_count": 0,
              "directory_count": 0,
              "executable_count": 0,
              "hidden_file_count": 0,
              "uncompressed_size": 7382,
              "max_filename_length": 17,
              "rtlo_filename_count": 0,
              "format.regular_count": 3,
              "nested_archive_count": 3,
              "path_traversal_count": 0,
              "symlink_escape_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "double_extension_count": 0,
              "security.symlink_count": 0,
              "unicode_filename_count": 0,
              "homoglyph_filename_count": 0,
              "timing.mtime_unique_count": 1,
              "misplaced_executable_count": 0,
              "timing.mtime_spread_seconds": 0,
              "security.world_writable_count": 0
            },
            "references": {
              "declared_count": 1,
              "unresolved_count": 0,
              "security_hold_count": 0,
              "unresolved_extension_count": 0
            }
          }
        },
        "ident": {
          "name": {
            "value": "opentelemetry-resource-detector-container",
            "source": "gem.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/open-telemetry/opentelemetry-ruby-contrib",
              "kind": "homepage",
              "source": "gem.homepage"
            }
          ],
          "trust": "unsigned",
          "authors": [
            {
              "name": "OpenTelemetry Authors",
              "role": "author",
              "source": "gem.authors"
            }
          ],
          "version": {
            "value": "0.3.0",
            "source": "gem.version",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "micro-behaviors/fs/proc/mounts::mounts-mountinfo",
            "conf": 0.66,
            "crit": 3,
            "desc": "Read mount info from /proc/self/mountinfo"
          },
          {
            "id": "micro-behaviors/fs/file/read::ruby-file-read-content",
            "atk": "T1083",
            "conf": 0.5,
            "crit": 2,
            "desc": "Reads file content with Ruby File.read"
          },
          {
            "id": "objectives/supply-chain/install-hook/package/rubygems::file-imports",
            "atk": "T1195.002",
            "conf": 0.5,
            "crit": 3,
            "desc": "File operation imports",
            "from": [
              {
                "file": 1
              },
              {
                "file": 3
              }
            ],
            "uses": [
              1
            ]
          },
          {
            "id": "micro-behaviors/fs/proc/container::container-self-cgroup",
            "conf": 0.66,
            "crit": 3,
            "desc": "Reads own cgroup (/proc/self/cgroup)"
          },
          {
            "id": "micro-behaviors/os/module/load::ruby-require-relative",
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby loads a relative source module"
          }
        ]
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 6377,
              "entropy": 7.96
            },
            "parse": {
              "error_count": 1
            },
            "binary": {
              "peak_region_bytes": 6144,
              "peak_region_entropy": 7.82
            }
          }
        },
        "id": 1,
        "mol": "H₂(F₂Os)",
        "path": "opentelemetry-resource-detector-container-0.3.0.gem!!data.tar.gz",
        "pid": 0,
        "risk": 3,
        "sha": "313d201d759d99da67f0446c804c5cf7087a0b03cf6af36975fb409e143e8357",
        "size": 6377,
        "traits": [
          {
            "id": "objectives/supply-chain/install-hook/package/rubygems::file-imports",
            "atk": "T1195.002",
            "conf": 0.5,
            "crit": 3,
            "desc": "File operation imports",
            "from": [
              {
                "file": 3
              }
            ],
            "uses": [
              3
            ]
          },
          {
            "id": "micro-behaviors/fs/proc/container::container-self-cgroup",
            "conf": 0.66,
            "crit": 3,
            "desc": "Reads own cgroup (/proc/self/cgroup)"
          },
          {
            "id": "micro-behaviors/os/module/load::ruby-require-relative",
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby loads a relative source module"
          },
          {
            "id": "micro-behaviors/fs/file/read::ruby-file-read-content",
            "atk": "T1083",
            "conf": 0.5,
            "crit": 2,
            "desc": "Reads file content with Ruby File.read"
          },
          {
            "id": "micro-behaviors/fs/proc/mounts::mounts-mountinfo",
            "conf": 0.66,
            "crit": 3,
            "desc": "Read mount info from /proc/self/mountinfo"
          }
        ],
        "type": "tar.gz"
      },
      {
        "ctx": [
          {
            "b": "boQPsz*C#juVQsfx(mM\u003cy?X05A:-=BaARTDwEn+?avy6^D2^RixMLv@xK@qZAaJ]^wO+{{wPR%ravgc(xM4{j3l])5ax898ss)iXv}xL0wI3F:wO#Q7w[+*%iV{.cvpJ$ZeIX}j3jp/+ADL#owNxE?y*?B1C4z^zz/xo9By/o1zdN*fC}ThHB8Mhwv}vr7wPRG[Bz(gE3i",
            "ln": 0,
            "col": 1,
            "line": 1
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "require_relative"
            ],
            [
              "",
              "opentelemetry/resource/detector"
            ]
          ],
          "tgt": [
            "require_relative"
          ],
          "metrics": {
            "ast": {
              "max_depth": 4,
              "call_count": 1,
              "node_count": 12
            },
            "file": {
              "size": 161,
              "entropy": 4.74
            },
            "text": {
              "lines": 7,
              "top_char": 101,
              "max_ws_run": 1,
              "digit_ratio": 0.02,
              "space_count": 9,
              "char_entropy": 4.74,
              "unique_chars": 42,
              "top_char_null": 0,
              "string_density": 0.14,
              "top_char_ratio": 0.16,
              "avg_line_length": 22,
              "max_line_length": 50,
              "empty_line_ratio": 0.29,
              "last_line_length": 50,
              "whitespace_ratio": 0.1,
              "identifier_density": 0.14,
              "line_length_stddev": 19.61,
              "normalized_string_count": 0.38,
              "normalized_unique_identifiers": 0.36
            },
            "binary": {
              "peak_region_bytes": 161,
              "peak_region_entropy": 4.74
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "strings": {
              "bytes": 31,
              "count": 1,
              "avg_length": 31,
              "max_length": 31,
              "avg_entropy": 3.38
            },
            "comments": {
              "chars": 100,
              "count": 4,
              "empty": 1,
              "lines": 3,
              "to_code_ratio": 0.75
            },
            "identifiers": {
              "count": 1,
              "unique": 1,
              "avg_length": 16,
              "max_length": 16,
              "min_length": 16,
              "avg_entropy": 3.08,
              "reuse_ratio": 1,
              "all_lowercase_ratio": 1
            }
          }
        },
        "id": 2,
        "mol": "H(Os)Md(Pa)",
        "path": "opentelemetry-resource-detector-container-0.3.0.gem!!data.tar.gz!!lib/opentelemetry-resource-detector-container.rb",
        "pid": 1,
        "risk": 2,
        "sha": "589c9fabee57ba90ca862f2a649ff6c277ea0f6f1ce516f944fef15c60ab5f46",
        "size": 161,
        "traits": [
          {
            "id": "metadata/import/ruby/opentelemetry/resource/detector::opentelemetry/resource/detector",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports opentelemetry/resource/detector",
            "spans": [
              [
                128,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                43,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/license::spdx-identifier",
            "conf": 0.9,
            "crit": 3,
            "desc": "SPDX license identifier",
            "spans": [
              [
                73,
                23
              ]
            ]
          },
          {
            "id": "micro-behaviors/os/module/load::ruby-require-relative",
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby loads a relative source module",
            "spans": [
              [
                110,
                16
              ]
            ]
          }
        ],
        "type": "ruby"
      },
      {
        "ctx": [
          {
            "b": "boQPsz*C#juVQsfx(mM\u003cy?X05A:-=BaARTDwEn+?avy6^D2^RixMLv@xK@qZAaJ]^wO+{{wPR%ravgc(xM4{j3l])5ax898ss)iXv}xL0wI3F:wO#Q7w[+*%iV{.cvpJ$ZeIX}j3jpS*wozZ1awV@/zD7g-wO(12A^n0maz(4cB.\u003eRiqE%]/B-H#63lQDlaz(4cB.\u003eRil$HEKv@#Tf3lQDlarR^Kavy6+Byw)3wPw]6z/fV9x(m#mwmY\u003c]v@@\u00266y*?yaaz\u003eXixM4A7w]zYjwmY\u003c]A=2Jdx(mMav@DmbvqfQ\u003cAV/ylB8Mhwv}u=\u003eBAzLqvS=^7A%:3jarR^HzeS%cy?j.Rz/fV9x(mH53lQDlarR^Haz2!twO#33B7Gf13jm)#arR^HarTU",
            "ln": 0,
            "col": 1,
            "line": 1
          },
          {
            "b": "pjmHmDQyO7r6:8Jmn^F?k#Z/LqCIS?c{G:BB7occwHP??fa5*AarR^HarT3wqCQp?uSF)*p^F5KauZ?{fk$@Iv\u003eR[my?ttgxl4{kA3\u003e#narR^HarR^]m]Ab.p*WlUuR\u003c3/nfy5rcOGBVz^$CwwO+%izeTMmBzkS8zZL(0arR^HarR^HboPx=By!%7B0a$hzGGr3zE)\u0026hvruQix\u003c#jbwPF#5zE:(1A+eW3wPF#5aBu[6wO$EUy?mD{BAhT/i-wBtiYZeIB8Mhwv}xZxi-oKgz/{8gwQLXBx([2hBzbkdB8UY2x\u003ez6\u003cwftr5BAh88B-.hoe^-ZzarR^HarR)KnOf8.zY\u0026LdzGGr3zE)\u0026hvruQix\u003c#jbwPF#7z/](bayX[8wmY\u003c]A=2JdwN(](zxJIcAccvFA+fp",
            "ln": 504,
            "col": 54,
            "line": 16
          },
          {
            "b": "rzW46gg9\u003czr7FL.lQ$3IrzW46f\u003c^:yr7HpEwNP7Zay]ykD$c/fz/{2D3lQDlarR^HarR^HaA.NrwPI]nmRMWIe]\u003eJiwmn}-wJ}OMxl4{kA48bparR^HarR^HarR^HawV@/zD7g-wO(12A^ooJvqYQ(wNx1?A=k$DzdN^fvp%djar\u003cf\u003ezGGr3zE)\u0026hA+frgB-H#6ay]59wN/?2AV=}Rbyr{kA=l8tEir3rB.\u003eOhzF%RtvR3W5wNPa4a$i\u003cwao",
            "ln": 1547,
            "col": 16,
            "line": 41
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "extend"
            ],
            [
              "",
              "nil?"
            ],
            [
              "",
              "delete_if"
            ],
            [
              "",
              "nil?"
            ],
            [
              "",
              "empty?"
            ],
            [
              "",
              "create"
            ],
            [
              "",
              "each"
            ],
            [
              "",
              "readable?"
            ],
            [
              "",
              "handle_error"
            ],
            [
              "",
              "each"
            ],
            [
              "",
              "readlines"
            ],
            [
              "",
              "include?"
            ],
            [
              "",
              "include?"
            ],
            [
              "",
              "split"
            ],
            [
              "",
              "shift"
            ],
            [
              "",
              "each"
            ],
            [
              "",
              "match?"
            ]
          ],
          "mbr": [
            "File.readable?",
            "File.readlines",
            "File.readlines.each",
            "OpenTelemetry.handle_error",
            "id.nil?",
            "line.include?",
            "line.split",
            "part.match?",
            "parts.each",
            "parts.shift",
            "resource_attributes.delete_if",
            "value.empty?",
            "value.nil?"
          ],
          "tgt": [
            "create",
            "delete_if",
            "each",
            "empty?",
            "extend",
            "handle_error",
            "include?",
            "match?",
            "nil?",
            "readable?",
            "readlines",
            "shift",
            "split"
          ],
          "funcs": [
            [
              "detect",
              927
            ],
            [
              "container_id",
              1515
            ]
          ],
          "metrics": {
            "ast": {
              "op.eq": 1,
              "op.lor": 2,
              "op.land": 1,
              "op.lnot": 1,
              "max_depth": 25,
              "op.concat": 16,
              "call_count": 17,
              "node_count": 328,
              "member_count": 13,
              "max_array_len": 2,
              "op_density.eq": 0,
              "op_density.lor": 0.01,
              "op_density.land": 0,
              "op_density.lnot": 0,
              "member_depth_max": 3,
              "op_density.concat": 0.05
            },
            "file": {
              "size": 2251,
              "entropy": 4.77
            },
            "text": {
              "lines": 64,
              "top_char": 101,
              "max_ws_run": 3,
              "digit_ratio": 0.02,
              "space_count": 565,
              "char_entropy": 4.77,
              "unique_chars": 77,
              "top_char_null": 0,
              "string_density": 0.13,
              "top_char_ratio": 0.09,
              "avg_line_length": 34.17,
              "max_line_length": 141,
              "empty_line_ratio": 0.17,
              "last_line_length": 3,
              "whitespace_ratio": 0.28,
              "identifier_density": 1.14,
              "line_length_stddev": 34.84,
              "normalized_string_count": 1,
              "repeated_char_sequences": 20,
              "suspicious_comment_ratio": 0.07,
              "normalized_unique_identifiers": 6.33
            },
            "binds": {
              "count": 8
            },
            "binary": {
              "peak_region_bytes": 2048,
              "peak_region_entropy": 5
            },
            "source": {
              "class_count": 4,
              "function_count": 2
            },
            "strings": {
              "bytes": 234,
              "count": 8,
              "avg_length": 29.25,
              "max_length": 76,
              "path_count": 4,
              "avg_entropy": 3.15,
              "entropy_stddev": 1.2
            },
            "comments": {
              "chars": 629,
              "count": 15,
              "empty": 3,
              "lines": 12,
              "high_entropy": 1,
              "to_code_ratio": 0.23
            },
            "functions": {
              "count": 6
            },
            "identifiers": {
              "count": 73,
              "unique": 38,
              "avg_length": 8.42,
              "max_length": 19,
              "min_length": 2,
              "avg_entropy": 2.61,
              "reuse_ratio": 0.52,
              "length_stddev": 4.44,
              "has_digit_ratio": 0.05,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.05,
              "all_lowercase_ratio": 0.5,
              "all_uppercase_ratio": 0.13,
              "underscore_prefix_count": 1
            }
          }
        },
        "id": 3,
        "mol": "H(F₂)Md(Pa)",
        "path": "opentelemetry-resource-detector-container-0.3.0.gem!!data.tar.gz!!lib/opentelemetry/resource/detector/container.rb",
        "pid": 0,
        "risk": 3,
        "sha": "b0f45021f1cef811b891ff29f50c32ca772f47a5776cdf53b167e70ad858f339",
        "size": 2251,
        "traits": [
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                43,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "spans": [
              [
                675,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                216,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "spans": [
              [
                731,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/license::spdx-identifier",
            "conf": 0.9,
            "crit": 3,
            "desc": "SPDX license identifier",
            "spans": [
              [
                73,
                23
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/read/file/full::ruby-file-read-content",
            "atk": "T1083",
            "conf": 0.5,
            "crit": 2,
            "desc": "Reads file content with Ruby File.read",
            "spans": [
              [
                1611,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/proc/container::container-self-cgroup",
            "conf": 0.66,
            "crit": 3,
            "desc": "Reads own cgroup (/proc/self/cgroup)",
            "spans": [
              [
                568,
                17
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/proc/mounts::mounts-mountinfo",
            "conf": 0.66,
            "crit": 3,
            "desc": "Read mount info from /proc/self/mountinfo",
            "spans": [
              [
                613,
                20
              ]
            ]
          },
          {
            "id": "objectives/supply-chain/install-hook/package/rubygems::file-imports",
            "atk": "T1195.002",
            "conf": 0.5,
            "crit": 3,
            "desc": "File operation imports",
            "uses": [
              5
            ],
            "spans": [
              [
                1611,
                9
              ]
            ]
          }
        ],
        "type": "ruby"
      },
      {
        "ctx": [
          {
            "b": "DM)3hz/ZhBBy/qkiWeiFz6yIPzEEx[b03]^AaJ{ewO+{{wPR%rePUDra$K{YwPz\u003caz/c:Wa#7Y8gCgv9efY4QvR/+1xK$ZYvrrXOf/I6GhA0GLfG7Eavp%dUwmo+8a]",
            "ln": 0,
            "col": 1,
            "line": 1
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 964,
              "entropy": 4.73
            },
            "binary": {
              "peak_region_bytes": 964,
              "peak_region_entropy": 4.73
            },
            "registry": {
              "age_days": 53,
              "published_at": 1784667606,
              "is_deprecated": 0,
              "downloads_total": 61208366,
              "downloads_recent": 825630
            }
          }
        },
        "id": 13,
        "path": "opentelemetry-sdk@1.13.0.registry.json",
        "pid": 0,
        "rel": "registry",
        "role": "sidecar",
        "sha": "99bcb8b407e416e5daa745037b2417068480632edcc09b64d2fc7fa62a7a1c25",
        "size": 964,
        "traits": [
          {
            "id": "metadata/registry::widely-installed",
            "conf": 1.0,
            "crit": 1,
            "desc": "Large registry install base (10k+ downloads)",
            "spans": [
              [
                0,
                0
              ]
            ]
          }
        ],
        "type": "registry"
      },
      {
        "ctx": [
          {
            "b": "DM)3hz/ZhBBy/qkiWeiFz6yIPzEEx[b03]^AaJ{ewO+{{wPR%rePLAzz/{8gwI4C7By!%7z/NBtz/fV9x(mH5a$K{YwPz\u003caz/c:Wa$$S9e?!F2b5?Wly?W%7wN]dR",
            "ln": 0,
            "col": 1,
            "line": 1
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 1042,
              "entropy": 4.69
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 4.69
            },
            "registry": {
              "age_days": 325,
              "published_at": 1761148741,
              "is_deprecated": 0,
              "downloads_total": 625429,
              "downloads_recent": 78156
            }
          }
        },
        "id": 14,
        "path": "opentelemetry-resource-detector-container@0.3.0.registry.json",
        "pid": 0,
        "rel": "registry",
        "role": "sidecar",
        "sha": "452cc9a43494dbb23a8513c9c717f8b60fe9bb9ac735d26793bff440712b2cc3",
        "size": 1042,
        "traits": [
          {
            "id": "metadata/registry::widely-installed",
            "conf": 1.0,
            "crit": 1,
            "desc": "Large registry install base (10k+ downloads)",
            "spans": [
              [
                0,
                0
              ]
            ]
          }
        ],
        "type": "registry"
      }
    ],
    "rev": "c7f7e",
    "v": "8"
  }
}