In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade shakapacker to version 9.5.0 or higher.
Affected versions of this package are vulnerable to Inclusion of Sensitive Information in Source Code via the EnvironmentPlugin , which exposed all build environment variables. An attacker can access sensitive environment variables, including credentials and API keys, by inspecting client-side JavaScript bundles that have embedded these values.
This vulnerability can be mitigated by auditing client-side code and dependencies for any process.env.X references to sensitive variables, removing sensitive variables from the build environment, or overriding the default plugins with a custom webpack/rspack configuration using an explicit allowlist.