def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\node.exe"),
                    event.deep_get("OriginalFileName", default="") == "node.exe",
                    event.deep_get("Product", default="") == "Node.js",
                ]
            ),
            "http" in event.deep_get("CommandLine", default=""),
            "execSync" in event.deep_get("CommandLine", default=""),
            "spawn" in event.deep_get("CommandLine", default=""),
            "fs" in event.deep_get("CommandLine", default=""),
            "path" in event.deep_get("CommandLine", default=""),
            "zlib" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
