Skip to content

Add OWASP ZAP baseline scan workflow#1146

Draft
murderteeth wants to merge 1 commit into
mainfrom
zap-workflow
Draft

Add OWASP ZAP baseline scan workflow#1146
murderteeth wants to merge 1 commit into
mainfrom
zap-workflow

Conversation

@murderteeth

Copy link
Copy Markdown
Collaborator

Summary

Adds a GitHub Actions workflow that runs an OWASP ZAP baseline scan against the site. ZAP is an open-source web security scanner maintained by OWASP — the baseline scan passively crawls the target and checks for common security issues like missing headers (CSP, clickjacking, HSTS), insecure cookies, information leaks, mixed content, and other OWASP Top 10 surface-level findings. Running it regularly helps catch security regressions before they hit production, without needing a full pentest.

Runs weekly on Monday mornings and can be triggered manually via workflow_dispatch. Includes .gitignore entries for local scan artifacts and a README section on running the scan locally with act.

How to review

  • zap-baseline.yml is the whole workflow — 26 lines
  • .gitignore and README.md changes are supporting housekeeping

Test plan

  • Ran locally via act workflow_dispatch — scan completed with 57 passes, 10 info-level warnings, 0 failures

Risk / impact

None — passive scan only, no effect on existing CI or deployments.

Runs weekly on Monday mornings and on manual trigger.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yearnfi Ready Ready Preview, Comment Mar 30, 2026 3:35am

Request Review

@github-actions

Copy link
Copy Markdown

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA c86c989.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

License Issues

.github/workflows/zap-baseline.yml

PackageVersionLicenseIssue Type
actions/upload-artifact4.*.*NullUnknown License
Allowed Licenses: MIT, Apache-2.0, BSD-3-Clause, BSD-2-Clause, ISC, CC0-1.0, CC-BY-3.0, CC-BY-4.0, Unlicense

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/upload-artifact 4.*.* 🟢 5.7
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 54 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST🟢 10SAST tool is run on all commits
actions/zaproxy/action-baseline 0.14.0 🟢 5.5
Details
CheckScoreReason
Maintained🟢 1014 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Fuzzing⚠️ 0project is not fuzzed
Security-Policy⚠️ 0security policy file not detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • .github/workflows/zap-baseline.yml

@murderteeth murderteeth marked this pull request as draft March 30, 2026 05:38
@murderteeth murderteeth marked this pull request as ready for review March 30, 2026 05:40
@murderteeth murderteeth marked this pull request as draft April 12, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant