agent-shield 0.8.0

Security scanner for AI agent extensions — offline-first, multi-framework, SARIF output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

/// Provenance metadata — who wrote this, where it came from.
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct ProvenanceSurface {
    /// Author information (from package.json, pyproject.toml, etc.)
    pub author: Option<String>,
    /// Repository URL.
    pub repository: Option<String>,
    /// License.
    pub license: Option<String>,
    /// Whether the package is signed.
    pub signed: bool,
    /// Checksum of the distribution (if from registry).
    pub checksum: Option<String>,
}