Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

ci: remove OSSAR scan from release gate (#2911)

LearningCircuit54b9dc2579ea
diff --git a/.github/workflows/ossar.yml b/.github/workflows/ossar.yml
deleted file mode 100644
index fe6538d6f0..0000000000
--- a/.github/workflows/ossar.yml
+++ /dev/null
@@ -1,80 +0,0 @@
-# This workflow uses actions that are not certified by GitHub.
-# They are provided by a third-party and are governed by
-# separate terms of service, privacy policy, and support
-# documentation.
-
-# This workflow integrates a collection of open source static analysis tools
-# with GitHub code scanning. For documentation, or to provide feedback, visit
-# https://github.com/github/ossar-action
-name: OSSAR
-
-on:
- workflow_call: # Called by release-gate.yml
- schedule:
- - cron: '39 12 * * 1' # Weekly scan for early detection
- workflow_dispatch: # Manual trigger for debugging/verification
-
-permissions:
- contents: read
-
-jobs:
- OSSAR-Scan:
- # OSSAR runs on ubuntu-latest for better path compatibility
- permissions:
- contents: read # for actions/checkout to fetch code
- security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
- actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
- runs-on: ubuntu-latest
-
- steps:
- - name: Harden the runner (Audit all outbound calls)
- uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
- with:
- egress-policy: audit
-
- - name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
-
- with:
- persist-credentials: false
-
- # Run open source static analysis tools
- - name: Run OSSAR
- uses: github/ossar-action@4e96c4f6e591eb4b991abfd459e40b136a317aea # v2.0.0
- id: ossar
-
- # Upload results to the Security tab
- - name: Upload OSSAR results
- if: always()
- uses: github/codeql-action/upload-sarif@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
- with:
- sarif_file: ${{ steps.ossar.outputs.sarifFile }}
-
- - name: Add OSSAR Summary
- run: |
- {
- echo "## 🛡️ OSSAR SECURITY ANALYSIS"
- echo ""
- echo "### 🔍 What is OSSAR?"
- echo "OSSAR (Open Source Static Analysis Runner) runs multiple open source security tools without complexity, providing comprehensive coverage across multiple programming languages."
- echo ""
- echo "### 🎯 Tools Included:"
- echo "- **ESLint**: JavaScript/TypeScript security and code quality analysis"
- echo "- **BinSkim**: Microsoft's security linter for common issues"
- echo "- **Additional Tools**: Various language-specific static analyzers"
- echo ""
- echo "### 🔄 Integration:"
- echo "- **SARIF Output**: Results uploaded to GitHub Security tab"
- echo "- **Weekly Scans**: Automated analysis every Monday at 12:39 UTC"
- echo "- **PR Analysis**: Security checks on pull requests"
- echo "- **Complementary**: Works alongside existing security workflows"
- echo ""
- echo "### 🚨 Recent Findings:"
- echo "- **192 ESLint Warnings**: DOM manipulation without sanitization (XSS risk)"
- echo "- **JavaScript Files**: socket.js, ui.js, fallback/ui.js affected"
- echo "- **Action Required**: Consider using createElement() instead of innerHTML"
- echo ""
- echo "### 📚 Learn more about OSSAR:"
- echo "- [OSSAR GitHub](https://github.com/github/ossar-action)"
- echo "- [OSSAR Documentation](https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities/configuring-the-code-scanning-tool)"
- } >> "$GITHUB_STEP_SUMMARY"
diff --git a/.github/workflows/release-gate.yml b/.github/workflows/release-gate.yml
index ac085201ee..f7e959d603 100644
--- a/.github/workflows/release-gate.yml
+++ b/.github/workflows/release-gate.yml
@@ -164,16 +164,6 @@ jobs:
security-events: write
actions: read
- # ============================================
- # Additional SAST (OSSAR - ESLint + BinSkim)
- # ============================================
- ossar-scan:
- uses: ./.github/workflows/ossar.yml
- permissions:
- contents: read
- security-events: write
- actions: read
-
# ============================================
# DAST (overlapping coverage with ZAP)
# ============================================
@@ -213,7 +203,6 @@ jobs:
- semgrep-scan
- devskim-scan
- bearer-scan
- - ossar-scan
- security-tests
- container-security
- owasp-zap-scan
@@ -320,7 +309,6 @@ jobs:
- codeql-scan
- devskim-scan
- bearer-scan
- - ossar-scan
# Dependency scanning (OSV-Scanner runs on PRs, not here - see comment above)
- npm-audit
- retirejs-scan
@@ -383,7 +371,6 @@ jobs:
check_result "${{ needs.codeql-scan.result }}" || true
check_result "${{ needs.devskim-scan.result }}" || true
check_result "${{ needs.bearer-scan.result }}" || true
- check_result "${{ needs.ossar-scan.result }}" || true
check_result "${{ needs.npm-audit.result }}" || true
check_result "${{ needs.retirejs-scan.result }}" || true
check_result "${{ needs.grype-scan.result }}" || true
@@ -491,13 +478,6 @@ jobs:
FAILED="true"
fi
- if [ "${{ needs.ossar-scan.result }}" = "success" ]; then
- echo "✅ **OSSAR**: Passed"
- else
- echo "❌ **OSSAR**: ${{ needs.ossar-scan.result }}"
- FAILED="true"
- fi
-
# ============================================
# Dependency scanning
# ============================================
diff --git a/docs/CI_CD_INFRASTRUCTURE.md b/docs/CI_CD_INFRASTRUCTURE.md
index 1be729a9ce..be35fc731c 100644
--- a/docs/CI_CD_INFRASTRUCTURE.md
+++ b/docs/CI_CD_INFRASTRUCTURE.md
@@ -102,7 +102,6 @@ pre-commit install-hooks
| `owasp-zap-scan.yml` | Schedule | OWASP ZAP dynamic scanning |
| `retirejs.yml` | PR, push | JavaScript vulnerability scanning |
| `zizmor-security.yml` | PR, push | Additional security checks |
-| `ossar.yml` | PR, push | OSSAR security analysis |
| `ossf-scorecard.yml` | Schedule | OpenSSF Scorecard |
| `security-headers-validation.yml` | PR, push | HTTP security headers |
| `security-file-write-check.yml` | PR, push | File write security |