{"schema_version":6,"evaluation":{"evaluation_date":"2026-08-11","suppression_sources":[{"path":".bifrost/suppressions.json","state":"not_found"},{"path":".bifrost/suppressions.private.json","state":"not_found"},{"path":".bifrost/suppressions.local.json","state":"not_found"}],"scope_path":".bifrost/policy-scope.json","scope_document_state":"not_found"},"execution":{"total_elapsed_ms":0,"stage_timings":[],"termination":null,"terminal_stage":null,"active_policy_id":null,"completed_policy_ids":[],"pending_policy_ids":[]},"rules":[{"policy_id":"dataflowbench.taint.core-direct","policy_hash":"919055b74efc001da6dc6e3d47beddde0a36719ee375693a32cc47f185eee109","analysis_type":"taint","policy_schema":{"version":1,"origin":"explicit"},"selector_schemas":[{"path":"/analysis/sinks/entries/sink/selector","resolution":{"version":1,"origin":"explicit"}},{"path":"/analysis/sources/entries/input/selector","resolution":{"version":1,"origin":"explicit"}}],"endpoint_dependencies":[{"identity":{"type":"local","policy_id":"dataflowbench.taint.core-direct","entry_id":"input"},"definition_schema":{"type":"policy_document","resolution":{"version":1,"origin":"explicit"}},"selector_path":"/analysis/sources/entries/input/selector","selector_schema":{"version":1,"origin":"explicit"},"model":{"role":"source","display_name":"benchmark input","categories":["input.user-controlled"],"binding":{"type":"return_value"},"taint":{"type":"source","labels":["attacker-controlled"],"threat_model":null,"evidence":null},"supersedes":[]},"semantic_hash":"326a91d4d2c58d6d72195311a5702537cac61000fed9f3158757f661a2b8e355","analysis_projection_hash":"c8f90d5c36c265365b2d0257a89379e3bc8b0881b6002a8e2cc56bacc7efb6c9","origins":[{"type":"policy_local","path":"/analysis/sources/entries/input"}]},{"identity":{"type":"local","policy_id":"dataflowbench.taint.core-direct","entry_id":"sink"},"definition_schema":{"type":"policy_document","resolution":{"version":1,"origin":"explicit"}},"selector_path":"/analysis/sinks/entries/sink/selector","selector_schema":{"version":1,"origin":"explicit"},"model":{"role":"sink","display_name":"benchmark sink","categories":["data.sensitive"],"binding":{"type":"argument_index","index":0},"taint":{"type":"sink","accepts":["attacker-controlled"],"tags":[],"impacts":[]},"supersedes":[]},"semantic_hash":"4fc08930c2c52087466f412f48fc77fbdc22943347412b1a49bfffca2cbe96a2","analysis_projection_hash":"65748ac1edc4d6e7efe6fc87bee0b870233766706f1a60f6b20f7246ba6dd9f0","origins":[{"type":"policy_local","path":"/analysis/sinks/entries/sink"}]}],"match_directory_manifests":[],"endpoint_set_dependencies":[],"precedence_manifest":{"edges":[]},"name":"DataFlowBench controlled direct taint","message":{"type":"static","text":"Controlled input reaches the direct benchmark sink"},"severity":{"type":"fixed","level":"warning"},"description":null,"help_uri":null,"tags":[]}],"runs":[{"policy_id":"dataflowbench.taint.core-direct","policy_hash":"919055b74efc001da6dc6e3d47beddde0a36719ee375693a32cc47f185eee109","analysis_type":"taint","completion":{"type":"complete"},"findings":[{"id":"bae7ca6151cb542c033a1e0030f62959489bb91eb74e66eadb9d6add4d895c65","identity_stability":"strong","policy_id":"dataflowbench.taint.core-direct","policy_hash":"919055b74efc001da6dc6e3d47beddde0a36719ee375693a32cc47f185eee109","analysis_type":"taint","severity":"warning","message":"Controlled input reaches the direct benchmark sink","classification":{"type":"unclassified"},"certainty":{"type":"definite"},"completeness":{"type":"complete"},"primary":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"related":[{"relationship":"source","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"evidence_refs":[]}],"related_truncated":false,"omitted_related_locations_lower_bound":0,"evidence":{"type":"taint","evidence":{"analysis_finding_id":"bifrost:995ae03c3db0ee6f6d23cf5421bbd0bf17dbbc7f0ae9b351a1b5214ba33d2b63","anchor":{"type":"strong","sink_identity":{"namespace":"ruby","path":"direct_flow.rb","derivation":"canonical_ast_identity","semantic_key":"[[\"file\",\"direct_flow.rb\"],[\"method\",\"run\"],[\"program_point\",null]]"},"sink_site_ordinal":0,"source_endpoint_analysis_projection_hash":"c8f90d5c36c265365b2d0257a89379e3bc8b0881b6002a8e2cc56bacc7efb6c9","sink_endpoint_analysis_projection_hash":"65748ac1edc4d6e7efe6fc87bee0b870233766706f1a60f6b20f7246ba6dd9f0","source_scenario_set_hash":"d192399c87cbfe7cedf107f75258e6db65e88b5d5ae757567afaf6999954c106"},"sink":"bifrost:c004632329bf42133afb2d2ea3c8e8a0b774f7bbcc38ca7d0a37e399631e0f36","source_endpoint":{"type":"local","policy_id":"dataflowbench.taint.core-direct","entry_id":"input"},"sink_endpoint":{"type":"local","policy_id":"dataflowbench.taint.core-direct","entry_id":"sink"},"source_display_name":"benchmark input","source_threat_model":null,"sink_display_name":"benchmark sink","source_categories":["input.user-controlled"],"sink_categories":["data.sensitive"],"selected_combination":null,"sink_tags":[],"sink_impacts":[],"reached_source_labels":["attacker-controlled"],"origins":[{"source_endpoint":{"type":"local","policy_id":"dataflowbench.taint.core-direct","entry_id":"input"},"source_label":"attacker-controlled","source_threat_model":null,"source_evidence":null,"primary":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"scenario_id":"bifrost:549cbc4a408f3533f0b42961339b839f1206b018279d04c78cfbded60c158239:source-event:0","evidence_refs":["bifrost:2589f6caf809677457855132c6414c69f1f2ad6d1952d0dfe9fa6102678cfc7f"],"certainty":{"type":"definite"}}],"origins_truncated":false,"source_scenarios":["bifrost:549cbc4a408f3533f0b42961339b839f1206b018279d04c78cfbded60c158239:source-event:0"],"source_scenarios_truncated":false,"omitted_source_scenarios_lower_bound":0,"source_scenario_set_hash":"d192399c87cbfe7cedf107f75258e6db65e88b5d5ae757567afaf6999954c106","witness_refs":["bifrost:23b75fc7335a4378815500c3c507aa573d04a261931fa4df6bb4177def4a8909","bifrost:63d254efad7429936dd60a6f8da6fe985911afc5a4f9d78fdd081af73d992e20","bifrost:a422113d4b9a0539f2e6795eaa41280f0334d725e01fc442a7ec52ee0162c251"],"witness_refs_truncated":false,"projection_facts_hash":"28309e5c18038f74baaebf8ff2fd66943f61f4223e93f824606f7e4764b77ae8"}},"evidence_refs_truncated":false,"omitted_evidence_refs_lower_bound":0,"cvss":null,"organizational_risk":null,"proof":{"state":"proven","reasons":[{"type":"dataflow_witness"}],"evidence_refs":[]},"witnesses":[{"id":"bifrost:23b75fc7335a4378815500c3c507aa573d04a261931fa4df6bb4177def4a8909","steps":[{"kind":"source","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":1412},{"id":"bifrost:63d254efad7429936dd60a6f8da6fe985911afc5a4f9d78fdd081af73d992e20","steps":[{"kind":"source","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":1412},{"id":"bifrost:a422113d4b9a0539f2e6795eaa41280f0334d725e01fc442a7ec52ee0162c251","steps":[{"kind":"source","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":108,"end":118},"region":{"start_line":8,"start_column":1,"end_line":9,"end_column":3}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":1412}],"witnesses_truncated":false,"omitted_witnesses_lower_bound":0,"display_path":{"schema_version":1,"representative_witness_id":"bifrost:23b75fc7335a4378815500c3c507aa573d04a261931fa4df6bb4177def4a8909","witness_ids":["bifrost:23b75fc7335a4378815500c3c507aa573d04a261931fa4df6bb4177def4a8909","bifrost:63d254efad7429936dd60a6f8da6fe985911afc5a4f9d78fdd081af73d992e20","bifrost:a422113d4b9a0539f2e6795eaa41280f0334d725e01fc442a7ec52ee0162c251"],"steps":[{"kind":"source","location":{"path":"direct_flow.rb","byte_span":{"start":127,"end":137},"region":{"start_line":9,"start_column":12,"end_line":9,"end_column":22}},"label":"dfb_source"},{"kind":"sink","location":{"path":"direct_flow.rb","byte_span":{"start":118,"end":138},"region":{"start_line":9,"start_column":3,"end_line":9,"end_column":23}},"label":"dfb_sink(dfb_source)"}],"canonical_incomplete":false,"omitted_meaningful_steps":0,"alternatives_truncated":false,"omitted_alternative_paths_lower_bound":0,"omitted_witnesses_lower_bound":0},"suppression":null,"scope":null}],"diagnostics":[],"diagnostics_truncated":false,"obligations":[],"obligations_truncated":false,"omitted_obligations_lower_bound":0,"work":{"scanned_files":2,"scanned_source_bytes":288,"fact_nodes":32,"pipeline_rows":2,"examined_references":0,"retained_findings":1,"omitted_findings_lower_bound":0,"retained_report_bytes":15440,"metrics":[{"name":"taint.attribution_attempts","unit":"count","value":3},{"name":"taint.attribution_candidate_exhaustions","unit":"count","value":0},{"name":"taint.attribution_expansions","unit":"count","value":21},{"name":"taint.attribution_run_exhaustions","unit":"count","value":0},{"name":"taint.attribution_steps","unit":"count","value":21},{"name":"taint.compiled_sink_endpoints","unit":"count","value":1},{"name":"taint.compiled_source_endpoints","unit":"count","value":1},{"name":"taint.propagation_shared_memberships","unit":"count","value":0},{"name":"taint.propagation_solves","unit":"count","value":1},{"name":"taint.selector_scans","unit":"count","value":2},{"name":"taint.semantic_cumulative_allocations","unit":"rows","value":0},{"name":"taint.semantic_cumulative_blocks","unit":"rows","value":18},{"name":"taint.semantic_cumulative_call_sites","unit":"rows","value":8},{"name":"taint.semantic_cumulative_captures","unit":"rows","value":0},{"name":"taint.semantic_cumulative_control_edges","unit":"rows","value":25},{"name":"taint.semantic_cumulative_events","unit":"rows","value":96},{"name":"taint.semantic_cumulative_evidence","unit":"rows","value":59},{"name":"taint.semantic_cumulative_gaps","unit":"rows","value":33},{"name":"taint.semantic_cumulative_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_cumulative_nested_entries","unit":"rows","value":355},{"name":"taint.semantic_cumulative_owned_text_bytes","unit":"bytes","value":2307},{"name":"taint.semantic_cumulative_procedures","unit":"rows","value":9},{"name":"taint.semantic_cumulative_program_points","unit":"rows","value":80},{"name":"taint.semantic_cumulative_source_bytes","unit":"bytes","value":432},{"name":"taint.semantic_cumulative_source_mappings","unit":"rows","value":39},{"name":"taint.semantic_cumulative_values","unit":"rows","value":45},{"name":"taint.semantic_handle_identity_reuses","unit":"count","value":0},{"name":"taint.semantic_materialized_files","unit":"count","value":2},{"name":"taint.semantic_peak_retained_bytes","unit":"bytes","value":2307},{"name":"taint.semantic_peak_row_dimension","unit":"rows","value":329},{"name":"taint.semantic_peak_traversal_steps","unit":"count","value":13},{"name":"taint.semantic_program_points","unit":"rows","value":80},{"name":"taint.semantic_resident_peak_allocations","unit":"rows","value":0},{"name":"taint.semantic_resident_peak_blocks","unit":"rows","value":18},{"name":"taint.semantic_resident_peak_call_sites","unit":"rows","value":2},{"name":"taint.semantic_resident_peak_captures","unit":"rows","value":0},{"name":"taint.semantic_resident_peak_control_edges","unit":"rows","value":25},{"name":"taint.semantic_resident_peak_events","unit":"rows","value":38},{"name":"taint.semantic_resident_peak_evidence","unit":"rows","value":39},{"name":"taint.semantic_resident_peak_gaps","unit":"rows","value":9},{"name":"taint.semantic_resident_peak_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_resident_peak_nested_entries","unit":"rows","value":265},{"name":"taint.semantic_resident_peak_owned_text_bytes","unit":"bytes","value":2302},{"name":"taint.semantic_resident_peak_procedures","unit":"rows","value":4},{"name":"taint.semantic_resident_peak_program_points","unit":"rows","value":32},{"name":"taint.semantic_resident_peak_retained_bytes","unit":"bytes","value":2302},{"name":"taint.semantic_resident_peak_source_bytes","unit":"bytes","value":144},{"name":"taint.semantic_resident_peak_source_mappings","unit":"rows","value":39},{"name":"taint.semantic_resident_peak_values","unit":"rows","value":19},{"name":"taint.semantic_result_contract_artifact_leases","unit":"count","value":0},{"name":"taint.semantic_root_work_peak_allocations","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_blocks","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_call_sites","unit":"rows","value":4},{"name":"taint.semantic_root_work_peak_captures","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_control_edges","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_events","unit":"rows","value":38},{"name":"taint.semantic_root_work_peak_evidence","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_gaps","unit":"rows","value":24},{"name":"taint.semantic_root_work_peak_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_nested_entries","unit":"rows","value":64},{"name":"taint.semantic_root_work_peak_owned_text_bytes","unit":"bytes","value":5},{"name":"taint.semantic_root_work_peak_procedures","unit":"rows","value":1},{"name":"taint.semantic_root_work_peak_program_points","unit":"rows","value":24},{"name":"taint.semantic_root_work_peak_source_bytes","unit":"bytes","value":144},{"name":"taint.semantic_root_work_peak_source_mappings","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_values","unit":"rows","value":10},{"name":"taint.semantic_snapshot_materializations","unit":"count","value":3},{"name":"taint.semantic_source_bytes","unit":"bytes","value":288},{"name":"taint.semantic_traversal_steps","unit":"count","value":19},{"name":"taint.store_key_budget_hits","unit":"count","value":0},{"name":"taint.store_key_direct_literals","unit":"count","value":0},{"name":"taint.store_key_operands","unit":"count","value":0},{"name":"taint.store_key_recovered","unit":"count","value":0},{"name":"taint.store_key_unproven","unit":"count","value":0},{"name":"taint.store_key_work","unit":"count","value":0}]},"engine":{"icfg":{"reason":"language:ruby"}}}],"suppressions":[],"scope":[],"packs":{"document_path":".bifrost/packs.json","dependency_mode":"default","ecosystems":["ruby"],"complete":true,"decisions":[],"decisions_truncated":false},"diagnostics":[],"diagnostics_truncated":false,"omitted_diagnostics_lower_bound":0,"worst_omitted_diagnostic_severity":null}