inertia-rails-best-practices

Warn

Audited by Socket on Sep 15, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/setup.sh

The script is a legitimate Rails setup utility, but it contains a significant command-injection vulnerability: the unvalidated framework argument is interpolated into a string and executed with eval. An attacker who can influence the argument can run arbitrary shell commands in the project user's context. Replace eval with an array-based invocation or strictly validate FRAMEWORK against react, vue, and svelte. No clear credential theft, exfiltration, persistence, destructive behavior, or obfuscation is present.

Confidence: 99%Severity: 78%
Audit Metadata
Analyzed At
Sep 15, 2026, 05:21 AM
Package URL
pkg:socket/skills-sh/cole-robertson%2Finertia-rails-skills%2Finertia-rails-best-practices%2F@969c958950d478c05061f93d4db4cf0048ed81581883a1c5aafff921b8f4ca5b