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.

fix: resolve OSSAR workflow Windows path length issues

LearningCircuit8547c8af6b50
diff --git a/.github/workflows/ossar.yml b/.github/workflows/ossar.yml
index 878c4a9841..b1a7a09124 100644
--- a/.github/workflows/ossar.yml
+++ b/.github/workflows/ossar.yml
@@ -22,35 +22,51 @@ permissions:
jobs:
OSSAR-Scan:
- # OSSAR runs on windows-latest.
- # ubuntu-latest and macos-latest support coming soon
+ # 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: windows-latest
+ runs-on: ubuntu-latest
steps:
- name: Checkout repository
- uses: actions/checkout@v4
-
- # Ensure a compatible version of dotnet is installed.
- # The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
- # A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.
- # GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
- # For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
- # - name: Install .NET
- # uses: actions/setup-dotnet@v4
- # with:
- # dotnet-version: '3.1.x'
-
- # Run open source static analysis tools
+ uses: actions/checkout@v5
+
+ # Run open source static analysis tools
- name: Run OSSAR
uses: github/ossar-action@v1
id: ossar
# Upload results to the Security tab
- name: Upload OSSAR results
- uses: github/codeql-action/upload-sarif@v3
+ uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
+
+ - name: Add OSSAR Summary
+ run: |
+ echo "## 🛡️ OSSAR SECURITY ANALYSIS" >> $GITHUB_STEP_SUMMARY
+ echo "" >> $GITHUB_STEP_SUMMARY
+ echo "### 🔍 What is OSSAR?" >> $GITHUB_STEP_SUMMARY
+ echo "OSSAR (Open Source Static Analysis Runner) runs multiple open source security tools without complexity, providing comprehensive coverage across multiple programming languages." >> $GITHUB_STEP_SUMMARY
+ echo "" >> $GITHUB_STEP_SUMMARY
+ echo "### 🎯 Tools Included:" >> $GITHUB_STEP_SUMMARY
+ echo "- **ESLint**: JavaScript/TypeScript security and code quality analysis" >> $GITHUB_STEP_SUMMARY
+ echo "- **BinSkim**: Microsoft's security linter for common issues" >> $GITHUB_STEP_SUMMARY
+ echo "- **Additional Tools**: Various language-specific static analyzers" >> $GITHUB_STEP_SUMMARY
+ echo "" >> $GITHUB_STEP_SUMMARY
+ echo "### 🔄 Integration:" >> $GITHUB_STEP_SUMMARY
+ echo "- **SARIF Output**: Results uploaded to GitHub Security tab" >> $GITHUB_STEP_SUMMARY
+ echo "- **Weekly Scans**: Automated analysis every Monday at 12:39 UTC" >> $GITHUB_STEP_SUMMARY
+ echo "- **PR Analysis**: Security checks on pull requests" >> $GITHUB_STEP_SUMMARY
+ echo "- **Complementary**: Works alongside existing security workflows" >> $GITHUB_STEP_SUMMARY
+ echo "" >> $GITHUB_STEP_SUMMARY
+ echo "### 🚨 Recent Findings:" >> $GITHUB_STEP_SUMMARY
+ echo "- **192 ESLint Warnings**: DOM manipulation without sanitization (XSS risk)" >> $GITHUB_STEP_SUMMARY
+ echo "- **JavaScript Files**: socket.js, ui.js, fallback/ui.js affected" >> $GITHUB_STEP_SUMMARY
+ echo "- **Action Required**: Consider using createElement() instead of innerHTML" >> $GITHUB_STEP_SUMMARY
+ echo "" >> $GITHUB_STEP_SUMMARY
+ echo "### 📚 Learn more about OSSAR:" >> $GITHUB_STEP_SUMMARY
+ echo "- [OSSAR GitHub](https://github.com/github/ossar-action)" >> $GITHUB_STEP_SUMMARY
+ 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