pub struct Taint {
pub private: bool,
pub untrusted: bool,
}Expand description
What has entered this conversation so far.
The lethal trifecta only bites when all three are present at once: private data, untrusted content, and a way to send. Two of them are properties of the transcript, so they are tracked here; the third is a property of the tool about to run.
Fields§
§private: boolA tool has returned data the user considers private.
untrusted: boolA tool has returned content a third party could have written — which is to say, possible instructions from an attacker.
Implementations§
Trait Implementations§
impl Copy for Taint
Source§impl<'de> Deserialize<'de> for Taint
impl<'de> Deserialize<'de> for Taint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Taint
impl StructuralPartialEq for Taint
Auto Trait Implementations§
impl Freeze for Taint
impl RefUnwindSafe for Taint
impl Send for Taint
impl Sync for Taint
impl Unpin for Taint
impl UnsafeUnpin for Taint
impl UnwindSafe for Taint
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