Perform security review of code changes
Performs comprehensive security review of code changes for authentication, authorization, and data exposure vulnerabilities.
/plugin marketplace add lenneTech/claude-code/plugin install lt-dev@lenne-techbackend/| Command | Purpose |
|---|---|
/lt-dev:backend:code-cleanup | Clean up code style and formatting |
/lt-dev:backend:test-generate | Generate tests for changes |
Recommended workflow: test-generate → sec-review → code-cleanup
Perform a complete security review:
Check all modified Controller/Resolver files:
Check all modified Model files:
user?.hasRole(RoleEnum.ADMIN)equalIds(user, this.createdBy)Check all Input/DTO files:
Check service methods:
userId === object.createdBy OR user.isAdminCheck GraphQL/REST responses:
hideField: true?Check tests:
Create a list of all findings:
On Critical/Warning findings: STOP and inform the developer!