frappe-impl-whitelisted

Designs secure Frappe whitelisted API endpoints with permission checks and validation.

Updated May 31, 2026
One-click install
npx skills add https://github.com/anonymousminati/Res-POS --skill frappe-impl-whitelisted-anonymousminati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-impl-whitelisted
Source: https://github.com/anonymousminati/Res-POS/tree/main/.claude/skills/impl/frappe-impl-whitelisted
Command: npx skills add https://github.com/anonymousminati/Res-POS --skill frappe-impl-whitelisted-anonymousminati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design and implement secure Frappe whitelisted methods without exposing sensitive data, bypassing permissions, or introducing injection and CSRF risks.

Core Features & Use Cases

  • Endpoint design: Choose the right API pattern for authenticated calls, guest endpoints, admin-only actions, document methods, webhooks, uploads, and background jobs.
  • Security guardrails: Apply permission checks, input validation, rate limiting, parameterized queries, and safe error handling to avoid common Frappe API vulnerabilities.
  • Client integration: Connect endpoints cleanly with frm.call, frappe.call, browser fetch, and external API requests.
  • Use case: A developer needs a public contact form, a manager dashboard endpoint, or a webhook receiver and wants production-ready code with the correct permission model and response handling.

Quick Start

Ask me to create a secure Frappe whitelisted API for your exact use case, and I will produce the endpoint logic, permission checks, and client call pattern in one response.

Frequently Asked Questions about frappe-impl-whitelisted

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a secure Frappe whitelisted API endpoint?

To create a secure Frappe whitelisted API endpoint, you design the method with explicit permission checks, input validation, and parameterized queries to prevent SQL injection and CSRF risks. This ensures authenticated actions and document controller calls do not expose sensitive data.

How do I prevent permission bypass and SQL injection in Frappe webhooks?

Preventing permission bypass and SQL injection in Frappe webhooks requires applying strict permission checks, input validation, and parameterized queries within your endpoint logic. Safe error handling and rate limiting further secure the webhook receiver against common API vulnerabilities.

How do I set up rate limiting for guest APIs in Frappe?

Setting up rate limiting for guest APIs in Frappe involves applying security guardrails within your whitelisted method logic. This controls traffic to public endpoints like contact forms, preventing abuse while maintaining CSRF-aware client integration.

Can I use frappe.call for file uploads and background jobs?

Yes, you can use frappe.call and frm.call for file uploads and background jobs by designing specific whitelisted API patterns. The Skill provides the correct endpoint logic and client integration patterns for browser fetch and external API requests.

What is the best way to handle error handling in Frappe API methods?

The best way to handle errors in Frappe API methods is to implement consistent error handling alongside permission checks and input validation. This approach avoids common vulnerabilities and ensures secure responses for both admin-only methods and public endpoints.

Does Frappe support CSRF-aware client integration for external API requests?

Yes, Frappe supports CSRF-aware client integration for external API requests by structuring your whitelisted endpoints correctly. You apply security guardrails to safely connect browser fetch and external requests with your document controller calls.