Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ jobs:
scan-scheduled:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.6.0
with:
# Upload the full baseline; the pull-request scan gates newly introduced findings.
fail-on-vuln: false

scan-pr:
if: ${{ github.event_name == 'pull_request' }}
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.6.0
with:
fail-on-vuln: true
5 changes: 3 additions & 2 deletions backend/core/mcp_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class _ToolFailureTracebackFilter(logging.Filter):
"""Keep FastMCP's generic tool-error line but not exception payloads/arguments."""

def filter(self, record: logging.LogRecord) -> bool:
record.exc_info = None
record.exc_text = None
if record.getMessage().startswith(("Error calling tool", "Error validating tool")):
record.exc_info = None
record.exc_text = None
return True


Expand Down
Loading