Skip to main content

Module security

Module security 

Source
Expand description

Security module for Varpulis CLI

Provides path validation, authentication helpers, and security utilities.

Enums§

SecurityError
Error types for security operations

Functions§

generate_request_id
Generate a simple UUID-like identifier.
is_suspicious_path
Check if a path contains potentially dangerous patterns.
sanitize_filename
Sanitize a filename by removing dangerous characters.
validate_path
Validate that a path is within the allowed working directory.
validate_workdir
Validate and canonicalize a workdir path.

Type Aliases§

SecurityResult
Result type for security operations