fleetlint Policy for a fleet of repositories
v0.3
Getting started

slop/insecure-patterns

No disabled TLS verification or similar shortcuts

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-slop@0.1.0

Requirement

No globally disabled certificate verification, eval(, chmod 777 or wildcard CORS origin in non-test code.

Why

Each one was added to make something work once and removes a protection for every user afterwards.

Check

For each item in:

codegrep("nontest", r'badCertificateCallback|InsecureSkipVerify:\s*true|verify\s*=\s*False|rejectUnauthorized:\s*false|NODE_TLS_REJECT_UNAUTHORIZED|danger_accept_invalid_certs|\beval\(|chmod\s+(-R\s+)?777|Allow-Origin[\x22\x27]?\s*[:,]\s*[\x22\x27]\*')
false

Fix

Scope the exception to one host or one path with explicit opt-in, or remove it.

Agent instruction: Report each occurrence with what it disables; replace only when the secure equivalent is evident.

See: https://fleetlint.org/baseline/#slop


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.