def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith(".node"),
            any(
                [
                    event.deep_get("Signed", default="") == "false",
                    event.deep_get("SignatureStatus", default="") == "Unavailable",
                ]
            ),
            not all(
                [
                    event.deep_get("Image", default="").endswith("\\Code.exe"),
                    ".vscode\\extensions\\ms-toolsai.jupyter-"
                    in event.deep_get("ImageLoaded", default=""),
                    any(
                        [
                            event.deep_get("ImageLoaded", default="").endswith(
                                "\\electron.napi.node"
                            ),
                            event.deep_get("ImageLoaded", default="").endswith(
                                "\\node.napi.glibc.node"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
