Skip to content

chore: Update dependencies in package.json to fix security vulnerabilities#439

Merged
mnapoli merged 2 commits into
getlift:masterfrom
punit1108:vulnerability_fixes
Jan 27, 2026
Merged

chore: Update dependencies in package.json to fix security vulnerabilities#439
mnapoli merged 2 commits into
getlift:masterfrom
punit1108:vulnerability_fixes

Conversation

@punit1108
Copy link
Copy Markdown
Contributor

@punit1108 punit1108 commented Jan 25, 2026

WHY WHAT
A significant number of new security vulnerabilities are introduced through the serverless-lift setup, as identified by security scans. These vulnerabilities increase the attack surface and pose compliance and risk concerns. Screenshot 2026-01-25 at 12 43 08 PM Fix non–serverless-related vulnerabilities that are currently being reported. This includes addressing issues that are not inherent to serverless-lift but are surfaced during scans and can be safely remediated without changing the serverless architecture. Screenshot 2026-01-25 at 12 42 20 PM

npm test, npm run build, npm run lint, npm run prepare were examined and made sure to run without any issues

@mnapoli - A fix for #432

@punit1108 punit1108 changed the title chore: Update dependencies in package.json to latest versions chore: Update dependencies in package.json to fix security vulnerabilities Jan 25, 2026
Comment thread package.json
"cidr-split": "^0.1.2",
"constructs": "10.2.20",
"inquirer": "^7.3.3",
"inquirer": "^8.2.7",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are there any breaking changes impacting us?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not really. All the tests are running fine.

Do you want me to attach e2e results?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

private async askMessageBody(): Promise<string> {
        const responses = await inquirer.prompt({
            message: "What is the body of the SQS message to send (can be JSON or any string)",
            type: "editor",
            name: "body",
            validate: (input: string) => {
                return input.length > 0 ? true : "The message body cannot be empty";
            },
        });

        return (responses.body as string).trim();
    }

This is the only place inquirer is being used. The signature of the .prompt() still is the exact same

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome thank you for double checking 👍

@mnapoli mnapoli merged commit 840ae57 into getlift:master Jan 27, 2026
5 checks passed
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.

2 participants