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 (d890e62c94595d41d95971f21549b1515bd4adb6).