vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::types::*;
#[derive(Debug, Default)]
pub struct SecAuditor;
impl Agent for SecAuditor {
    fn role(&self) -> Role {
        Role::SecAuditor
    }
    fn step(&self, _task: &TaskSpec, state: &TeamState) -> TeamEvent {
        let mut notes = vec!["Scan patch text for secrets patterns (offline heuristics)".into()];
        for p in &state.patches {
            if p.diff.to_lowercase().contains("api_key") {
                notes.push(format!("Potential secret marker in {}", p.path));
            }
        }
        TeamEvent::SecNotes(notes)
    }
}