The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(security): classify package manager list commands as read
Steven Enamakel7e5f70ad999f
diff --git a/crates/openhuman-core/src/security/policy/command_analysis.rs b/crates/openhuman-core/src/security/policy/command_analysis.rsindex a6c6169d65..b919ee1302 100644--- a/crates/openhuman-core/src/security/policy/command_analysis.rs+++ b/crates/openhuman-core/src/security/policy/command_analysis.rs@@ -195,6 +195,7 @@ pub(super) fn classify_host_command(base: &str, args: &[String], source: &str) -| "date") || base == "git" && matches!(first, "status" | "diff" | "log" | "show" | "branch")|| base == "cargo" && matches!(first, "check" | "test" | "tree" | "metadata")+ || matches!(base, "npm" | "pnpm" | "yarn") && matches!(first, "ls" | "list"){return CommandClass::Read;}diff --git a/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs b/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rsindex 84cd1c3b5c..c42f781357 100644--- a/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs@@ -350,6 +350,9 @@ fn classify_reads_are_read() {"find . -name '*.rs'","cargo tree","npm ls",+ "npm list",+ "pnpm list",+ "yarn list","dir","type f.txt","Get-Content f",