ps-security-audit

Solid

Sets up weekly automated security scanning for PrestaShop 8 projects hosted on GitLab.com. Checks: installed modules vs Friends of Presta advisory database, PrestaShop core version, and PHP/Composer dependencies via Trivy. Sends weekly HTML email report every Monday. Use ONLY for PrestaShop projects on GitLab.com. Triggers when user asks for security scanning, vulnerability alerts, module CVE check, or Friends of Presta integration on a PrestaShop project.

Data & Documents 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# PrestaShop Security Audit Weekly automated security scan for PrestaShop 8 projects on GitLab.com Free tier. Covers: 1. **Friends of Presta (FoP)** module advisory check — cross-references installed modules against known CVEs 2. **PrestaShop core version** — detects outdated core vs latest stable 3. **Trivy** — scans PHP/Composer dependencies for CVEs and leaked secrets 4. **Weekly HTML email** — Monday 8am Madrid, same format across projects --- ## What's unique about PrestaShop security The biggest attack vector in recent PS vulnerabilities is **third-party modules** (marketplace and premium themes) with SQL injection, path traversal, and file upload flaws. Friends of Presta maintains the authoritative CVE list at: - GitHub: `https://github.com/friends-of-presta/security-advisories` - Site: `https://security.friendsofpresta.org` Most attacks exploit `id_cart`, `id_product`, `id_address` parameters without `pSQL()` sanitization in module controllers. Trivy does NOT catch these — only FoP cross-referencing does. --- ## Step 1 — GitLab CI Job Create or update `.gitlab-ci.yml` in the project root: ```yaml ps-security-audit: image: name: aquasec/trivy:latest entrypoint: [""] before_script: - apk add --no-cache curl python3 py3-packaging py3-yaml tar script: # --- Trivy scan (PHP/Composer deps + secrets) --- - trivy fs --exit-code 0 --scanners vuln,secret --format json -o trivy-report.json . 2>/dev/null - trivy fs --exit-code 0 --scanners ...

Details

Author
educlopez
Repository
educlopez/mallard
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category