Skip to content

refac: logging and path handling; enhance security checks#20

Merged
cbermudez97 merged 1 commit into
mainfrom
fix/security-reports
Jun 18, 2026
Merged

refac: logging and path handling; enhance security checks#20
cbermudez97 merged 1 commit into
mainfrom
fix/security-reports

Conversation

@cbermudez97

Copy link
Copy Markdown
Contributor
  • Removed debug log for handling get run requests in HandleGetRun.
  • Sanitized log values for days in HandleGetTrends, HandleMethodTrends, and HandleClientTrends.
  • Sanitized remote address logging in WebSocket connection handler.
  • Added build constraint for debug commands to limit their execution to debug builds.
  • Improved OpenRPC spec loading by validating URLs and adding path traversal protection.
  • Introduced SafeReadPath function to prevent unauthorized file access in various loaders.
  • Enhanced run-from-snapshot.sh script with Linux checks and improved URL validation for snapshot downloads.

- Removed debug log for handling get run requests in HandleGetRun.
- Sanitized log values for days in HandleGetTrends, HandleMethodTrends, and HandleClientTrends.
- Sanitized remote address logging in WebSocket connection handler.
- Added build constraint for debug commands to limit their execution to debug builds.
- Improved OpenRPC spec loading by validating URLs and adding path traversal protection.
- Introduced SafeReadPath function to prevent unauthorized file access in various loaders.
- Enhanced run-from-snapshot.sh script with Linux checks and improved URL validation for snapshot downloads.
@cbermudez97 cbermudez97 merged commit 348d5bd into main Jun 18, 2026
4 checks passed
@cbermudez97 cbermudez97 deleted the fix/security-reports branch June 18, 2026 19:34
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