Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
88 changes: 44 additions & 44 deletions scans/0patch-lsa-sentinel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
"language": "rust",
"frameworks": [],
"weak_points": [
{
"category": "UnboundedAllocation",
"location": "host-rust/src/collectors/opatch.rs",
"file": "host-rust/src/collectors/opatch.rs",
"severity": "Medium",
"description": "Potential unbounded allocation pattern detected in host-rust/src/collectors/opatch.rs",
"recommended_attack": [
"memory",
"cpu"
],
"test_context": "production"
},
{
"category": "UnsafeCode",
"location": "host-rust/src/ffi.rs",
Expand All @@ -17,18 +29,6 @@
"suppressed": true,
"test_context": "production"
},
{
"category": "UnboundedAllocation",
"location": "host-rust/src/collectors/opatch.rs",
"file": "host-rust/src/collectors/opatch.rs",
"severity": "Medium",
"description": "Potential unbounded allocation pattern detected in host-rust/src/collectors/opatch.rs",
"recommended_attack": [
"memory",
"cpu"
],
"test_context": "production"
},
{
"category": "SupplyChain",
"location": "flake.nix",
Expand All @@ -50,13 +50,14 @@
},
"file_statistics": [
{
"file_path": "host-rust/src/ffi.rs",
"lines": 26,
"unsafe_blocks": 1,
"file_path": "host-rust/src/collectors/snapshot.rs",
"lines": 76,
"unsafe_blocks": 0,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 0,
"io_operations": 0,
"safe_unwrap_calls": 1,
"allocation_sites": 2,
"io_operations": 2,
"threading_constructs": 0
},
{
Expand All @@ -70,42 +71,41 @@
"threading_constructs": 0
},
{
"file_path": "host-rust/src/collectors/snapshot.rs",
"lines": 76,
"file_path": "host-rust/src/collectors/parse.rs",
"lines": 294,
"unsafe_blocks": 0,
"panic_sites": 0,
"unwrap_calls": 0,
"safe_unwrap_calls": 1,
"allocation_sites": 2,
"io_operations": 2,
"io_operations": 0,
"threading_constructs": 0
},
{
"file_path": "host-rust/src/collectors/parse.rs",
"lines": 294,
"unsafe_blocks": 0,
"file_path": "host-rust/src/ffi.rs",
"lines": 26,
"unsafe_blocks": 1,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 2,
"allocation_sites": 0,
"io_operations": 0,
"threading_constructs": 0
}
],
"recommended_attacks": [
"cpu",
"concurrency",
"memory",
"concurrency"
"cpu"
],
"dependency_graph": {
"edges": [
{
"from": "host-rust/src/collectors/opatch.rs",
"to": "host-rust/src/collectors/snapshot.rs",
"from": "host-rust/src/collectors/snapshot.rs",
"to": "host-rust/src/collectors/opatch.rs",
"relation": "shared_dir:host-rust/src/collectors",
"weight": 1.0
},
{
"from": "host-rust/src/collectors/snapshot.rs",
"from": "host-rust/src/collectors/opatch.rs",
"to": "host-rust/src/collectors/parse.rs",
"relation": "shared_dir:host-rust/src/collectors",
"weight": 1.0
Expand All @@ -115,44 +115,44 @@
"taint_matrix": {
"rows": [
{
"source_category": "UnsafeCode",
"sink_axis": "concurrency",
"severity_value": 3.5,
"source_category": "UnboundedAllocation",
"sink_axis": "memory",
"severity_value": 2.5,
"files": [
"host-rust/src/ffi.rs"
"host-rust/src/collectors/opatch.rs"
],
"frameworks": [],
"relation": "UnsafeCode->Concurrency"
"relation": "UnboundedAllocation->Memory"
},
{
"source_category": "UnboundedAllocation",
"sink_axis": "memory",
"sink_axis": "cpu",
"severity_value": 2.5,
"files": [
"host-rust/src/collectors/opatch.rs"
],
"frameworks": [],
"relation": "UnboundedAllocation->Memory"
"relation": "UnboundedAllocation->Cpu"
},
{
"source_category": "UnsafeCode",
"sink_axis": "memory",
"sink_axis": "concurrency",
"severity_value": 3.5,
"files": [
"host-rust/src/ffi.rs"
],
"frameworks": [],
"relation": "UnsafeCode->Memory"
"relation": "UnsafeCode->Concurrency"
},
{
"source_category": "UnboundedAllocation",
"sink_axis": "cpu",
"severity_value": 2.5,
"source_category": "UnsafeCode",
"sink_axis": "memory",
"severity_value": 3.5,
"files": [
"host-rust/src/collectors/opatch.rs"
"host-rust/src/ffi.rs"
],
"frameworks": [],
"relation": "UnboundedAllocation->Cpu"
"relation": "UnsafeCode->Memory"
}
]
}
Expand Down
32 changes: 16 additions & 16 deletions scans/AcceleratorGate.jl.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,45 +119,45 @@
"rows": [
{
"source_category": "DynamicCodeExecution",
"sink_axis": "cpu",
"sink_axis": "memory",
"severity_value": 3.5,
"files": [
"src/AcceleratorGate.jl"
],
"frameworks": [],
"relation": "DynamicCodeExecution->Cpu"
"relation": "DynamicCodeExecution->Memory"
},
{
"source_category": "UnsafeFFI",
"sink_axis": "memory",
"source_category": "ProofDrift",
"sink_axis": "cpu",
"severity_value": 2.5,
"files": [
"src/operations.jl"
"test/property_test.jl",
"test/runtests.jl",
"test/e2e_test.jl"
],
"frameworks": [],
"relation": "UnsafeFFI->Memory"
"relation": "ProofDrift->Cpu"
},
{
"source_category": "DynamicCodeExecution",
"source_category": "UnsafeFFI",
"sink_axis": "memory",
"severity_value": 3.5,
"severity_value": 2.5,
"files": [
"src/AcceleratorGate.jl"
"src/operations.jl"
],
"frameworks": [],
"relation": "DynamicCodeExecution->Memory"
"relation": "UnsafeFFI->Memory"
},
{
"source_category": "ProofDrift",
"source_category": "DynamicCodeExecution",
"sink_axis": "cpu",
"severity_value": 2.5,
"severity_value": 3.5,
"files": [
"test/property_test.jl",
"test/runtests.jl",
"test/e2e_test.jl"
"src/AcceleratorGate.jl"
],
"frameworks": [],
"relation": "ProofDrift->Cpu"
"relation": "DynamicCodeExecution->Cpu"
}
]
}
Expand Down
Loading
Loading