MeteorGPLby WebbingApps

Guide Security

Keep plugins up to date and watch for vulnerabilities

Watch the packages you use, choose how you are told, let your composer.lock do the watching, and act on vulnerability advisories before they reach your sites.

Keep plugins up to date and watch for vulnerabilities

About this guide

Difficulty
Beginner
Time to complete
15 minutes
Reading time
4 min read

Prerequisites

  • A MeteorGPL account
  • A project that installs packages from MeteorGPL, and its composer.lock
In this guide
  1. Step 1 — Watch the packages you use
  2. Step 2 — Choose how you are told
  3. Step 3 — Let your lock file do the watching
  4. Step 4 — Act on vulnerability advisories
  5. Step 5 — Update
  6. Step 6 — Automate with webhooks and feeds

Installing a plugin is the easy part. Knowing when it needs an update, and above all a security update, is the work that never ends. MeteorGPL has four tools for it: watching packages, notifications, the dependency dashboard and vulnerability advisories. This guide sets them up in that order, then shows how to update.

Step 1 — Watch the packages you use

Every package page has a Watch menu, as on GitHub:

Choice You hear about
All activity New versions, security notices and withdrawals
Releases New versions (and withdrawals)
Security alerts Security notices (and withdrawals)
Custom The events you pick
Ignore Nothing about this package

Starring a package also watches it for releases; you can turn that off in your notification settings. Settings → Watching lists every package you watch.

Step 2 — Choose how you are told

Under Settings → Notifications you choose, for each kind of event, whether it reaches you in the app, as a push notification or by e-mail. Out of the box:

  • New versions arrive in the app and by e-mail.
  • Security notices arrive in the app, by push and by e-mail.
  • Withdrawals arrive in the app and by e-mail.

A weekly digest of what changed in the packages you starred is there too, off until you turn it on. Push notifications are switched on per browser, on the same page.

Step 3 — Let your lock file do the watching

Watching package by package works for a few plugins. For a whole site, let the lock file speak for it: create a project under Settings → Projects and upload the site's composer.lock, by hand or from your pipeline (see Composer tokens in CI).

The project page shows each package from the repository as:

  • up to date,
  • behind, with the changelog entries you are missing,
  • withdrawn, or
  • taken down.

For your personal projects, the packages in the lock file can be watched for new versions automatically: tick Watch new versions of these packages on the project page. Upload the lock file again after each deploy, and the dashboard follows what really runs.

Step 4 — Act on vulnerability advisories

Published vulnerabilities in WordPress plugins and themes, from the Wordfence Intelligence vulnerability feed, are matched against the catalogue. Each match shows up:

  • on the security advisories page, which also has an Atom feed;
  • in the Known vulnerabilities section of the affected package's Security tab, with the affected versions and, when there is one, the version that fixes it and the composer require line to get it;
  • as a security notification for the people who watch the package or run an affected version.

Advisories published within the last 30 days alert watchers and known installations straight away. Older ones alert you when you later download, or upload a lock file with, an affected version, so a forgotten site still gets flagged the next time its lock file comes in.

Before any version is published, it is cleaned, compared with the vendor's own license code, scanned with ClamAV and pattern rules, and linted; a version that fails is not published, and the Security tab shows the checks. If a problem is found later, the version is withdrawn, watchers are told, and webhooks fire.

Step 5 — Update

List what has newer versions, then update one package or all of them within your constraints:

composer outdated "meteorgpl-plugin/*"
composer update meteorgpl-plugin/elementor-pro

Test the site, commit the new composer.lock, and deploy with composer install. Every published version stays available, so if an update misbehaves, going back is one command:

composer require meteorgpl-plugin/elementor-pro:3.20.0

Step 6 — Automate with webhooks and feeds

Webhooks (Settings → Webhooks) send a POST when a package you choose gets a new version, a security notice goes out, or a package is withdrawn: signed JSON, or a ready-made message for Slack or Discord. Verify JSON deliveries with the X-MeteorGPL-Signature header, the HMAC-SHA256 of the body with your webhook's secret. A JSON webhook can start a workflow, for example one that runs composer update and opens a pull request.

Atom feeds need no account: every package has one for its releases (on its page), every vendor has one, and https://meteorgpl.ddev.site/releases.atom carries every new version in the repository.

Send feedback

What works, what does not, what is missing: a few words help.

Only if you would like a reply.

Taken in your browser, without this window. Passwords, what you typed into forms, keys and tokens are left out as grey blocks; you can hide more before sending. We keep screenshots for 90 days.

We store it with the page address, your language, window size, browser and IP address, and your e-mail address if you give one. The IP address and browser are deleted after 90 days. Privacy policy.

All languages