mount-security
- Source file: src/mount-security.ts
- Lines: 413
- Responsibility: External mount allowlist loading and additional mount validation.
Exported API
export function loadMountAllowlist(): MountAllowlist | null {
export interface MountValidationResult {
export function validateMount(
export function validateAdditionalMounts(
export function generateAllowlistTemplate(): string {
Environment Variables Referenced
Notable Internal Symbols
function expandPath(p: string): string {
function getRealPath(p: string): string | null {
function matchesBlockedPattern(
function findAllowedRoot(
function isValidContainerPath(containerPath: string): boolean {