-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (59 loc) · 1.75 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (59 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "vexscan"
version = "0.12.1"
edition = "2021"
description = "Security scanner for AI agent plugins, skills, and MCP servers"
license = "Apache-2.0"
repository = "https://github.com/edimuj/vexscan"
keywords = ["security", "ai", "agent", "scanner", "mcp", "plugin"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }
colored = "2"
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# File system
walkdir = "2"
globset = "0.4"
notify = "6" # File watching
# Pattern matching
regex = "1"
# Encoding detection/decoding
base64 = "0.22"
# AST parsing
tree-sitter = "0.24"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
tree-sitter-python = "0.23"
# HTTP client (for AI backends) - using rustls for cross-platform builds
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# Async traits
async-trait = "0.1"
# Error handling
anyhow = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Misc
sha2 = "0.10" # For file hashing
chrono = { version = "0.4", features = ["serde"] }
dirs = "5" # Home directory detection
# Git operations for vet command - vendored for cross-platform builds
git2 = { version = "0.20", default-features = false, features = ["vendored-libgit2", "vendored-openssl", "https"] }
tempfile = "3" # Temp directories for vet command
[dev-dependencies]
tempfile = "3"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "scanner"
harness = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true