{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Security","url":"https://skillfed.io/packages/category/security/2"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Adds reCAPTCHA v2 and v3 field validation to Django REST Framework serializers, integrating Google's bot-detection service into API endpoints.","skillfed_tags":["bot-detection","api-security","form-validation"],"use_cases":["Protect user registration or password-reset endpoints from automated account-creation attacks using reCAPTCHA v2.","Add invisible bot detection to feedback or contact forms by validating reCAPTCHA v3 scores without user friction.","Enforce action-specific bot thresholds using v3 action scores configured in settings.","Test bot-detection logic in CI/CD by toggling DRF_RECAPTCHA_TESTING mode to mock verification without calling Google.","Override secret keys per request via serializer context for multi-platform deployments."],"what_it_does":"drf-recaptcha is a field serializer for Django REST Framework that embeds Google's reCAPTCHA verification into your API request validation pipeline. It supports both reCAPTCHA v2 (checkbox) and v3 (invisible, score-based) flows, allowing you to reject bot traffic at the serializer level before your business logic runs.\n\nThe package wraps Google's verification API and exposes ReCaptchaV2Field and ReCaptchaV3Field as field types. You add them to your serializers, configure a secret key in Django settings, and the field automatically validates incoming tokens against Google's servers. For v3, you can set per-action score thresholds to tune sensitivity. It supports dynamic secret key injection via request context, useful for multi-tenant or platform-specific deployments.","worth_installing":"Yes, if you are running Django and djangorestframework and need reCAPTCHA integration. The package is stable, supports current Python versions (3.10, 3.11, 3.12, 3.13) and recent Django releases (4.2, 5.0, 5.1, 5.2), has low install friction, and carries no known vulnerabilities. The aging maintenance status is a minor concern for a mature, narrow-scope library; monitor the repository for security updates. Not necessary if you handle reCAPTCHA verification outside the serializer layer."},"id":"drf-recaptcha","links":{"html":"https://skillfed.io/packages/drf-recaptcha","md":"https://skillfed.io/packages/drf-recaptcha.md","pypi":"https://pypi.org/project/drf-recaptcha/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-22","license_spdx":null,"license_treatment":"permissive","name":"drf-recaptcha","python_support":"supports_current","summary":"Django rest framework recaptcha field serializer"},"popularity":{"monthly_downloads":242628,"position":8849,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.0.3"}
