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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 49 additions & 49 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 @@ -16,18 +28,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"
}
],
"statistics": {
Expand All @@ -41,63 +41,63 @@
},
"file_statistics": [
{
"file_path": "host-rust/src/ffi.rs",
"lines": 26,
"unsafe_blocks": 1,
"file_path": "host-rust/src/collectors/opatch.rs",
"lines": 77,
"unsafe_blocks": 0,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 0,
"io_operations": 0,
"io_operations": 2,
"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,
"file_path": "host-rust/src/collectors/snapshot.rs",
"lines": 76,
"unsafe_blocks": 0,
"panic_sites": 0,
"unwrap_calls": 0,
"safe_unwrap_calls": 1,
"allocation_sites": 2,
"io_operations": 0,
"io_operations": 2,
"threading_constructs": 0
},
{
"file_path": "host-rust/src/collectors/opatch.rs",
"lines": 77,
"unsafe_blocks": 0,
"file_path": "host-rust/src/ffi.rs",
"lines": 26,
"unsafe_blocks": 1,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 0,
"io_operations": 2,
"io_operations": 0,
"threading_constructs": 0
}
],
"recommended_attacks": [
"memory",
"concurrency",
"memory",
"cpu"
],
"dependency_graph": {
"edges": [
{
"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
},
{
"from": "host-rust/src/collectors/parse.rs",
"to": "host-rust/src/collectors/opatch.rs",
"to": "host-rust/src/collectors/snapshot.rs",
"relation": "shared_dir:host-rust/src/collectors",
"weight": 1.0
}
Expand All @@ -106,44 +106,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": "UnsafeCode",
"sink_axis": "memory",
"severity_value": 3.5,
"source_category": "UnboundedAllocation",
"sink_axis": "cpu",
"severity_value": 2.5,
"files": [
"host-rust/src/ffi.rs"
"host-rust/src/collectors/opatch.rs"
],
"frameworks": [],
"relation": "UnsafeCode->Memory"
"relation": "UnboundedAllocation->Cpu"
},
{
"source_category": "UnboundedAllocation",
"source_category": "UnsafeCode",
"sink_axis": "memory",
"severity_value": 2.5,
"severity_value": 3.5,
"files": [
"host-rust/src/collectors/opatch.rs"
"host-rust/src/ffi.rs"
],
"frameworks": [],
"relation": "UnboundedAllocation->Memory"
"relation": "UnsafeCode->Memory"
},
{
"source_category": "UnboundedAllocation",
"sink_axis": "cpu",
"severity_value": 2.5,
"source_category": "UnsafeCode",
"sink_axis": "concurrency",
"severity_value": 3.5,
"files": [
"host-rust/src/collectors/opatch.rs"
"host-rust/src/ffi.rs"
],
"frameworks": [],
"relation": "UnboundedAllocation->Cpu"
"relation": "UnsafeCode->Concurrency"
}
]
}
Expand Down
70 changes: 35 additions & 35 deletions scans/AcceleratorGate.jl.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
"weak_points": [
{
"category": "ProofDrift",
"location": "test/runtests.jl",
"file": "test/runtests.jl",
"location": "test/e2e_test.jl",
"file": "test/e2e_test.jl",
"severity": "Medium",
"description": "45 `@test x isa Y` assertion(s) with no value check — type-only tests may substitute for an unwritten formal theorem in test/runtests.jl",
"description": "10 `@test x isa Y` assertion(s) with no value check — type-only tests may substitute for an unwritten formal theorem in test/e2e_test.jl",
"recommended_attack": [
"cpu"
],
"test_context": "test_only"
},
{
"category": "ProofDrift",
"location": "test/e2e_test.jl",
"file": "test/e2e_test.jl",
"location": "test/runtests.jl",
"file": "test/runtests.jl",
"severity": "Medium",
"description": "10 `@test x isa Y` assertion(s) with no value check — type-only tests may substitute for an unwritten formal theorem in test/e2e_test.jl",
"description": "45 `@test x isa Y` assertion(s) with no value check — type-only tests may substitute for an unwritten formal theorem in test/runtests.jl",
"recommended_attack": [
"cpu"
],
Expand All @@ -37,17 +37,6 @@
],
"test_context": "test_only"
},
{
"category": "UnsafeFFI",
"location": "src/operations.jl",
"file": "src/operations.jl",
"severity": "Medium",
"description": "5 ccall/FFI calls in src/operations.jl",
"recommended_attack": [
"memory"
],
"test_context": "production"
},
{
"category": "DynamicCodeExecution",
"location": "src/AcceleratorGate.jl",
Expand All @@ -60,6 +49,17 @@
],
"test_context": "production"
},
{
"category": "UnsafeFFI",
"location": "src/operations.jl",
"file": "src/operations.jl",
"severity": "Medium",
"description": "5 ccall/FFI calls in src/operations.jl",
"recommended_attack": [
"memory"
],
"test_context": "production"
},
{
"category": "SupplyChain",
"location": "Manifest.toml",
Expand All @@ -81,19 +81,19 @@
},
"file_statistics": [
{
"file_path": "src/operations.jl",
"lines": 307,
"unsafe_blocks": 5,
"file_path": "src/AcceleratorGate.jl",
"lines": 832,
"unsafe_blocks": 0,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 0,
"io_operations": 1,
"threading_constructs": 0
},
{
"file_path": "src/AcceleratorGate.jl",
"lines": 832,
"unsafe_blocks": 0,
"file_path": "src/operations.jl",
"lines": 307,
"unsafe_blocks": 5,
"panic_sites": 0,
"unwrap_calls": 0,
"allocation_sites": 0,
Expand All @@ -108,8 +108,8 @@
"dependency_graph": {
"edges": [
{
"from": "src/operations.jl",
"to": "src/AcceleratorGate.jl",
"from": "src/AcceleratorGate.jl",
"to": "src/operations.jl",
"relation": "shared_dir:src",
"weight": 1.0
}
Expand All @@ -128,16 +128,14 @@
"relation": "DynamicCodeExecution->Memory"
},
{
"source_category": "ProofDrift",
"source_category": "DynamicCodeExecution",
"sink_axis": "cpu",
"severity_value": 2.5,
"severity_value": 3.5,
"files": [
"test/runtests.jl",
"test/e2e_test.jl",
"test/property_test.jl"
"src/AcceleratorGate.jl"
],
"frameworks": [],
"relation": "ProofDrift->Cpu"
"relation": "DynamicCodeExecution->Cpu"
},
{
"source_category": "UnsafeFFI",
Expand All @@ -150,14 +148,16 @@
"relation": "UnsafeFFI->Memory"
},
{
"source_category": "DynamicCodeExecution",
"source_category": "ProofDrift",
"sink_axis": "cpu",
"severity_value": 3.5,
"severity_value": 2.5,
"files": [
"src/AcceleratorGate.jl"
"test/e2e_test.jl",
"test/runtests.jl",
"test/property_test.jl"
],
"frameworks": [],
"relation": "DynamicCodeExecution->Cpu"
"relation": "ProofDrift->Cpu"
}
]
}
Expand Down
Loading
Loading