Usage: curl -i -H 'Accept: text/plain' https://php-security-checker.wmcloud.org/check_lock -F lock=@composer.lock

See the source code. Based off of the Friends of PHP security advisories database (004424775e601b26885c0afbd971ffdf1b7b043c).