@openguardrails/moltguard
Version:
AI agent security plugin for OpenClaw: prompt injection detection, PII sanitization, and monitoring dashboard
19 lines • 774 B
TypeScript
/**
* Centralized environment variable access for MoltGuard.
*
* This module is the ONLY place that reads `process.env` so that
* modules performing network calls never contain env access in the
* same source unit. This avoids false-positive "credential
* harvesting" alerts from OpenClaw's skill scanner.
*/
export declare const openclawHome: string;
export declare const isDev: boolean;
export declare const envCoreUrl: string | undefined;
export declare const defaultCoreUrl: string;
export declare const envApiKey: string;
/**
* Sets environment variables at runtime. Centralised here so that files
* making network calls never contain env access directly.
*/
export declare function setEnv(key: string, value: string): void;
//# sourceMappingURL=env.d.ts.map