mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Merged 3580 upstream commits from openclaw/main through a bridge branch that applied the openclaw→hanzo-bot rebrand before merging. Key upstream additions: - Android device diagnostics and notification actions - Device-auth v2 migration improvements - Docker CLI packaging fixes - Ollama discovery log demotion - Channel health monitoring - Slack native streaming - Linq iMessage channel - Gemini OAuth and FTS improvements - Inbound sender metadata - Daemon PATH improvements - Canvas host and onboarding enhancements - Security hardening (session files, exec allowlist)
39 lines
816 B
Swift
39 lines
816 B
Swift
// Generated file. Do not edit directly.
|
|
// Source: src/infra/host-env-security-policy.json
|
|
// Regenerate: node scripts/generate-host-env-security-policy-swift.mjs --write
|
|
|
|
import Foundation
|
|
|
|
enum HostEnvSecurityPolicy {
|
|
static let blockedKeys: Set<String> = [
|
|
"NODE_OPTIONS",
|
|
"NODE_PATH",
|
|
"PYTHONHOME",
|
|
"PYTHONPATH",
|
|
"PERL5LIB",
|
|
"PERL5OPT",
|
|
"RUBYLIB",
|
|
"RUBYOPT",
|
|
"BASH_ENV",
|
|
"ENV",
|
|
"GIT_EXTERNAL_DIFF",
|
|
"SHELL",
|
|
"SHELLOPTS",
|
|
"PS4",
|
|
"GCONV_PATH",
|
|
"IFS",
|
|
"SSLKEYLOGFILE"
|
|
]
|
|
|
|
static let blockedOverrideKeys: Set<String> = [
|
|
"HOME",
|
|
"ZDOTDIR"
|
|
]
|
|
|
|
static let blockedPrefixes: [String] = [
|
|
"DYLD_",
|
|
"LD_",
|
|
"BASH_FUNC_"
|
|
]
|
|
}
|