erpnext-errors-serverscripts

Pass

Audited by Gen Agent Trust Hub on Mar 20, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides legitimate development guidelines and implementation patterns for ERPNext Server Scripts, specifically focusing on error handling and validation across different document events and API methods.
  • [SAFE]: The content explicitly promotes positive security practices by instructing developers to use frappe.db.escape() for user-provided input in SQL queries to mitigate SQL injection vulnerabilities.
  • [SAFE]: It provides accurate security guidance regarding the Frappe RestrictedPython sandbox, correctly advising against prohibited operations such as import statements, raise statements, and try/except blocks, which helps prevent sandbox bypass attempts.
  • [SAFE]: All code examples utilize standard Frappe framework APIs (e.g., frappe.throw, frappe.log_error, frappe.msgprint) for their intended business logic purposes without any suspicious network operations or unauthorized file system access.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 20, 2026, 05:37 PM