Skip to content

Conversation

@nmaguiar
Copy link
Collaborator

This pull request introduces a small but important change to the job execution logic in oJobMCP.yaml. Now, before invoking a job function, any private arguments (those whose keys start with an underscore) are removed from both params.arguments and params.input. This helps prevent internal or sensitive data from being passed to job functions unintentionally.

  • Parameter sanitization:
    • Private arguments (keys starting with _) are now deleted from params.arguments and params.input before job execution to avoid leaking internal data.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds parameter sanitization to prevent private arguments (those with keys starting with underscore) from being passed to job functions during execution. The changes ensure that internal or sensitive data is filtered out before job invocation.

Changes:

  • Added logic to remove private arguments from params.arguments and params.input before job execution in the tools/call handler

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants