MCPcopy
hub / github.com/codeaashu/claude-code / isProviderManagedEnvVar

Function isProviderManagedEnvVar

src/utils/managedEnvConstants.ts:64–70  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

62]
63
64export function isProviderManagedEnvVar(key: string): boolean {
65 const upper = key.toUpperCase()
66 return (
67 PROVIDER_MANAGED_ENV_VARS.has(upper) ||
68 PROVIDER_MANAGED_ENV_PREFIXES.some(p => upper.startsWith(p))
69 )
70}
71
72/**
73 * Dangerous shell settings that can execute arbitrary shell code

Callers 1

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected