What problem does it solve?
This skill eliminates the need to rebuild OrangeHRM's core security primitives from scratch, reducing the risk of introducing critical vulnerabilities when handling sensitive employee data, user passwords, and form submissions. It provides pre-vetted, production-ready patterns for encryption, password hashing, and CSRF protection that align with the project's existing implementation.
Core Features & Use Cases
- Field-level encryption at rest: Implements AES-256-GCM encryption for sensitive data (SSN, salary, SMTP passwords) with backward compatibility for legacy AES-128-ECB ciphertext, plus the full encrypt-on-write/decrypt-on-read EntityListener pattern.
- Secure password hashing: Centralizes bcrypt password hashing with a fixed cost factor, eliminating inconsistent or insecure custom password handling.
- CSRF token management: Provides standard Symfony-based CSRF protection for sensitive form submissions, aligned with OrangeHRM's authentication flow.
- Use case: When adding a new sensitive column to an OrangeHRM entity, use this skill to implement the full encryption workflow (migration, entity configuration, listener callbacks) without introducing security flaws.
Quick Start
Use this skill to implement secure field-level encryption for a new sensitive employee data column in your OrangeHRM instance, following the project's established encrypt-on-write and decrypt-on-read pattern.