Search by

pieceofcake2 / security-dast

ttsuru

Dynamic application security testing of a running CakePHP 2 application with the OWASP ZAP baseline scan, as a PDF report by alert and risk

Package info

github.com/pieceofcake2/security-dast

Homepage

pkg:composer/pieceofcake2/security-dast

Statistics

Installs: 49

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.3 2026-10-18 14:53 UTC

README

GitHub License Packagist Version PHP PHPStan CI Codecov

Dynamic application security testing of a CakePHP 2 application: the application is run with PHP's built-in web server and scanned by the baseline scan of OWASP ZAP in Docker (security headers, cookies, CSRF tokens of forms, error pages, ...), and the alerts are written as an A4 PDF report by risk in the design of pieceofcake2/report, with an exit code that fails CI. The documentation tells how to fix each alert in a CakePHP 2 application.

composer require --dev pieceofcake2/security-dast
vendor/bin/security-dast --pdf=tmp/security-dast.pdf --fail-on=high

Documentation

Requirements

  • PHP 8.0+
  • Docker (the image of ZAP)
  • Google Chrome or Chromium 131+

Installation

composer require --dev pieceofcake2/security-dast

Reporting Issues

Please open an issue on GitHub. To report a security vulnerability, use private vulnerability reporting.

Contributing

See the contribution guidelines.

Origin

This package was created by pieceofcake2, which also maintains it. It is not a fork of another project and is not based on one.

License

The MIT License. See LICENSE.