fix(security): resolve Dependabot and CodeQL vulnerabilities#697
Open
cl-efornaciari wants to merge 1 commit intomainfrom
Open
fix(security): resolve Dependabot and CodeQL vulnerabilities#697cl-efornaciari wants to merge 1 commit intomainfrom
cl-efornaciari wants to merge 1 commit intomainfrom
Conversation
mxiao-cll
reviewed
Feb 25, 2026
| const generatorCommand = `yo ${generatorPath} ${pathArg}` | ||
|
|
||
| execSync(generatorCommand, { stdio: 'inherit' }) | ||
| const args = [generatorPath] |
Contributor
There was a problem hiding this comment.
Please run this locally on the main EA repo to test out a new adapter generation
alecgard
approved these changes
Feb 26, 2026
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.
Summary
This PR addresses security vulnerabilities reported by Dependabot and CodeQL.
Dependabot (1 alert fixed)
$dataoptionrm yarn.lock && yarn install --ignore-enginesCodeQL (11 alerts addressed)
Command injection (2 alerts) –
scripts/adapter-generator.ts:execSyncwithexecFileSyncto prevent shell command injection fromprocess.argv[2]Workflow permissions (9 alerts):
permissions: contents: readat workflow level;code-coveragejob overrides withcontents: write(pushes coverage branch)permissions: contents: readpermissions: contents: read, pull-requests: write, issues: write;createVersionBumpPRjob overrides withcontents: write, pull-requests: writepermissions: contents: read, pull-requests: read, issues: writeWhat remains
yarn buildmay fail due to Node version (generator-adapter expects Node 20+); CI usesubuntu-latestand should passHow changes were made
execSyncforexecFileSyncwith array arguments in adapter-generator.tspermissionsblocks to all workflow files per CodeQL least-privilege guidanceMade with Cursor