{
    "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json",
    "version": "2.1.0",
    "runs": [
        {
            "originalUriBaseIds": {
                "%SRCROOT%": {
                    "uri": "/Users/dave/.codex/worktrees/9f01/dataflowbench/execution-state/v092/groups/series-01/opentaint-kotlin-kernel/attempt-01/tmp/dataflowbench-opentaint-kotlin/dfb-taint-kotlin-context-pair-depth2-positive/source"
                }
            },
            "tool": {
                "driver": {
                    "name": "OpenTaint",
                    "organization": "Seqra",
                    "rules": [
                        {
                            "defaultConfiguration": {
                                "level": "error"
                            },
                            "fullDescription": {
                                "markdown": "DataFlowBench benchmark-controlled endpoint flow",
                                "text": "DataFlowBench benchmark-controlled endpoint flow"
                            },
                            "id": ":dfb-opentaint-kernel",
                            "name": ":dfb-opentaint-kernel",
                            "properties": {
                                "tags": []
                            },
                            "shortDescription": {
                                "text": "OpenTaint Finding: :dfb-opentaint-kernel"
                            }
                        }
                    ],
                    "semanticVersion": "latest",
                    "version": "latest"
                }
            },
            "results": [
                {
                    "codeFlows": [
                        {
                            "threadFlows": [
                                {
                                    "locations": [
                                        {
                                            "executionOrder": 0,
                                            "kinds": [
                                                "call"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#run():0:(tainted = this.outerTainted())",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#run"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Inside of \"outerTainted\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 37,
                                                        "endLine": 27,
                                                        "startColumn": 9,
                                                        "startLine": 27
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 1,
                                            "kinds": [
                                                "taint"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#outerTainted():0:(%0 = this.dfb_source())",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#outerTainted"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Call to \"dfb_source\" puts marked data to a local variable"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 36,
                                                        "endLine": 19,
                                                        "startColumn": 24,
                                                        "startLine": 19
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 2,
                                            "kinds": [
                                                "call"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#outerTainted():1:(%1 = this.wrapper(%0))",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#outerTainted"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Calling \"wrapper\" with marked data at a local variable"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 37,
                                                        "endLine": 19,
                                                        "startColumn": 16,
                                                        "startLine": 19
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 3,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#wrapper(java.lang.String):0:(kotlin.jvm.internal.Intrinsics.checkNotNullParameter(value, \"value\"))",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#wrapper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Entering \"wrapper\" with marked data at \"value\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 39,
                                                        "endLine": 14,
                                                        "startColumn": 5,
                                                        "startLine": 14
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 4,
                                            "kinds": [
                                                "call"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#wrapper(java.lang.String):1:(%0 = this.helper(value))",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#wrapper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Calling \"helper\" with marked data at \"value\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 29,
                                                        "endLine": 15,
                                                        "startColumn": 16,
                                                        "startLine": 15
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 5,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#helper(java.lang.String):1:(return value)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#helper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Takes marked data at \"value\" and ends up with marked data at the returned value"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 21,
                                                        "endLine": 11,
                                                        "startColumn": 9,
                                                        "startLine": 11
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 6,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#helper(java.lang.String):1:(return value)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#helper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Exiting \"helper\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 6,
                                                        "endLine": 12,
                                                        "startColumn": 5,
                                                        "startLine": 12
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 7,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#wrapper(java.lang.String):2:(return %0)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#wrapper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "The returning value is assigned marked data from \"helper\" call"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 29,
                                                        "endLine": 15,
                                                        "startColumn": 9,
                                                        "startLine": 15
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 8,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#wrapper(java.lang.String):2:(return %0)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#wrapper"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Exiting \"wrapper\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 6,
                                                        "endLine": 16,
                                                        "startColumn": 5,
                                                        "startLine": 16
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 9,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#outerTainted():2:(return %1)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#outerTainted"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "The returning value is assigned marked data from \"wrapper\" call"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 37,
                                                        "endLine": 19,
                                                        "startColumn": 9,
                                                        "startLine": 19
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 10,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#outerTainted():2:(return %1)",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#outerTainted"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Exiting \"outerTainted\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 6,
                                                        "endLine": 20,
                                                        "startColumn": 5,
                                                        "startLine": 20
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 11,
                                            "kinds": [
                                                "unknown"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#run():0:(tainted = this.outerTainted())",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#run"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "Call to \"outerTainted\" puts marked data to \"tainted\""
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 37,
                                                        "endLine": 27,
                                                        "startColumn": 9,
                                                        "startLine": 27
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "executionOrder": 12,
                                            "kinds": [
                                                "taint"
                                            ],
                                            "location": {
                                                "logicalLocations": [
                                                    {
                                                        "decoratedName": "dataflowbench.ContextPairDepth2Positive#run():2:(this.dfb_sink(tainted))",
                                                        "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#run"
                                                    }
                                                ],
                                                "message": {
                                                    "text": "DataFlowBench benchmark-controlled endpoint flow"
                                                },
                                                "physicalLocation": {
                                                    "artifactLocation": {
                                                        "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                                        "uriBaseId": "%SRCROOT%"
                                                    },
                                                    "region": {
                                                        "endColumn": 26,
                                                        "endLine": 29,
                                                        "startColumn": 9,
                                                        "startLine": 29
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "level": "error",
                    "locations": [
                        {
                            "logicalLocations": [
                                {
                                    "decoratedName": "dataflowbench.ContextPairDepth2Positive#run():2:(this.dfb_sink(tainted))",
                                    "fullyQualifiedName": "dataflowbench.ContextPairDepth2Positive#run"
                                }
                            ],
                            "physicalLocation": {
                                "artifactLocation": {
                                    "uri": "dataflowbench/ContextPairDepth2Positive.kt",
                                    "uriBaseId": "%SRCROOT%"
                                },
                                "region": {
                                    "endColumn": 26,
                                    "endLine": 29,
                                    "startColumn": 9,
                                    "startLine": 29
                                }
                            }
                        }
                    ],
                    "message": {
                        "text": "DataFlowBench benchmark-controlled endpoint flow"
                    },
                    "ruleId": ":dfb-opentaint-kernel"
                }
            ]
        }
    ]
}