Expand description
Security module for Varpulis CLI
Provides path validation, authentication helpers, and security utilities.
Enums§
- Security
Error - 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§
- Security
Result - Result type for security operations