educlopez/mallard/gitlab-security-setup
Claude Code and agent skill by educlopez/mallard
- community
Checking that the SKILL.md file is still in the repository.
Sets up a full security stack on your company's projects hosted on GitLab.com (non-PrestaShop: Laravel, Astro, TanStack, etc.). Use ONLY when the project is a GitLab.com Free tier project. Triggers when the user asks to add dependency scanning, vulnerability alerts, security setup, Trivy, pnpm supply chain protection, or wants email reports of vulnerabilities. Do NOT use for GitHub-hosted projects, personal projects, or PrestaShop projects — use ps-security-audit skill instead for any PrestaShop project.
Install
npx vskill@latest install educlopez/mallard/gitlab-security-setupSKILL.md
The same SKILL.md was published earlier as educlopez/mallard/gitlab-security-setup.
GitLab Security Setup
Full security stack for your company's GitLab.com projects on the Free tier. Covers: pnpm 11 supply chain, Trivy weekly scan, HTML email reports via Gmail.
Placeholder:{report_recipients}is a comma-separated list of emailaddresses that receive the vulnerability reports (e.g.you@example.com, teammate@example.com).Replace it everywhere it appears below with your own recipient address(es) before running.
What gets set up
- pnpm 11 with supply chain protection (
minimumReleaseAge, overrides) - Trivy vulnerability + secret scanner via GitLab CI
- Weekly scheduled pipeline (Monday 8am Madrid) with HTML email report
- Composer audit for PHP/Laravel projects
- Gmail SMTP delivery via GitLab CI/CD variables
Step 1 — pnpm 11 Supply Chain
pnpm-workspace.yaml (create or update)
Rules:
minimumReleaseAgeis in minutes (4320 = 72h). Blocks supply chain attacks via typosquatting/fast-publish.blockExoticSubdepsneeds pnpm 10.26+ — silently inert below. Check the pinned version.allowBuilds— pnpm 10+ blocks all postinstall scripts by default. Add ONLY packages that need to compile. pnpm 11 will tell you during install if a new dep needs adding here.overridespins known vulnerable transitive deps. Add new entries as CVEs appear.- Do NOT put
minimumReleaseAgein.npmrc— pnpm 11 reads it frompnpm-workspace.yamlonly. - Real test is CI:
pnpm install --frozen-lockfileon a clean machine enforces all policies; a warm local cache skips them.
package.json additions
Pin the exact version (not 11.x.x) so CI/Vercel use the version you tested. Remove any overrides or pnpm.overrides blocks from package.json — they belong in pnpm-workspace.yaml for pnpm 11.
publicar deploy script (if project has one)
Ensure it uses pnpm, not npm run.
GitHub Actions lint workflow (if exists)
Replace npm ci / npm install / npm run with:
Step 2 — GitLab CI Trivy Scan
Create or update .gitlab-ci.yml:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gitlab-security-setup/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/educlopez/mallard/gitlab-security-setup)