Skip to content

VBC-003: chmod-777

error

Category: core
Analysis: Regex (line by line)
File types: .sh, .py, .js
Scope: source code only, ignoring anything inside strings and comments
Excluded paths: **/test/**, **/tests/**, **/__tests__/**, **/testdata/**, **/fixtures/**, **/test_*.py, **/*_test.py, **/test.py, **/conftest.py, **/*_test.go, **/*_bench.go, **/*.test.*, **/*.spec.*, **/bench/**, **/benchmark*, **/*corpus*, **/*payload*
Tags: security

What it reports

Insecure chmod 777 detected at line

Flagged

sh
chmod 777 /srv/app

Not flagged

sh
chmod 640 /srv/app

Pattern

regex
chmod\s+777

Released under the MIT License.