N
N
Never Ever2021-11-16 11:40:23
PHP
Never Ever, 2021-11-16 11:40:23

How to quickly check which packages have vulnerabilities in composer.json?

What tools are available to find such problems?
Found only two tools.
This one is still working, but not convenient https://github.com/Roave/SecurityAdvisories
This one is no longer supported https://github.com/sensiolabs/security-checker

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flying, 2021-11-16
@Flying

Locally, you can do the check as described here .
But since vulnerability checking should be an ongoing process, it's better to use either the roave/security-advisories you mentioned or, if your project is on GitHub, then through the GitHub action .
Ultimately, all of these options rely on the same source of information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question