{
  "llm": {
    "conf": 0.99534404,
    "error": "",
    "grade": "suspicious",
    "interpretation": "Test library with network call",
    "model": "Qwen/Qwen3.8-27B",
    "outcome": "hostile"
  },
  "ml": {
    "analyzed_at": "2026-11-23T12:12:03Z",
    "files": [
      {
        "lvl": 0,
        "prob": 0.99534404,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": 0,
        "prob": 0.99534404,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      },
      {
        "lvl": -1,
        "id": 8
      },
      {
        "lvl": -1,
        "id": 9
      }
    ],
    "lvl": 0,
    "mods": [
      {
        "cls": 2
      }
    ],
    "prob": 0.99534404,
    "v": "7",
    "version": "v20.20"
  },
  "path": "et_phone_home-0.1.0.gem",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "directory_count": 0,
              "double_extension_count": 0,
              "executable_count": 0,
              "file_count": 3,
              "format.regular_count": 3,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "max_filename_length": 17,
              "member_count": 3,
              "misplaced_executable_count": 0,
              "nested_archive_count": 3,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "uncompressed_size": 4367,
              "unicode_filename_count": 0
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 7.79
            },
            "file": {
              "entropy": 5.71,
              "size": 7680
            },
            "gem": {
              "dependency_count": 2,
              "development_dependency_count": 2,
              "runtime_dependency_count": 0
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "et_phone_home",
            "source": "gem.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/raesene/test_libs",
              "kind": "homepage",
              "source": "gem.homepage"
            }
          ],
          "trust": "unsigned",
          "authors": [
            {
              "name": "Rory McCune",
              "role": "author",
              "source": "gem.authors"
            }
          ],
          "version": {
            "value": "0.1.0",
            "source": "gem.version",
            "verified": false
          },
          "description": {
            "value": "A gem that just phone home by going a GET on a specific URL",
            "source": "gem.description",
            "verified": false
          }
        },
        "mol": "K(Am)O₃(CSXe)H₄(Cm₈OsPo)Md₆(BkInNePa₃Pt)",
        "path": "et_phone_home-0.1.0.gem",
        "risk": 368,
        "sha": "0e90e72cae0a8b095b215bb324990ea5b21f5eddfa621b21b07b5df6e303f2cb",
        "size": 7680,
        "traits": [
          {
            "atk": "T1041",
            "conf": 0.98,
            "crit": 5,
            "desc": "RubyGem extension sends HTTP GET beacon to raw external IP",
            "from": [
              {
                "file": 2
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "objectives/command-and-control/beacon/network/http::rubygems-rakefile-direct-ip-http-beacon",
            "uses": [
              15,
              20,
              23,
              36
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.98,
            "crit": 5,
            "desc": "RubyGem extension hook phones home to raw external IPv4 URL",
            "from": [
              {
                "file": 2
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "objectives/execution/trigger/build-hook::rubygems-extension-hook-direct-ip-beacon",
            "uses": [
              20,
              23,
              32,
              39
            ]
          },
          {
            "atk": "T1195.002,T1071.001",
            "conf": 0.98,
            "crit": 5,
            "desc": "Gem native extension sends HTTP GET to raw external IPv4 URL",
            "from": [
              {
                "file": 2
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "objectives/supply-chain/hidden-payload/native-extension::gem-extension-direct-ip-http-beacon",
            "uses": [
              10,
              20,
              23,
              32
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "File is named Rakefile",
            "id": "metadata/build/package/recipe/gemspec::filename-rakefile"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "RubyGems specification or build reference",
            "id": "metadata/build/package/recipe/gemspec::ruby-gem-specification-or-build-reference"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports net/http",
            "id": "metadata/import/ruby/net/http::net/http"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby gemspec assigns package name",
            "id": "metadata/package/config/manifest::gemspec-name-assignment"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem manifest or gemspec declares extension",
            "from": [
              {
                "file": 2
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/files/rubygems::gem-extension-build-declaration",
            "uses": [
              11,
              15
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Gem metadata declares an extension build file",
            "from": [
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/files/rubygems::gem-metadata-extension-declaration",
            "uses": [
              12,
              47
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Gem metadata extensions list names builder",
            "from": [
              {
                "file": 2
              },
              {
                "file": 7,
                "line": 21,
                "off": 973
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 46,
                "off": 1178
              }
            ],
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-entry",
            "uses": [
              13,
              16
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Non-empty YAML extensions list in gem spec",
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-key"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Gemspec assigns to extensions attribute",
            "id": "metadata/package/files/rubygems::gemspec-extensions-assign"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Gemspec declares a native extension build file",
            "from": [
              {
                "file": 2
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 47,
                "off": 1192
              }
            ],
            "id": "metadata/package/files/rubygems::gemspec-native-extension-declaration",
            "uses": [
              14,
              16
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Names a RubyGems extension builder file",
            "id": "metadata/package/files/rubygems::rubygems-builder-target-name"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Digest/expected label near a hexadecimal value",
            "id": "metadata/package/integrity::digest-label-with-hexadecimal-value"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby Net::HTTP reference text",
            "id": "micro-behaviors/communications/http/lib/netlib::ruby-net-http-reference"
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Ruby remote resource fetch call text",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-gem-outbound-resource-fetch",
            "mbc": "C0002"
          },
          {
            "atk": "T1071",
            "conf": 0.88,
            "crit": 3,
            "desc": "Ruby Net::HTTP.get_response call",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-net-http-get-response-call"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby HTTP URL prefix or client reference",
            "from": [
              {
                "file": 2
              },
              {
                "file": 4,
                "line": 1,
                "off": 8
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 14,
                "off": 643
              }
            ],
            "id": "micro-behaviors/communications/http/request/reference::ruby-http-api-reference-group",
            "uses": [
              18,
              48,
              49
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "References a GitHub Pages host",
            "id": "micro-behaviors/communications/http/services/cloud::github-pages"
          },
          {
            "atk": "T1071.001",
            "conf": 0.95,
            "crit": 3,
            "desc": "Direct-IP URL and HTTP client evidence co-occur",
            "from": [
              {
                "file": 2
              },
              {
                "file": 4,
                "line": 1,
                "off": 8
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 14,
                "off": 643
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::direct-ip-http-client",
            "uses": [
              19,
              20,
              21,
              29
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Text contains raw external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-http-url"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Script embeds external IPv4 URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-url-script"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Contains an external-IP HTTP URL",
            "from": [
              {
                "file": 2
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::http-ip-url",
            "uses": [
              24,
              28,
              32
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Direct external IP address in URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-filtered-text"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Source literal contains an external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-source-literal"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Public or shared IPv4 HTTP URL",
            "from": [
              {
                "file": 2
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::public-or-shared-ipv4-http-url",
            "uses": [
              26
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby URL has dotted numeric host",
            "id": "micro-behaviors/communications/url/host/http::ruby-numeric-host-url-reference"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Passes direct-IP URL to a call",
            "id": "micro-behaviors/communications/url/host/oob-http::direct-ip-url-call-argument"
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Source string contains a raw external-IP URL",
            "id": "micro-behaviors/communications/url/host/oob-http::url-external-ip-script",
            "mbc": "C0002"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Ruby URI.parse",
            "id": "micro-behaviors/communications/url/parse::ruby-uri-parse"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Code embeds cleartext HTTP URL literal",
            "id": "micro-behaviors/communications/url/scheme::cleartext-http-url-code-literal"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal"
          },
          {
            "atk": "T1195.002",
            "conf": 0.85,
            "crit": 3,
            "desc": "RubyGem declares native extension scripts",
            "id": "micro-behaviors/os/package-manager/hook-install::gem-extensions"
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "Ruby subshell command execution",
            "id": "micro-behaviors/process/create/shell/substitution::ruby-subshell-command"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Ruby file list uses git shell output",
            "id": "micro-behaviors/revision-control/git/read::ruby-file-list-backtick"
          },
          {
            "atk": "T1195.002",
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem declares an install-time extension build hook",
            "from": [
              {
                "file": 2
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              },
              {
                "file": 3
              },
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "objectives/execution/trigger/build-hook::rubygems-declared-extension-hook",
            "uses": [
              10,
              36
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bundler/gem_tasks",
            "id": "metadata/import/ruby/bundler/gem_tasks::bundler/gem_tasks"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bundler/setup",
            "id": "metadata/import/ruby/bundler/setup::bundler/setup"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports et_phone_home/version",
            "id": "metadata/import/ruby/et_phone_home/version::et_phone_home/version"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports et_phone_home",
            "id": "metadata/import/ruby/et_phone_home::et_phone_home"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports irb",
            "id": "metadata/import/ruby/irb::irb"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports uri",
            "id": "metadata/import/ruby/uri::uri"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "RubyGems specification YAML marker",
            "id": "metadata/package/ecosystem::rubygems-spec-yaml-marker"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "HTTP protocol prefix",
            "id": "micro-behaviors/communications/http/message::http-prefix"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "id": "micro-behaviors/communications/http/message::https-prefix"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          }
        ],
        "type": "gem"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 269,
              "peak_region_entropy": 7.15
            },
            "file": {
              "entropy": 7.15,
              "size": 269
            }
          }
        },
        "id": 1,
        "mol": "Md(Pa)",
        "path": "et_phone_home-0.1.0.gem!!checksums.yaml.gz",
        "pid": 0,
        "risk": 1,
        "sha": "e4067032f63f31c6d2d70328a14b67f0e6b27e747bcef4c176e81f137435f341",
        "sid": 6562899409,
        "size": 269,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Digest/expected label near a hexadecimal value",
            "id": "metadata/package/integrity::digest-label-with-hexadecimal-value"
          }
        ],
        "type": "gz"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "archive": {
              "directory_count": 0,
              "double_extension_count": 0,
              "executable_count": 0,
              "file_count": 11,
              "format.regular_count": 11,
              "hidden_file_count": 1,
              "homoglyph_filename_count": 0,
              "max_filename_length": 28,
              "member_count": 11,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 2,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "uncompressed_size": 5966,
              "unicode_filename_count": 0
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 7.79
            },
            "file": {
              "entropy": 7.94,
              "size": 3354
            }
          }
        },
        "id": 2,
        "mol": "K(Am)O₃(CSXe)H₄(Cm₈OsPo)Md₆(BkInNePa₂Pt)",
        "path": "et_phone_home-0.1.0.gem!!data.tar.gz",
        "pid": 0,
        "risk": 366,
        "sha": "89cca2601d8f4df8bc31ec822f6666419754b5dc3e82c0515c84b8af31921a63",
        "sid": 6562899406,
        "size": 3354,
        "traits": [
          {
            "atk": "T1041",
            "conf": 0.98,
            "crit": 5,
            "desc": "RubyGem extension sends HTTP GET beacon to raw external IP",
            "from": [
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "objectives/command-and-control/beacon/network/http::rubygems-rakefile-direct-ip-http-beacon",
            "uses": [
              12,
              16,
              19,
              32
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.98,
            "crit": 5,
            "desc": "RubyGem extension hook phones home to raw external IPv4 URL",
            "from": [
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "objectives/execution/trigger/build-hook::rubygems-extension-hook-direct-ip-beacon",
            "uses": [
              16,
              19,
              28,
              35
            ]
          },
          {
            "atk": "T1195.002,T1071.001",
            "conf": 0.98,
            "crit": 5,
            "desc": "Gem native extension sends HTTP GET to raw external IPv4 URL",
            "from": [
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "objectives/supply-chain/hidden-payload/native-extension::gem-extension-direct-ip-http-beacon",
            "uses": [
              10,
              16,
              19,
              28
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "File is named Rakefile",
            "id": "metadata/build/package/recipe/gemspec::filename-rakefile"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "RubyGems specification or build reference",
            "id": "metadata/build/package/recipe/gemspec::ruby-gem-specification-or-build-reference"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports net/http",
            "id": "metadata/import/ruby/net/http::net/http"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby gemspec assigns package name",
            "id": "metadata/package/config/manifest::gemspec-name-assignment"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem manifest or gemspec declares extension",
            "from": [
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "metadata/package/files/rubygems::gem-extension-build-declaration",
            "uses": [
              12
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Gemspec assigns to extensions attribute",
            "id": "metadata/package/files/rubygems::gemspec-extensions-assign"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Gemspec declares a native extension build file",
            "from": [
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "metadata/package/files/rubygems::gemspec-native-extension-declaration",
            "uses": [
              11,
              13
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Names a RubyGems extension builder file",
            "id": "metadata/package/files/rubygems::rubygems-builder-target-name"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby Net::HTTP reference text",
            "id": "micro-behaviors/communications/http/lib/netlib::ruby-net-http-reference"
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Ruby remote resource fetch call text",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-gem-outbound-resource-fetch",
            "mbc": "C0002"
          },
          {
            "atk": "T1071",
            "conf": 0.88,
            "crit": 3,
            "desc": "Ruby Net::HTTP.get_response call",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-net-http-get-response-call"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby HTTP URL prefix or client reference",
            "from": [
              {
                "file": 4,
                "line": 1,
                "off": 8
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 14,
                "off": 643
              }
            ],
            "id": "micro-behaviors/communications/http/request/reference::ruby-http-api-reference-group",
            "uses": [
              14,
              43,
              44
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "References a GitHub Pages host",
            "id": "micro-behaviors/communications/http/services/cloud::github-pages"
          },
          {
            "atk": "T1071.001",
            "conf": 0.95,
            "crit": 3,
            "desc": "Direct-IP URL and HTTP client evidence co-occur",
            "from": [
              {
                "file": 4,
                "line": 1,
                "off": 8
              },
              {
                "file": 6,
                "line": 11,
                "off": 142
              },
              {
                "file": 7,
                "line": 14,
                "off": 643
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::direct-ip-http-client",
            "uses": [
              15,
              16,
              17,
              25
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Text contains raw external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-http-url"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Script embeds external IPv4 URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-url-script"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Contains an external-IP HTTP URL",
            "from": [
              {
                "file": 6,
                "line": 11,
                "off": 142
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::http-ip-url",
            "uses": [
              20,
              24,
              28
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Direct external IP address in URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-filtered-text"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Source literal contains an external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-source-literal"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Public or shared IPv4 HTTP URL",
            "from": [
              {
                "file": 6,
                "line": 11,
                "off": 142
              }
            ],
            "id": "micro-behaviors/communications/ip/literal::public-or-shared-ipv4-http-url",
            "uses": [
              22
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby URL has dotted numeric host",
            "id": "micro-behaviors/communications/url/host/http::ruby-numeric-host-url-reference"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Passes direct-IP URL to a call",
            "id": "micro-behaviors/communications/url/host/oob-http::direct-ip-url-call-argument"
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Source string contains a raw external-IP URL",
            "id": "micro-behaviors/communications/url/host/oob-http::url-external-ip-script",
            "mbc": "C0002"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Ruby URI.parse",
            "id": "micro-behaviors/communications/url/parse::ruby-uri-parse"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Code embeds cleartext HTTP URL literal",
            "id": "micro-behaviors/communications/url/scheme::cleartext-http-url-code-literal"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal"
          },
          {
            "atk": "T1195.002",
            "conf": 0.85,
            "crit": 3,
            "desc": "RubyGem declares native extension scripts",
            "id": "micro-behaviors/os/package-manager/hook-install::gem-extensions"
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "Ruby subshell command execution",
            "id": "micro-behaviors/process/create/shell/substitution::ruby-subshell-command"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Ruby file list uses git shell output",
            "id": "micro-behaviors/revision-control/git/read::ruby-file-list-backtick"
          },
          {
            "atk": "T1195.002",
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem declares an install-time extension build hook",
            "from": [
              {
                "file": 7,
                "line": 21,
                "off": 953
              }
            ],
            "id": "objectives/execution/trigger/build-hook::rubygems-declared-extension-hook",
            "uses": [
              32
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bundler/gem_tasks",
            "id": "metadata/import/ruby/bundler/gem_tasks::bundler/gem_tasks"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bundler/setup",
            "id": "metadata/import/ruby/bundler/setup::bundler/setup"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports et_phone_home/version",
            "id": "metadata/import/ruby/et_phone_home/version::et_phone_home/version"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports et_phone_home",
            "id": "metadata/import/ruby/et_phone_home::et_phone_home"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports irb",
            "id": "metadata/import/ruby/irb::irb"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports uri",
            "id": "metadata/import/ruby/uri::uri"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "HTTP protocol prefix",
            "id": "micro-behaviors/communications/http/message::http-prefix"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "id": "micro-behaviors/communications/http/message::https-prefix"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          }
        ],
        "type": "tar.gz"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 744,
              "peak_region_entropy": 7.7
            },
            "file": {
              "entropy": 7.7,
              "size": 744
            }
          }
        },
        "id": 3,
        "mol": "O(Xe)Md(Pa)",
        "path": "et_phone_home-0.1.0.gem!!metadata.gz",
        "pid": 0,
        "risk": 3,
        "sha": "2a05febade46e6bcd40988871a74cfd5bb55469d27ddbccc3d80956c38a46b50",
        "sid": 6577817940,
        "size": 744,
        "traits": [
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem manifest or gemspec declares extension",
            "from": [
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/files/rubygems::gem-extension-build-declaration",
            "uses": [
              1
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Gem metadata declares an extension build file",
            "from": [
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/files/rubygems::gem-metadata-extension-declaration",
            "uses": [
              2,
              6
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Gem metadata extensions list names builder",
            "from": [
              {
                "file": 9,
                "line": 46,
                "off": 1178
              }
            ],
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-entry",
            "uses": [
              3,
              4
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Non-empty YAML extensions list in gem spec",
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-key"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Names a RubyGems extension builder file",
            "id": "metadata/package/files/rubygems::rubygems-builder-target-name"
          },
          {
            "atk": "T1195.002",
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem declares an install-time extension build hook",
            "from": [
              {
                "file": 9,
                "line": 1,
                "off": 0
              }
            ],
            "id": "objectives/execution/trigger/build-hook::rubygems-declared-extension-hook",
            "uses": [
              0
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "RubyGems specification YAML marker",
            "id": "metadata/package/ecosystem::rubygems-spec-yaml-marker"
          }
        ],
        "type": "gz"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "source 'https://rubygems.org'\n\n# Specify your gem's dependencies in et_phone_home.gemspec\ngemspec\n"
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "source"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 1,
              "max_depth": 4,
              "node_count": 10
            },
            "binary": {
              "peak_region_bytes": 98,
              "peak_region_entropy": 4.37
            },
            "comments": {
              "chars": 57,
              "count": 1,
              "lines": 1,
              "to_code_ratio": 0.33
            },
            "file": {
              "entropy": 4.37,
              "size": 98
            },
            "identifiers": {
              "all_lowercase_ratio": 1,
              "avg_entropy": 2.55,
              "avg_length": 6.5,
              "count": 2,
              "length_stddev": 0.5,
              "max_length": 7,
              "min_length": 6,
              "reuse_ratio": 1,
              "unique": 2
            },
            "strings": {
              "avg_entropy": 3.82,
              "avg_length": 20,
              "bytes": 20,
              "count": 1,
              "max_length": 20,
              "url_count": 1
            },
            "text": {
              "avg_line_length": 23.5,
              "char_entropy": 4.37,
              "empty_line_ratio": 0.25,
              "identifier_density": 0.5,
              "last_line_length": 7,
              "line_length_stddev": 22.61,
              "lines": 4,
              "max_line_length": 58,
              "max_whitespace_run": 1,
              "normalized_string_count": 0.5,
              "normalized_unique_identifiers": 1,
              "space_count": 7,
              "string_density": 0.25,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.15,
              "unique_chars": 26,
              "whitespace_ratio": 0.11
            }
          },
          "tgt": [
            "source"
          ]
        },
        "id": 4,
        "mol": "H(Cm₂)",
        "path": "et_phone_home-0.1.0.gem!!data.tar.gz!!Gemfile",
        "pid": 2,
        "risk": 2,
        "sha": "d0ad69bb530a7f6bc55681786dee6fa5e5cb7149f8c6678e62148dc7eb4309ae",
        "sid": 6577817948,
        "size": 98,
        "traits": [
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby HTTP URL prefix or client reference",
            "id": "micro-behaviors/communications/http/request/reference::ruby-http-api-reference-group",
            "spans": [
              [
                8,
                8
              ]
            ],
            "uses": [
              2
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal",
            "spans": [
              [
                8,
                20
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "id": "micro-behaviors/communications/http/message::https-prefix",
            "spans": [
              [
                8,
                0
              ]
            ]
          }
        ],
        "type": "ruby"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# EtPhoneHome\n\nWelcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/et_phone_home`. To experiment with that code, run `bin/console` for an interactive prompt.\n\nTODO: Delete this and the text above, and describe your gem\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'et_phone_home'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install et_phone_home\n\n## Usage\n\nTODO: Write usage instructions here\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/et_phone_home/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n"
          }
        ],
        "depth": 2,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 1363,
              "peak_region_entropy": 4.87
            },
            "file": {
              "entropy": 4.75,
              "size": 1363
            },
            "text": {
              "avg_line_length": 33.95,
              "char_entropy": 4.75,
              "digit_ratio": 0,
              "empty_line_ratio": 0.41,
              "last_line_length": 28,
              "line_length_stddev": 66.12,
              "lines": 39,
              "lines_over_200": 2,
              "max_line_length": 315,
              "max_whitespace_run": 1,
              "space_count": 195,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 60,
              "whitespace_ratio": 0.17
            }
          }
        },
        "id": 5,
        "mol": "K(Am)Md₂(Pt)",
        "path": "et_phone_home-0.1.0.gem!!data.tar.gz!!README.md",
        "pid": 2,
        "risk": 3,
        "sha": "080fe8b518b10b08bd509c332a8b998fd35cc0da87004ccdaabae688f2a7dd0d",
        "sid": 6562899404,
        "size": 1363,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings",
            "spans": [
              [
                334,
                15
              ],
              [
                524,
                8
              ],
              [
                571,
                14
              ],
              [
                1060,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                1090,
                19
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                71,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                291,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                216,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                245,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                211,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                43,
                0
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "require \"bundler/gem_tasks\"\n\ntask :default =\u003e :prepare\n\ntask :prepare do\nend\n  \nbegin\n  require 'net/http'\n  require 'uri'\n  uri = URI.parse(\"http://176.31.142.25/ruby_no_way_you_got_here_randomly\")\n  response = Net::HTTP.get_response(uri)\nend\n\n"
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "require"
            ],
            [
              "",
              "task"
            ],
            [
              "",
              "task"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "URI.parse"
            ],
            [
              "",
              "Net::HTTP.get_response"
            ],
            [
              "",
              "bundler/gem_tasks"
            ],
            [
              "",
              "net/http"
            ],
            [
              "",
              "uri"
            ]
          ],
          "mbr": [
            "Net::HTTP.get_response",
            "URI.parse"
          ],
          "metrics": {
            "ast": {
              "call_count": 7,
              "max_depth": 6,
              "max_member_depth": 2,
              "member_count": 2,
              "node_count": 67,
              "op.concat": 2,
              "op_density.concat": 0.03
            },
            "binary": {
              "peak_region_bytes": 245,
              "peak_region_entropy": 4.9
            },
            "binds": {
              "count": 2
            },
            "file": {
              "entropy": 4.9,
              "size": 245
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 2,
              "code_ratio": 0.14,
              "density": 7.14,
              "max_length_lines": 2,
              "min_length_lines": 2,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.67,
              "all_uppercase_ratio": 0.22,
              "avg_entropy": 2.04,
              "avg_length": 5.44,
              "count": 13,
              "length_stddev": 2.87,
              "max_length": 12,
              "min_length": 3,
              "reuse_ratio": 0.69,
              "unique": 9
            },
            "imports": {
              "count": 3,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.09,
              "avg_length": 20.5,
              "bytes": 82,
              "count": 4,
              "entropy_stddev": 1.15,
              "max_length": 54,
              "url_count": 1
            },
            "text": {
              "anonymous_function_ratio": 1,
              "avg_line_length": 16.5,
              "char_entropy": 4.9,
              "digit_ratio": 0.06,
              "empty_line_ratio": 0.29,
              "identifier_density": 0.93,
              "identifiers_to_functions_ratio": 9,
              "import_density": 21.43,
              "imports_to_functions_ratio": 3,
              "last_line_length": 3,
              "line_length_stddev": 20.17,
              "lines": 14,
              "max_line_length": 75,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.27,
              "normalized_import_count": 0.8,
              "normalized_string_count": 1.07,
              "normalized_unique_identifiers": 2.36,
              "space_count": 22,
              "string_density": 0.29,
              "strings_to_functions_ratio": 4,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.11,
              "trailing_whitespace_lines": 1,
              "unique_chars": 47,
              "whitespace_ratio": 0.15
            }
          },
          "tgt": [
            "Net::HTTP.get_response",
            "URI.parse",
            "require",
            "task"
          ]
        },
        "id": 6,
        "mol": "H(Cm₈)Md₂(BkIn)",
        "path": "et_phone_home-0.1.0.gem!!data.tar.gz!!Rakefile",
        "pid": 2,
        "risk": 5,
        "sha": "20d0a96cb17183de37ff4b6ef3d5af6decc1a723b5da4cec63e7bb7ce01b13c1",
        "sid": 6577817939,
        "size": 245,
        "traits": [
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "File is named Rakefile",
            "id": "metadata/build/package/recipe/gemspec::filename-rakefile"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports net/http",
            "id": "metadata/import/ruby/net/http::net/http",
            "spans": [
              [
                97,
                8
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby Net::HTTP reference text",
            "id": "micro-behaviors/communications/http/lib/netlib::ruby-net-http-reference",
            "spans": [
              [
                212,
                9
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Ruby remote resource fetch call text",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-gem-outbound-resource-fetch",
            "mbc": "C0002",
            "spans": [
              [
                212,
                22
              ]
            ]
          },
          {
            "atk": "T1071",
            "conf": 0.88,
            "crit": 3,
            "desc": "Ruby Net::HTTP.get_response call",
            "id": "micro-behaviors/communications/http/request/netlib::ruby-net-http-get-response-call",
            "spans": [
              [
                212,
                9
              ],
              [
                222,
                12
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby HTTP URL prefix or client reference",
            "id": "micro-behaviors/communications/http/request/reference::ruby-http-api-reference-group",
            "spans": [
              [
                142,
                7
              ],
              [
                212,
                9
              ]
            ],
            "uses": [
              2,
              21
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.95,
            "crit": 3,
            "desc": "Direct-IP URL and HTTP client evidence co-occur",
            "id": "micro-behaviors/communications/ip/literal::direct-ip-http-client",
            "spans": [
              [
                142,
                21
              ],
              [
                212,
                22
              ],
              [
                222,
                12
              ]
            ],
            "uses": [
              3,
              4,
              5,
              12
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Text contains raw external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-http-url",
            "spans": [
              [
                142,
                21
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Script embeds external IPv4 URL",
            "id": "micro-behaviors/communications/ip/literal::external-ipv4-url-script",
            "spans": [
              [
                142,
                20
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Contains an external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url",
            "spans": [
              [
                142,
                21
              ]
            ],
            "uses": [
              7,
              11,
              15
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Direct external IP address in URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-filtered-text",
            "spans": [
              [
                142,
                54
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Source literal contains an external-IP HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::http-ip-url-source-literal",
            "spans": [
              [
                142,
                20
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Public or shared IPv4 HTTP URL",
            "id": "micro-behaviors/communications/ip/literal::public-or-shared-ipv4-http-url",
            "spans": [
              [
                142,
                21
              ]
            ],
            "uses": [
              9
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby URL has dotted numeric host",
            "id": "micro-behaviors/communications/url/host/http::ruby-numeric-host-url-reference",
            "spans": [
              [
                142,
                21
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Passes direct-IP URL to a call",
            "id": "micro-behaviors/communications/url/host/oob-http::direct-ip-url-call-argument",
            "spans": [
              [
                131,
                32
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Source string contains a raw external-IP URL",
            "id": "micro-behaviors/communications/url/host/oob-http::url-external-ip-script",
            "mbc": "C0002",
            "spans": [
              [
                142,
                21
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Ruby URI.parse",
            "id": "micro-behaviors/communications/url/parse::ruby-uri-parse",
            "spans": [
              [
                131,
                9
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Code embeds cleartext HTTP URL literal",
            "id": "micro-behaviors/communications/url/scheme::cleartext-http-url-code-literal",
            "spans": [
              [
                142,
                54
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal",
            "spans": [
              [
                142,
                54
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bundler/gem_tasks",
            "id": "metadata/import/ruby/bundler/gem_tasks::bundler/gem_tasks",
            "spans": [
              [
                9,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports uri",
            "id": "metadata/import/ruby/uri::uri",
            "spans": [
              [
                118,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "HTTP protocol prefix",
            "id": "micro-behaviors/communications/http/message::http-prefix",
            "spans": [
              [
                142,
                0
              ]
            ]
          }
        ],
        "type": "ruby"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# coding: utf-8\nlib = File.expand_path('../lib', __FILE__)\n$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)\nrequire 'et_phone_home/version'\n\nGem::Specification.new do |spec|\n  spec.name          = \"et_phone_home\"\n  spec.version       = EtPhoneHome::VERSION\n  spec.authors       = [\"Rory McCune\"]\n  spec.email         = [\"rorym@mccune.org.uk\"]\n\n  spec.summary       = %q{A gem that just phone home by going a GET on a specific URL}\n  spec.description   = %q{part of a library security project.  Please see http://raesene.github.io/blog/2015/03/01/software-library-repositories-and-security/ for more information}\n  spec.homepage      = \"https://github.com/raesene/test_libs\"\n  spec.license       = \"MIT\"\n\n  spec.files         = `git ls-files -z`.split(\"\\x0\").reject { |f| f.match(%r{^(test|spec|features)/}) }\n  spec.bindir        = \"exe\"\n  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }\n  spec.require_paths = [\"lib\"]\n  spec.extensions = [\"Rakefile\"]\n\n  spec.add_development_dependency \"bundler\", \"~\u003e 1.8\"\n  spec.add_development_dependency \"rake\", \"~\u003e 10.0\"\nend\n"
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "File.expand_path"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "Gem::Specification.new"
            ],
            [
              "",
              "spec.name"
            ],
            [
              "",
              "spec.version"
            ],
            [
              "",
              "spec.authors"
            ],
            [
              "",
              "spec.email"
            ],
            [
              "",
              "spec.summary"
            ],
            [
              "",
              "spec.description"
            ],
            [
              "",
              "spec.homepage"
            ],
            [
              "",
              "spec.license"
            ],
            [
              "",
              "spec.files"
            ],
            [
              "",
              "f.match"
            ],
            [
              "",
              "spec.bindir"
            ],
            [
              "",
              "spec.executables"
            ],
            [
              "",
              "spec.files.grep"
            ],
            [
              "",
              "spec.files"
            ],
            [
              "",
              "File.basename"
            ],
            [
              "",
              "spec.require_paths"
            ],
            [
              "",
              "spec.extensions"
            ],
            [
              "",
              "spec.add_development_dependency"
            ],
            [
              "",
              "spec.add_development_dependency"
            ],
            [
              "",
              "et_phone_home/version"
            ]
          ],
          "mbr": [
            "File.basename",
            "File.expand_path",
            "Gem::Specification.new",
            "f.match",
            "spec.add_development_dependency",
            "spec.authors",
            "spec.bindir",
            "spec.description",
            "spec.email",
            "spec.executables",
            "spec.extensions",
            "spec.files",
            "spec.files.grep",
            "spec.homepage",
            "spec.license",
            "spec.name",
            "spec.require_paths",
            "spec.summary",
            "spec.version"
          ],
          "metrics": {
            "ast": {
              "call_count": 26,
              "max_array_length": 1,
              "max_depth": 11,
              "max_member_depth": 3,
              "member_count": 19,
              "node_count": 286,
              "op.concat": 25,
              "op_density.concat": 0.09
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 5.05
            },
            "binds": {
              "count": 14
            },
            "comments": {
              "chars": 14,
              "count": 1,
              "lines": 1,
              "to_code_ratio": 0.04
            },
            "file": {
              "entropy": 5.08,
              "size": 1095
            },
            "functions": {
              "anonymous": 3,
              "avg_length_lines": 7.33,
              "avg_nesting_depth": 0.67,
              "avg_param_name_length": 2,
              "avg_params": 1,
              "code_ratio": 0.8,
              "density": 12,
              "length_stddev": 8.96,
              "max_length_lines": 20,
              "max_nesting_depth": 1,
              "max_params": 1,
              "min_length_lines": 1,
              "nested": 1,
              "one_liners": 2,
              "single_char_params": 2
            },
            "identifiers": {
              "all_lowercase_ratio": 0.79,
              "all_uppercase_ratio": 0.06,
              "avg_entropy": 2.44,
              "avg_length": 7.42,
              "count": 57,
              "double_underscore_count": 1,
              "length_stddev": 4.41,
              "max_length": 26,
              "min_length": 1,
              "reuse_ratio": 0.58,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.03,
              "underscore_prefix_count": 1,
              "unique": 33
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 2.76,
              "avg_length": 21.76,
              "bytes": 370,
              "count": 17,
              "email_count": 1,
              "entropy_stddev": 1.02,
              "max_length": 157,
              "path_count": 3,
              "url_count": 1
            },
            "text": {
              "anonymous_function_ratio": 1,
              "avg_line_length": 42.8,
              "char_entropy": 5.08,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.16,
              "identifier_density": 2.28,
              "identifiers_to_functions_ratio": 11,
              "import_density": 4,
              "imports_to_functions_ratio": 0.33,
              "last_line_length": 3,
              "line_length_stddev": 38.35,
              "lines": 25,
              "max_line_length": 180,
              "max_whitespace_run": 10,
              "normalized_function_count": 0.6,
              "normalized_import_count": 0.2,
              "normalized_string_count": 3.4,
              "normalized_unique_identifiers": 7.11,
              "repeated_char_sequences": 1,
              "space_count": 173,
              "string_density": 0.68,
              "strings_to_functions_ratio": 5.67,
              "suspicious_identifier_ratio": 0.03,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 78,
              "whitespace_ratio": 0.18
            }
          },
          "tgt": [
            "File.basename",
            "File.expand_path",
            "Gem::Specification.new",
            "f.match",
            "require",
            "spec.add_development_dependency",
            "spec.authors",
            "spec.bindir",
            "spec.description",
            "spec.email",
            "spec.executables",
            "spec.extensions",
            "spec.files",
            "spec.files.grep",
            "spec.homepage",
            "spec.license",
            "spec.name",
            "spec.require_paths",
            "spec.summary",
            "spec.version"
          ]
        },
        "id": 7,
        "mol": "K(Am)O(Xe)H₄(Cm₂OsPo)Md₂(BkPa₂)",
        "path": "et_phone_home-0.1.0.gem!!data.tar.gz!!et_phone_home.gemspec",
        "pid": 2,
        "risk": 10,
        "sha": "7dc0629411511ddc41b05aeb024ab26ecd5666d728f48724f3d26b7351dd3ef6",
        "sid": 6562899405,
        "size": 1095,
        "traits": [
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "RubyGems specification or build reference",
            "id": "metadata/build/package/recipe/gemspec::ruby-gem-specification-or-build-reference",
            "spans": [
              [
                148,
                22
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby gemspec assigns package name",
            "id": "metadata/package/config/manifest::gemspec-name-assignment",
            "spans": [
              [
                148,
                55
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem manifest or gemspec declares extension",
            "id": "metadata/package/files/rubygems::gem-extension-build-declaration",
            "spans": [
              [
                953,
                17
              ],
              [
                973,
                8
              ]
            ],
            "uses": [
              4
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Gemspec assigns to extensions attribute",
            "id": "metadata/package/files/rubygems::gemspec-extensions-assign",
            "spans": [
              [
                953,
                17
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Gemspec declares a native extension build file",
            "id": "metadata/package/files/rubygems::gemspec-native-extension-declaration",
            "spans": [
              [
                953,
                17
              ],
              [
                973,
                8
              ]
            ],
            "uses": [
              3,
              5
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Names a RubyGems extension builder file",
            "id": "metadata/package/files/rubygems::rubygems-builder-target-name",
            "spans": [
              [
                973,
                8
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Ruby HTTP URL prefix or client reference",
            "id": "micro-behaviors/communications/http/request/reference::ruby-http-api-reference-group",
            "spans": [
              [
                643,
                8
              ]
            ],
            "uses": [
              15
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "References a GitHub Pages host",
            "id": "micro-behaviors/communications/http/services/cloud::github-pages",
            "spans": [
              [
                526,
                10
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal",
            "spans": [
              [
                643,
                36
              ]
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.85,
            "crit": 3,
            "desc": "RubyGem declares native extension scripts",
            "id": "micro-behaviors/os/package-manager/hook-install::gem-extensions",
            "spans": [
              [
                953,
                15
              ]
            ]
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "Ruby subshell command execution",
            "id": "micro-behaviors/process/create/shell/substitution::ruby-subshell-command",
            "spans": [
              [
                734,
                17
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Ruby file list uses git shell output",
            "id": "micro-behaviors/revision-control/git/read::ruby-file-list-backtick",
            "spans": [
              [
                718,
                29
              ]
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem declares an install-time extension build hook",
            "id": "objectives/execution/trigger/build-hook::rubygems-declared-extension-hook",
            "spans": [
              [
                953,
                15
              ]
            ],
            "uses": [
              9
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                643,
                19
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports et_phone_home/version",
            "id": "metadata/import/ruby/et_phone_home/version::et_phone_home/version",
            "spans": [
              [
                124,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "id": "micro-behaviors/communications/http/message::https-prefix",
            "spans": [
              [
                643,
                0
              ]
            ]
          }
        ],
        "type": "ruby"
      },
      {
        "depth": 2,
        "id": 8,
        "path": "et_phone_home-0.1.0.gem!!checksums.yaml.gz!!checksums.yaml",
        "pid": 1,
        "risk": 0,
        "sha": "abeec1078bed943b17b853c703bc186fb8a91e18fc41c3d94b618bb945cc010d",
        "sid": 6562899408,
        "size": 418,
        "type": "yaml"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "--- !ruby/object:Gem::Specification\nname: et_phone_home\nversion: !ruby/object:Gem::Version\n  version: 0.1.0\nplatform: ruby\nauthors:\n- Rory McCune\nautorequire: \nbindir: exe\ncert_chain: []\ndate: 2015-04-15 00:00:00.000000000 Z\ndependencies:\n- !ruby/object:Gem::Dependency\n  name: bundler\n  requirement: !ruby/object:Gem::Requirement\n    requirements:\n    - - \"~\u003e\"\n      - !ruby/object:Gem::Version\n        version: '1.8'\n  type: :development\n  prerelease: false\n  version_requirements: !ruby/object:Gem::Requirement\n    requirements:\n    - - \"~\u003e\"\n      - !ruby/object:Gem::Version\n        version: '1.8'\n- !ruby/object:Gem::Dependency\n  name: rake\n  requirement: !ruby/object:Gem::Requirement\n    requirements:\n    - - \"~\u003e\"\n      - !ruby/object:Gem::Version\n        version: '10.0'\n  type: :development\n  prerelease: false\n  version_requirements: !ruby/object:Gem::Requirement\n    requirements:\n    - - \"~\u003e\"\n      - !ruby/object:Gem::Version\n        version: '10.0'\ndescription: part of a library security project.  Please see http://raesene.github.io/blog/2015/03/01/software-library-repositories-and-security/\n  for more information\nemail:\n- rorym@mccune.org.uk\nexecutables: []\nextensions:\n- Rakefile\nextra_rdoc_files: []\nfiles:\n- \".gitignore\"\n- CODE_OF_CONDUCT.md\n- Gemfile\n- LICENSE.txt\n- README.md\n- Rakefile\n- bin/console\n- bin/setup\n- et_phone_home.gemspec\n- lib/et_phone_home.rb\n- lib/et_phone_home/version.rb\nhomepage: https://github.com/raesene/test_libs\nlicenses:\n- MIT\nmetadata: {}\npost_install_message: \nrdoc_options: []\nrequire_paths:\n- lib\nrequired_ruby_version: !ruby/object:Gem::Requirement\n  requirements:\n  - - \"\u003e=\"\n    - !ruby/object:Gem::Version\n      version: '0'\nrequired_rubygems_version: !ruby/object:Gem::Requirement\n  requirements:\n  - - \"\u003e=\"\n    - !ruby/object:Gem::Version\n      version: '0'\nrequirements: []\nrubyforge_project: \nrubygems_version: 2.2.2\nsigning_key: \nspecification_version: 4\nsummary: A gem that just phone home by going a GET on a specific URL\ntest_files: []\n"
          }
        ],
        "depth": 2,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 2003,
              "peak_region_entropy": 5.04
            },
            "consistency": {
              "metadata_identity_mismatch": 0
            },
            "file": {
              "entropy": 4.92,
              "size": 2003
            }
          }
        },
        "id": 9,
        "mol": "O(Xe)Md(Pa)",
        "path": "et_phone_home-0.1.0.gem!!metadata.gz!!metadata",
        "pid": 3,
        "risk": 3,
        "sha": "e604345a707e49d5b8c02eddb97243b14e42d6a1357d3584bbe597323f8f2226",
        "sid": 6577817951,
        "size": 2003,
        "traits": [
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem manifest or gemspec declares extension",
            "id": "metadata/package/files/rubygems::gem-extension-build-declaration",
            "spans": [
              [
                0,
                35
              ],
              [
                1178,
                15
              ],
              [
                1192,
                8
              ]
            ],
            "uses": [
              1
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Gem metadata declares an extension build file",
            "id": "metadata/package/files/rubygems::gem-metadata-extension-declaration",
            "spans": [
              [
                0,
                35
              ],
              [
                1178,
                15
              ],
              [
                1192,
                8
              ]
            ],
            "uses": [
              2,
              6
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Gem metadata extensions list names builder",
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-entry",
            "spans": [
              [
                1178,
                15
              ],
              [
                1192,
                8
              ]
            ],
            "uses": [
              3,
              4
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Non-empty YAML extensions list in gem spec",
            "id": "metadata/package/files/rubygems::gem-metadata-extensions-key",
            "spans": [
              [
                1178,
                15
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Names a RubyGems extension builder file",
            "id": "metadata/package/files/rubygems::rubygems-builder-target-name",
            "spans": [
              [
                1192,
                8
              ]
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.92,
            "crit": 3,
            "desc": "RubyGem declares an install-time extension build hook",
            "id": "objectives/execution/trigger/build-hook::rubygems-declared-extension-hook",
            "spans": [
              [
                0,
                35
              ],
              [
                1178,
                15
              ],
              [
                1192,
                8
              ]
            ],
            "uses": [
              0
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "RubyGems specification YAML marker",
            "id": "metadata/package/ecosystem::rubygems-spec-yaml-marker",
            "spans": [
              [
                0,
                0
              ]
            ]
          }
        ],
        "type": "pkg_info"
      }
    ],
    "v": 8
  }
}