{"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":"5dffbbd2b5f6befefcbfbb87e3c787c9054898d8b9586ef91eb1585fff6052bf","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.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"related":[{"relationship":"source","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"evidence_refs":[]}],"related_truncated":false,"omitted_related_locations_lower_bound":0,"evidence":{"type":"taint","evidence":{"analysis_finding_id":"bifrost:b936664f0c9f6c797caa06d64d77df6c7c859cfa272bac8b7c4fc4a6de4fbe2d","anchor":{"type":"strong","sink_identity":{"namespace":"php","path":"direct_flow.php","derivation":"canonical_ast_identity","semantic_key":"[[\"file\",\"direct_flow.php\"],[\"function\",\"run\"],[\"program_point\",null]]"},"sink_site_ordinal":0,"source_endpoint_analysis_projection_hash":"c8f90d5c36c265365b2d0257a89379e3bc8b0881b6002a8e2cc56bacc7efb6c9","sink_endpoint_analysis_projection_hash":"65748ac1edc4d6e7efe6fc87bee0b870233766706f1a60f6b20f7246ba6dd9f0","source_scenario_set_hash":"abbfc6da39865a178c36798433d1d3ff8cb753158bec9dd1a7c5858d4d9401fe"},"sink":"bifrost:04094f2df5df121b998e4d7615fa717318ec80aef3d27562a52cac068e1f3d55","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.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"scenario_id":"bifrost:f08fcd497fae3d52117ba04e0280b6725c9ceba6305a5a4a1e89bf42931d9e5a:source-event:0","evidence_refs":["bifrost:88402044d5a584735935d114e665cecb9a7fc67f45e882645e552ea2af03caee"],"certainty":{"type":"definite"}}],"origins_truncated":false,"source_scenarios":["bifrost:f08fcd497fae3d52117ba04e0280b6725c9ceba6305a5a4a1e89bf42931d9e5a:source-event:0"],"source_scenarios_truncated":false,"omitted_source_scenarios_lower_bound":0,"source_scenario_set_hash":"abbfc6da39865a178c36798433d1d3ff8cb753158bec9dd1a7c5858d4d9401fe","witness_refs":["bifrost:4e9a69ee050f8827845e09338d9aff9ea8d26b72bdebe8e4d818c51fd6a6416f","bifrost:764679026ef9b089defcffb71ccb4433be916ee64851ae86c70d91ccea67af0c","bifrost:bcbda55bfa0b8feebf5bf152f47f322c202dac5ddda437491e64689de28fbb7e"],"witness_refs_truncated":false,"projection_facts_hash":"4ad9213bfe08681bd63f0cf049065297d9ff61522359e66a5d5eb04e5fb469ac"}},"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:4e9a69ee050f8827845e09338d9aff9ea8d26b72bdebe8e4d818c51fd6a6416f","steps":[{"kind":"source","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":180,"end":211},"region":{"start_line":8,"start_column":22,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":209},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":28}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":194},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":13}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":205},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":24}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":2339},{"id":"bifrost:764679026ef9b089defcffb71ccb4433be916ee64851ae86c70d91ccea67af0c","steps":[{"kind":"source","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":180,"end":211},"region":{"start_line":8,"start_column":22,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":209},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":28}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":194},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":13}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":205},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":24}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":2339},{"id":"bifrost:bcbda55bfa0b8feebf5bf152f47f322c202dac5ddda437491e64689de28fbb7e","steps":[{"kind":"source","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint source","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":159,"end":211},"region":{"start_line":8,"start_column":1,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":180,"end":211},"region":{"start_line":8,"start_column":22,"end_line":10,"end_column":2}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":209},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":28}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":194},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":13}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":205},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":24}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"taint propagation","evidence_refs":[]},{"kind":"propagation","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"label":"taint propagation","evidence_refs":[]}],"truncated":false,"omitted_steps_lower_bound":0,"retained_bytes":2339}],"witnesses_truncated":false,"omitted_witnesses_lower_bound":0,"display_path":{"schema_version":1,"representative_witness_id":"bifrost:4e9a69ee050f8827845e09338d9aff9ea8d26b72bdebe8e4d818c51fd6a6416f","witness_ids":["bifrost:4e9a69ee050f8827845e09338d9aff9ea8d26b72bdebe8e4d818c51fd6a6416f","bifrost:764679026ef9b089defcffb71ccb4433be916ee64851ae86c70d91ccea67af0c","bifrost:bcbda55bfa0b8feebf5bf152f47f322c202dac5ddda437491e64689de28fbb7e"],"steps":[{"kind":"source","location":{"path":"direct_flow.php","byte_span":{"start":195,"end":207},"region":{"start_line":9,"start_column":14,"end_line":9,"end_column":26}},"label":"dfb_source()"},{"kind":"sink","location":{"path":"direct_flow.php","byte_span":{"start":186,"end":208},"region":{"start_line":9,"start_column":5,"end_line":9,"end_column":27}},"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":426,"fact_nodes":38,"pipeline_rows":2,"examined_references":0,"retained_findings":1,"omitted_findings_lower_bound":0,"retained_report_bytes":18227,"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":36},{"name":"taint.attribution_run_exhaustions","unit":"count","value":0},{"name":"taint.attribution_steps","unit":"count","value":36},{"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":13},{"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":24},{"name":"taint.semantic_cumulative_events","unit":"rows","value":69},{"name":"taint.semantic_cumulative_evidence","unit":"rows","value":45},{"name":"taint.semantic_cumulative_gaps","unit":"rows","value":20},{"name":"taint.semantic_cumulative_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_cumulative_nested_entries","unit":"rows","value":287},{"name":"taint.semantic_cumulative_owned_text_bytes","unit":"bytes","value":1629},{"name":"taint.semantic_cumulative_procedures","unit":"rows","value":8},{"name":"taint.semantic_cumulative_program_points","unit":"rows","value":84},{"name":"taint.semantic_cumulative_source_bytes","unit":"bytes","value":639},{"name":"taint.semantic_cumulative_source_mappings","unit":"rows","value":33},{"name":"taint.semantic_cumulative_values","unit":"rows","value":25},{"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":1629},{"name":"taint.semantic_peak_row_dimension","unit":"rows","value":265},{"name":"taint.semantic_peak_traversal_steps","unit":"count","value":11},{"name":"taint.semantic_program_points","unit":"rows","value":84},{"name":"taint.semantic_resident_peak_allocations","unit":"rows","value":0},{"name":"taint.semantic_resident_peak_blocks","unit":"rows","value":13},{"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":24},{"name":"taint.semantic_resident_peak_events","unit":"rows","value":23},{"name":"taint.semantic_resident_peak_evidence","unit":"rows","value":33},{"name":"taint.semantic_resident_peak_gaps","unit":"rows","value":4},{"name":"taint.semantic_resident_peak_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_resident_peak_nested_entries","unit":"rows","value":231},{"name":"taint.semantic_resident_peak_owned_text_bytes","unit":"bytes","value":1629},{"name":"taint.semantic_resident_peak_procedures","unit":"rows","value":3},{"name":"taint.semantic_resident_peak_program_points","unit":"rows","value":28},{"name":"taint.semantic_resident_peak_retained_bytes","unit":"bytes","value":1629},{"name":"taint.semantic_resident_peak_source_bytes","unit":"bytes","value":213},{"name":"taint.semantic_resident_peak_source_mappings","unit":"rows","value":33},{"name":"taint.semantic_resident_peak_values","unit":"rows","value":12},{"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":30},{"name":"taint.semantic_root_work_peak_evidence","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_gaps","unit":"rows","value":16},{"name":"taint.semantic_root_work_peak_memory_locations","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_nested_entries","unit":"rows","value":34},{"name":"taint.semantic_root_work_peak_owned_text_bytes","unit":"bytes","value":0},{"name":"taint.semantic_root_work_peak_procedures","unit":"rows","value":1},{"name":"taint.semantic_root_work_peak_program_points","unit":"rows","value":32},{"name":"taint.semantic_root_work_peak_source_bytes","unit":"bytes","value":213},{"name":"taint.semantic_root_work_peak_source_mappings","unit":"rows","value":0},{"name":"taint.semantic_root_work_peak_values","unit":"rows","value":6},{"name":"taint.semantic_snapshot_materializations","unit":"count","value":3},{"name":"taint.semantic_source_bytes","unit":"bytes","value":426},{"name":"taint.semantic_traversal_steps","unit":"count","value":17},{"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:php"}}}],"suppressions":[],"scope":[],"packs":{"document_path":".bifrost/packs.json","dependency_mode":"default","ecosystems":["composer"],"complete":true,"decisions":[{"pack":"bifrost.php-builtin","status":"rejected","reason":"php: the workspace declares no PHP version in .php-version or composer.json"}],"decisions_truncated":false},"diagnostics":[],"diagnostics_truncated":false,"omitted_diagnostics_lower_bound":0,"worst_omitted_diagnostic_severity":null}