Explanation

The weekly dependency check

ECTLogger is built from hundreds of open-source packages, and now and then one of them is found to have a security problem. Each one is published as an advisory with an ID, such as GHSA-xvch-5gv4-984h. Once a week the server compares the packages it runs against the public advisory lists and emails every admin the result. Nothing is posted anywhere else, and the check changes nothing on the server.

Every active admin account gets the email. Regular members never do.

The three emails

The subject ends with the day the check ran.

Subject What it means
ECTLogger dependency check: all clear - Mon, Dec 7 No package has an advisory that someone has not already looked at.
ECTLogger dependency check: 3 advisories - Mon, Dec 7 The email lists each one. Someone needs to upgrade.
ECTLogger dependency check could not run - Mon, Dec 7 The check did not finish, so it says nothing about the packages. The email says why.

An all-clear email still lists any Known, accepted advisories, so they stay in view.

When the email lists advisories

Each row names the package, the version installed, the advisory (the ID is a link to its description), and the version that fixes it. Frontend rows also show how serious npm rates it: low, moderate, high, or critical. The Python advisory list gives no rating.

Send the email to whoever runs the server. They upgrade the packages listed, test the change, and deploy it. The next Monday’s email confirms the advisories are gone.

A row that says No fix released yet has nothing to upgrade to. Whoever runs the server reads the advisory and decides whether it applies to ECTLogger. If it does not, they add it to the accepted list with the reason and the date. From then on it appears under Known, accepted and no longer counts.

If an accepted advisory later gets a fix, its row shows the fixed version. The email also lists accepted entries that no longer match anything, so they can be deleted.

When the check could not run

The email names the part that failed. The usual causes are a tool that is not installed on the server and a server that cannot reach the internet for a week. Whoever runs the server fixes it and runs the check once by hand. Until then, treat the packages as unchecked.

Setting it up

The check is a script that the server’s scheduler runs on Mondays, and whoever runs the server sets it up once. The steps are under “Weekly dependency check” in the development guide.

Next

Backups sends admins a similar email when a backup fails.