[package]
name = "agent-shield"
version = "0.2.0"
edition = "2021"
authors = ["Ronaldo Lima"]
description = "Security scanner for AI agent extensions — offline-first, multi-framework, SARIF output"
license = "MIT"
repository = "https://github.com/limaronaldo/agentshield"
homepage = "https://github.com/limaronaldo/agentshield"
keywords = ["security", "ai", "mcp", "static-analysis", "sarif"]
categories = ["development-tools", "command-line-utilities"]
readme = "README.md"
[lib]
name = "agentshield"
path = "src/lib.rs"
[[bin]]
name = "agentshield"
path = "src/bin/cli.rs"
[features]
default = ["python", "typescript"]
python = ["dep:tree-sitter-python"]
typescript = ["dep:tree-sitter-typescript"]
full = ["python", "typescript"]
[dependencies]
clap = { version = "4.4", features = ["derive", "env", "color"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
tree-sitter = "0.24"
tree-sitter-python = { version = "0.23", optional = true }
tree-sitter-typescript = { version = "0.23", optional = true }
regex = "1.10"
once_cell = "1.19"
walkdir = "2.5"
ignore = "0.4"
glob = "0.3"
sha2 = "0.10"
hex = "0.4"
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.6", features = ["v4"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
levenshtein = "1.0"
semver = "1.0"
url = "2.5"
[dev-dependencies]
tempfile = "3.9"
pretty_assertions = "1.4"
proptest = "1.4"
[[bench]]
name = "scan"
harness = false
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true