pub struct Trifecta {
pub untrusted_input: bool,
pub sensitive: bool,
pub egress: bool,
}Expand description
The three legs of the “lethal trifecta”. An agent holding all three — it reads untrusted content, can touch sensitive data, and can send data out — is the dangerous combination: one injected instruction in the content it reads is enough to make it fetch a secret and forward it.
Fields§
§untrusted_input: bool§sensitive: bool§egress: boolImplementations§
Trait Implementations§
impl Copy for Trifecta
impl Eq for Trifecta
impl StructuralPartialEq for Trifecta
Auto Trait Implementations§
impl Freeze for Trifecta
impl RefUnwindSafe for Trifecta
impl Send for Trifecta
impl Sync for Trifecta
impl Unpin for Trifecta
impl UnsafeUnpin for Trifecta
impl UnwindSafe for Trifecta
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