Composer 2.10: malware filter
composer audit reports known-malware packages; composer update and composer install block them. Enabled by default.
$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Package acme/library 1.0 (in the lock file) was not loaded, because it was
flagged as malware (see https://packagist.org/acme/library/filter-lists/malware/)
reason: malware. To ignore filters for this package, add the package to
the "policy.malware.ignore" config. To turn the feature off entirely, you
can set "policy.malware.block" to false.