pub struct ExfiltrationReport {
pub has_source: bool,
pub has_network: bool,
pub has_exec: bool,
pub exposed: bool,
pub risk: f64,
}Expand description
Whether a program has a data-exfiltration path: it both reads local/sensitive state (a source) and can send data out (a sink — network or arbitrary exec). The dangerous combination is source ∧ sink; either alone is not an exfil path.
Fields§
§has_source: boolA data source is present (reads local state).
has_network: boolA network egress sink is present.
has_exec: boolAn arbitrary-exec sink is present (a covert channel).
exposed: boolTrue iff both a source and at least one sink are present.
risk: f640.0–1.0 exfiltration risk: 0 when no path exists; higher as the sink gets more capable (network < exec < both).
Trait Implementations§
Source§impl Clone for ExfiltrationReport
impl Clone for ExfiltrationReport
Source§fn clone(&self) -> ExfiltrationReport
fn clone(&self) -> ExfiltrationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExfiltrationReport
impl Debug for ExfiltrationReport
Source§impl Display for ExfiltrationReport
impl Display for ExfiltrationReport
Auto Trait Implementations§
impl Freeze for ExfiltrationReport
impl RefUnwindSafe for ExfiltrationReport
impl Send for ExfiltrationReport
impl Sync for ExfiltrationReport
impl Unpin for ExfiltrationReport
impl UnsafeUnpin for ExfiltrationReport
impl UnwindSafe for ExfiltrationReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more