Files
ghost/ghost-core/Cargo.toml
pandaadir05 2bcfcac407 Fix anomaly detection issues and add missing functionality
Fixed issues:
- Corrected Welford's online algorithm for variance calculation
- Added NaN and infinity guards to prevent invalid calculations
- Added Serialize/Deserialize traits to AnomalyScore and ProcessProfile

Added functionality:
- Profile persistence with save_profiles() and load_profiles()
- Global baseline computation from all process profiles
- Profile cleanup method to remove stale profiles
- Additional utility methods for profile management
2025-11-21 12:49:42 +02:00

41 lines
1.0 KiB
TOML

[package]
name = "ghost-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
[features]
default = []
yara-scanning = ["yara"]
[dependencies]
anyhow.workspace = true
thiserror.workspace = true
log.workspace = true
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
yara = { version = "0.28", optional = true }
sha2 = "0.10"
reqwest = { version = "0.11", features = ["json"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Diagnostics_Debug",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
"Win32_System_Memory",
"Win32_System_LibraryLoader",
"Win32_Security",
"Win32_UI_WindowsAndMessaging",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"