Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save FavioVazquez/8e63235b7630e38bde27e594eb6e1e08 to your computer and use it in GitHub Desktop.

Select an option

Save FavioVazquez/8e63235b7630e38bde27e594eb6e1e08 to your computer and use it in GitHub Desktop.
mollify_audit_1
Mollify audit — .
Quality score: 84/100
16 finding(s) across 7 file(s) — 0 error, 16 warn
billing/app.py:1 [warn/certain] unused-import — import `os` is never used in this module (unused-import:9a5e10483cc040fd)
billing/app.py:12 [warn/certain] unused-export — function `_legacy_helper` has no reachable references in the project (unused-export:b3454f8f0092acf5)
billing/app.py:13 [warn/likely] unused-variable — local variable `tmp` is assigned but never used (unused-variable:bced62ab9da79356)
billing/app.py:17 [warn/likely] untyped-function — public function `password_hash` has no type annotations (0/1 params typed, no return type) (untyped-function:a3c79d14005834f2)
billing/app.py:18 [warn/likely] weak-hash — `hashlib.md5` is a weak hash; use sha256+ (or pass usedforsecurity=False) [CWE-327] (weak-hash:2fda8ae0463ffdee)
billing/services/invoice.py:1 [warn/certain] circular-dependency — import cycle: billing.services.invoice → billing.services.ledger → billing.services.invoice (circular-dependency:d297a057a059c6fb)
billing/services/invoice.py:6 [warn/certain] high-complexity — function `create_invoice` is complex (cyclomatic 7, cognitive 21); thresholds 10/15 (high-complexity:1cbe4ffa6ee8ed1d)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment