vetkit.shell.permissions.world-writable
chmod makes files world-writable (e.g. 777, 666, o+w). Any local user or compromised service can then modify them, including scripts and configuration that run with higher privileges.
Last updated:
Suite: Security
bash
chmod makes files world-writable (e.g. 777, 666, o+w). Any local user or compromised service can then modify them, including scripts and configuration that run with higher privileges.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Grant the narrowest mode that works (e.g. 755 / 644, or group write for a shared group) and fix ownership with chown instead of opening permissions to everyone.
References
Source: packages/engine/rules/sast/shell.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.