pub struct ExfilPathTracker { /* private fields */ }Expand description
Track tool calls and identify complete exfiltration paths.
Implementations§
Source§impl ExfilPathTracker
impl ExfilPathTracker
pub fn new() -> Self
Sourcepub fn record_call(
&mut self,
tool_name: &str,
sink_class: SinkClass,
target_paths: &[String],
target_domains: &[String],
) -> Vec<ExfilPathFinding>
pub fn record_call( &mut self, tool_name: &str, sink_class: SinkClass, target_paths: &[String], target_domains: &[String], ) -> Vec<ExfilPathFinding>
Record a tool call and check for exfiltration path completion.
Sourcepub fn findings(&self) -> &[ExfilPathFinding]
pub fn findings(&self) -> &[ExfilPathFinding]
Get all detected exfiltration paths.
Sourcepub fn max_severity(&self) -> u32
pub fn max_severity(&self) -> u32
Maximum severity across all findings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExfilPathTracker
impl RefUnwindSafe for ExfilPathTracker
impl Send for ExfilPathTracker
impl Sync for ExfilPathTracker
impl Unpin for ExfilPathTracker
impl UnsafeUnpin for ExfilPathTracker
impl UnwindSafe for ExfilPathTracker
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