Upgrade Ubuntu image and enhance security with updates and tests - #42
Merged
Conversation
…ith regression tests (#38)
* Added mend * Updated deps to resolve vuln issues
Add upper bound in mcp dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several enhancements and improvements to the codebase, focusing on security, observability, dependency management, and overall project robustness. Key highlights include the addition of OpenTelemetry support, security hardening for file and HTTP endpoint handling, dependency updates, and new or improved tests. The following are the most important changes:
Security and Hardening:
config/security.pymodule that provides helpers for HTTP endpoint allowlisting and sensitive path detection, preventing uploads of sensitive files and restricting unauthenticated HTTP requests to trusted domains.PerfectoTokeninitialization and file loading, with stricter error handling and clearer error messages.Observability and Documentation:
README.md, enabling trace and metric reporting for MCP tool calls by default, with options to disable or redirect telemetry.mcp[cli]dependency to>=1.27.0,<2.0.0and added OpenTelemetry and other related dependencies inpyproject.toml.Dependency and Build Updates:
.whitesource,mend.config) and improved Mend scan workflow to trigger on successful test completion.Testing and Quality:
Project Management and Security Policy:
SECURITY.mdfile with clear guidelines for responsibly reporting vulnerabilities.These changes collectively improve the security posture, observability, and maintainability of the project.