List installed packages not found in the repositories

pacman --query

pacman --query --foreign

click the source code to copy install pacman --query on any operating system with command-not-found.com