Skip to content

SDK-3449 fix #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

SDK-3449 fix #987

wants to merge 36 commits into from

Conversation

xxshubhamxx
Copy link
Collaborator

No description provided.

@xxshubhamxx xxshubhamxx requested a review from Copilot August 1, 2025 17:48
Copilot

This comment was marked as outdated.

// Build the correct glob pattern
const globPattern = supportFilesData.supportFile.startsWith('/')
? process.cwd() + supportFilesData.supportFile
: path.join(process.cwd(), supportFilesData.supportFile);

Check warning

Code scanning / Semgrep OSS

Semgrep Finding: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal Warning

Detected possible user input going into a path.join or path.resolve function. This could possibly lead to a path traversal vulnerability, where the attacker can access arbitrary files stored in the file system. Instead, be sure to sanitize or validate user input first.
@xxshubhamxx xxshubhamxx changed the title Sdk 3449 new4 SDK-3449 fix Aug 1, 2025
@xxshubhamxx xxshubhamxx requested a review from Copilot August 1, 2025 17:49
Copy link

@Copilot 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.

Copilot wasn't able to review any files in this pull request.

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.

3 participants