merge: chore/cleanup-remove-bloat-and-secrets into main

This commit is contained in:
Crypto Rug Munch 2026-07-02 01:24:22 +07:00
commit bde2f3a97d
1173 changed files with 437609 additions and 0 deletions

21
.semgrep/rules.yaml Normal file
View file

@ -0,0 +1,21 @@
rules:
- id: rmi-print-prod
pattern: print(...)
message: "print() call - use logger.info() in production code"
languages: [python]
severity: WARNING
paths:
include: ["app/"]
exclude: ["app/core/lifespan.py"]
- id: rmi-os-system-call
pattern: os.system(...)
message: "os.system() is dangerous. Use subprocess.run() with shell=False"
languages: [python]
severity: ERROR
- id: rmi-eval-detected
pattern: eval(...)
message: "eval() is a security risk. Never use eval() on user input"
languages: [python]
severity: ERROR