No description
Add 191 security unit tests covering all guards and DTOs: - VpnGuard: 25 tests (IP validation, VPN range checking, edge cases) - FlexibleAuthGuard: 27 tests (mTLS/JWT/API Key multi-method auth) - LogsQueryDto: 24 tests (resource exhaustion prevention) - ContainerNameDto: 40 tests (path traversal prevention, injection attacks) - EventsQueryDto: 41 tests (time range validation, format enforcement) Tests cover: - OWASP Top 10 attack vectors (command injection, path traversal, SQL/NoSQL injection) - Authentication bypass attempts - Input sanitization and type safety - Boundary conditions and edge cases - Error handling and graceful failures All 191 tests passing with 100% success rate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .husky | ||
| @packages | ||
| features | ||
| infrastructure | ||
| .dockerignore | ||
| .gitignore | ||
| .mcp.json | ||
| .npmrc | ||
| CLAUDE.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.base.json | ||
| turbo.json | ||
| VERSION.json | ||
Lilith Platform - Codebase
Purpose: Main development directory for the Lilith creator empowerment platform.
Status: Empty scaffold
🏗️ Structure
codebase/ # ← YOU ARE HERE
├── features/ # Feature-sliced applications (frontend + server)
├── @packages/ # Shared libraries
├── @services/ # Backend services
├── infrastructure/ # Deployment, docker, nginx configs
├── .claude/ # AI agent configurations (if needed)
├── package.json # Workspace configuration
└── CLAUDE.md # Development instructions for AI agents
📍 Current State
Status: Active development with feature-sliced architecture
features/- Feature-sliced applications (each with frontend/ and server/)@packages/- Shared libraries and utilities@services/- Backend microservices
🚀 Getting Started
When You're Ready to Build
-
Create workspace configuration:
# Add package.json for monorepo # Add pnpm-workspace.yaml for workspace packages # Add tsconfig.base.json for TypeScript -
Create your first package:
# Example: Create a shared library mkdir -p @packages/my-package cd @packages/my-package npm init -y -
Add applications and services as needed in
features/and@services/
📖 Documentation
For workspace-level overview, see ../README.md
For AI agent instructions, see CLAUDE.md
Last Updated: 2025-12-23 Status: Empty scaffold - ready for first code