frappe-core-permissions
Pass
Audited by Gen Agent Trust Hub on Mar 31, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill consists of educational documentation and code examples for the Frappe Framework. It does not include malicious scripts or unauthorized data access patterns.
- [DATA_EXFILTRATION]: The documentation includes instructions on using framework features like
ignore_permissionsandfrappe.set_user("Administrator"). These are correctly presented as tools for system-level operations, accompanied by explicit requirements for documentation and security warnings (found in SKILL.md and references/permission-api-reference.md). - [INDIRECT_PROMPT_INJECTION]: The skill describes an architecture for custom database hooks that process session-based user data. 1. Ingestion points: User session identifiers processed in
has_permissionandpermission_query_conditionshooks (documented in references/permission-hooks-reference.md). 2. Boundary markers: Documentation mandates the use offrappe.db.escape()and table-name prefixing for all custom query conditions. 3. Capability inventory: Ability to modify database query result sets and implement custom access-denial logic. 4. Sanitization: All examples and guidelines require input escaping viafrappe.db.escape()to prevent SQL injection.
Audit Metadata