Skip to content

Conversation

@xxshubhamxx
Copy link
Collaborator

No description provided.

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

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

@Bhargavi-BS Bhargavi-BS changed the title SDK-3449 fix [WIP] SDK-3449 fix Aug 4, 2025
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.

4 participants