export default {  async fetch(request) {    const response = await fetch(request);
    // Clone the response so that it is no longer immutable    const newResponse = new Response(response.body, response);
    if (request.cf.botManagement.score < 30) {      const honeypot = "https://example.com/";      return await fetch(honeypot, request);    } else {      return newResponse;    }  },};Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark