Skip to content

[BUG]: Incorrect node visualization #473

@cod3nym

Description

@cod3nym

Issue description

When visualizing my JSON data (see example below), one of the array elements is incorrectly rendered as a standalone node. Additionally, an internal array within that element is displayed as a separate node, rather than being nested as a child of the corresponding parent node.

Image

I expect each array element to be rendered as a separate node, with its corresponding child elements correctly attached to it. This behavior is consistent with what I observed when testing the same data in another visualization tool. (see screenshot)

Image

Below is the json data I used

[
  {
    "level": "Warning",
    "module": "Filescan",
    "message": "Malware file found",
    "score": 81,
    "context": {
      "ext": ".lnk",
      "file": "<REDACTED>",
      "firstbytes": "<REDACTED>",
      "md5": "<REDACTED>",
      "reasons_count": 2,
      "sample_id": 4,
      "sha1": "<REDACTED>",
      "sha256": "<REDACTED>",
      "size": 3012,
      "target": "nn.js ",
      "type": "LNK"
    },
    "matches": [
      {
        "author": "Jonathan Peters (cod3nym)",
        "matched": [
          "<REDACTED>,",
          "<REDACTED>"
        ],
        "reason": "<REDACTED>",
        "ref": "<REDACTED>",
        "ruledate": "2025-05-06",
        "rulename": "<REDACTED>",
        "sigclass": "YARA Rule",
        "sigtype": "custom",
        "subscore": 70
      },
      {
        "author": "Jonathan Peters (cod3nym)",
        "matched": null,
        "reason": "<REDACTED>",
        "ref": "<REDACTED>",
        "ruledate": "2025-05-08",
        "rulename": "<REDACTED>",
        "sigclass": "YARA Rule",
        "sigtype": "custom",
        "subscore": 70
      }
    ]
  }
]

Operating system

  • OS: Fedora Linux GNOME
  • Browser: Firefox

Priority this issue should have

Medium

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions