Hi @thiagorangel
Hope you are doing fine!
Currently, Defender can scan a plugin/ theme folder once it has been installed, the scan process has to be started manually or you can set a schedule for the scans to start.
There is a feature request to implement the automatic scan while plugins/themes are installed, but it is still under evaluation since several aspects have to be considered (server resources and permissions, compatibility with existing features, etc.)
There is not a ETA to implement this feature yet, but I’ll let the development team know that there is another vote for this request.
Kind regards
Luis