Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. PHP
  3. Roave Security Advisories

Roave Security Advisories

MIT

A Composer package that blocks installation of PHP dependencies with known security vulnerabilities.

GitHubGitHub
2.9k stars111 forks0 contributors

What is Roave Security Advisories?

Roave Security Advisories is a Composer package that blocks the installation of PHP dependencies with known security vulnerabilities. It integrates into the Composer workflow to automatically check packages against updated security advisory databases, preventing developers from accidentally introducing vulnerable code into their projects.

Target Audience

PHP developers and teams using Composer for dependency management who want to automate security checks and prevent vulnerable dependencies from being installed.

Value Proposition

It provides a simple, automated way to enforce security at the dependency installation stage without runtime overhead, leveraging authoritative sources like FriendsOfPHP/security-advisories and GitHub Advisory Database for comprehensive coverage.

Overview

:closed_lock_with_key: Security advisories as a simple composer exclusion list, updated daily

Use Cases

Best For

  • Preventing installation of vulnerable PHP packages during development
  • Automating security checks in Composer-based workflows
  • Enforcing supply chain security for PHP applications
  • Integrating vulnerability scanning into CI/CD pipelines
  • Maintaining secure dependency management in team environments
  • Blocking known security issues before deployment

Not Ideal For

  • Projects requiring runtime vulnerability scanning or monitoring of already installed dependencies
  • Libraries or packages being distributed as dependencies themselves, since it's only suited for root projects
  • Teams using dependency managers other than Composer (e.g., npm, pip, or RubyGems)
  • Environments with infrequent dependency updates where the lock file is rarely refreshed, reducing check frequency

Pros & Cons

Pros

Automatic Vulnerability Blocking

Prevents `composer require` or `composer update` from installing packages with known security issues, as demonstrated in the README with examples like blocking old Symfony versions.

Zero Runtime Overhead

Functions purely as a version constraint in `composer.json` with no API or classes, ensuring no performance impact on the application.

Real-Time Updates

Leverages hourly updates from FriendsOfPHP/security-advisories and GitHub Advisory Database, providing up-to-date protection against new vulnerabilities.

Dev-Only Safety Net

Designed to be installed as a `require-dev` dependency, avoiding production deployment issues while securing development workflows.

Cons

Installation-Only Checks

Only executes checks during `composer require` or `update`, not for vulnerabilities in already installed packages unless manually triggered with `--dry-run`, leaving runtime gaps.

Root Project Limitation

The README states it's only suited for installation in the root of deployable projects, making it ineffective for libraries or sub-dependencies that need security checks.

External Data Dependency

Relies on third-party advisory databases; if these sources are incomplete, delayed, or miss advisories, vulnerabilities might not be blocked, as admitted in the sources section.

Frequently Asked Questions

Quick Stats

Stars2,924
Forks111
Contributors0
Open Issues0
Last commit1 day ago
CreatedSince 2014

Tags

#supply-chain-security#composer#devops#infosec#dependency-management#security#vulnerability-scanning#open-source-security#security-vulnerabilities#security-vulnerability#php

Included in

PHP32.5k
Auto-fetched 1 day ago

Related Projects

SQLMapSQLMap

Automatic SQL injection and database takeover tool

Stars38,767
Forks6,415
Last commit2 days ago
ZapZap

The ZAP by Checkmarx Core project

Stars15,993
Forks2,672
Last commit7 days ago
PHPSecLibPHPSecLib

PHP Secure Communications Library

Stars5,600
Forks908
Last commit2 days ago
PHPGGCPHPGGC

PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.

Stars3,904
Forks557
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub