- 
                Notifications
    You must be signed in to change notification settings 
- Fork 308
Closed
Description
Problem: Maintainers use the Github security advisory database to publish security issues. Currently random developers like me find out about them when Github's dependabot flags them in a composer.lock file in one of my repositories. That is how the FriendsOfPHP/security-advisories database missed the Dompdf security issue #625 for 3 weeks, oopsie doodle.
Proposed Solution: Write a Github action that imports Github security advisories fully automatic into this repository. It could work something like this:
- Github action runs periodically (once per day?)
- It uses the Github GraphQL API to fetch all PHP composer security advisories from https://github.com/advisories?query=type%3Areviewed+ecosystem%3Acomposer
- It checks based on CVE identifier if the advisory already exists in this repository
- If not: it creates a new advisory file and commits it automatically (I assume this is somehow possible, not sure under which user account it would push the commit)
This could be a nice Google Summer of Code project or similar for a student :-)
Metadata
Metadata
Assignees
Labels
No labels