Skip to content

Security: move-elevator/deployer-tools

Security

docs/SECURITY.md

Security check

The security tasks list and notify about security issues in the installed composer packages and npm modules.

General

The security check task is checking for vulnerabilities in the installed composer packages and npm modules.

The default settings can be found within the set.php file.

$ dep security:check [host]

Composer dependencies

Checking the composer dependencies with composer audit (or symfony security:check).

$ dep security:check:composer [host]

Npm dependencies

Checking the npm dependencies with npm audit, without the dev dependencies (--omit=dev, npm 7 or newer).

$ dep security:check:npm [host]

Notification

Use the --notify option to notify about the security issues via MS Teams. If the notification cannot be sent, the check fails, so the findings are not lost unnoticed.

To avoid multiple notifications for the same issue, the notification is only sent if the issue is not already cached (when the issue notification was sent before). You can turn off the caching with setting the security_use_cache configuration to false.

The cache is stored in security_cache_path (default .build/security). In a CI pipeline the directory has to be kept between the jobs, otherwise every run notifies about the same issues again. Add /.build to the project's .gitignore, the TYPO3 recipe leaves it out of the rsync transfer.

Issues are cached by their advisory id since the CVE is not always known, so the first notification after an update of this package reports the open issues once more.

There aren't any published security advisories