frappe-errors-controllers

Pass

Audited by Gen Agent Trust Hub on Mar 31, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides comprehensive technical documentation for diagnosing and fixing errors in Frappe Document Controllers across different lifecycle hooks (Naming, Validation, Submit, etc.).
  • [SAFE]: It actively promotes security best practices by instructing developers to use 'frappe.db.escape()' to mitigate SQL injection vulnerabilities in permission queries.
  • [SAFE]: The content encourages defensive programming, such as implementing mandatory timeouts for network requests using the 'requests' library and using document flags to prevent infinite recursion loops.
  • [SAFE]: The provided patterns emphasize robust error management, including proper exception logging via 'frappe.log_error()' and the isolation of post-save/cleanup operations to prevent partial transaction failures.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 31, 2026, 10:40 AM