Vulnerability scan with Trivy

Install Trivy

brew install Trivy

For zsh terminal

trivy fs --severity [CRITICAL,MEDIUM] /path/to/folder