Repository navigation
Releases
Releases · Ruvelo/prestashop-security-alerts
Security Alerts for PrestaShop 1.1.0
1.1.0 - 2026-10-13
Moves the module onto ruvelo/security-advisories 1.1. Backwards compatible, hence a minor release: the settings, the cron URL, the console command and its options, the table and the stored findings are unchanged or only extended, and a shop upgrading from 1.0 gets no new alerts and no re-sent mail. The classes under src/ were never a documented API (the module is used through the back office, cron and console), so the internal changes below do not count as a breaking change.
Added
- Valtry is the default advisory source for PrestaShop and its own modules (
prestashop/prestashop,prestashop/ps_*): Valtry's signed Advisory API first, Packagist and CISA directly whenever Valtry can't answer (unreachable, slower than 5 seconds, an error, a signature or nonce that doesn't verify, stale data). Package names are sent; versions never leave the server; every answer is verified against keys pinned in the module. Third-party modules still come from Friends of Presta only, and their names are not sent to Valtry. - Setting Advisory source (
RUVELO_SA_SOURCE): "Valtry, with the public feeds as fallback" (the default, also for a shop upgraded from 1.0) or "Public feeds only".RUVELO_ADVISORIES_SOURCE=publicin the server environment overrides it. The README and the setting's help text say what is sent. - The source that answered is shown on the Security alerts page, in the "Check now" message, in the console summary line, in
--json(source,sources) and in the cron answer (source). - Findings remember what the shop knows about the module (
installed,active) as package metadata.
Changed
- Stable finding identity: findings are stored under the key they were first stored with and matched by the CVE and aliases they had (
Finding::altKeys(), the Reconciler'slastSeen), so the same vulnerability under another id from another source (Valtry versus Packagist) is neither new nor resolved. The table stores the extra data inside the existingdatacolumn; no schema change. - "Check by hand" advisories (a Friends of Presta advisory that names a module you have but whose affected versions can't be read) are now
Report::$notesfrom the source itself. The page, the console and--json(notes, still a list ofmodule: titlestrings) show them as before. - The HTTP client is the core's
CurlClient(replacing the module's own copy), Friends of Presta pages are fetched withJsonClient::getText()and cached withResponseCache::rememberText(), and finding records are read withFinding::fromArray()(replacingFindingCodec). The module keeps its own PSR-16 file cache: PrestaShop may load an older, untypedpsr/simple-cache, which the core's typedFileCachewould not be compatible with. - Requires
ruvelo/security-advisories^1.1.
PrestaShop Security Alerts 1.0.0
First release.
Added
- Checks PrestaShop itself and the modules PrestaShop SA ships (
prestashop/prestashop,prestashop/ps_facetedsearch, ...) against Packagist's security advisories. - Checks third-party modules against the advisories Friends of Presta publish, matched by technical name.
- Marks flaws on CISA's Known Exploited Vulnerabilities list as exploited and lists them first.
- Back office page under Advanced Parameters > Security alerts, with a token-protected "Check now" button, and a
dashboardZoneOnewidget with the counts. - Settings: enable, notification emails, minimum severity.
- Email only for new findings and findings that became exploited.
- A secure cron URL and the console command
ruvelo:security-alerts:check(--json,--fail-on,--dry-run,--fresh).
Install: download ruvelo_securityalerts-1.0.0.zip below and upload it in Modules → Module Manager → Upload a module.