<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Serguei Dmitriev on Medium]]></title>
        <description><![CDATA[Stories by Serguei Dmitriev on Medium]]></description>
        <link>https://medium.com/@serguei.dmitriev?source=rss-19ed80e6b21e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xfVEkB2CYEhiNmXu</url>
            <title>Stories by Serguei Dmitriev on Medium</title>
            <link>https://medium.com/@serguei.dmitriev?source=rss-19ed80e6b21e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:31:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@serguei.dmitriev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fighting Bots — Part II]]></title>
            <link>https://medium.com/ssense-tech/fighting-bots-part-ii-2d58e78cdca1?source=rss-19ed80e6b21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d58e78cdca1</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[serverless-architecture]]></category>
            <dc:creator><![CDATA[Serguei Dmitriev]]></dc:creator>
            <pubDate>Fri, 02 Jun 2023 13:57:12 GMT</pubDate>
            <atom:updated>2023-06-02T13:57:12.982Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fighting Bots — Part II</h3><p>Best practices to protect your public API in a serverless context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aUwpNM9t75hW0qZ17c-ttg.jpeg" /><figcaption><a href="https://www.cpomagazine.com/cyber-security/checkout-bots-use-chrome-extensions-to-automatically-snap-up-delivery-time-slots-but-are-they-safe/">Source</a></figcaption></figure><p>In our <a href="https://medium.com/p/6f856521ac34">last article</a>, we started the discussion around dealing with bots and how to leverage AWS services to help with this.</p><p>But there is more to discuss! In this second article, we will look at additional levers you may want to consider including from an online e-commerce application perspective.</p><h3>Checkout Bot: Friend Or Foe</h3><p>As the API service provider, not only do you have to take care of high traffic volumes from regular users but you also have to deal with bot-generated traffic and keeping it at bay.</p><p>As a business, we’re happy to have as many successful orders placed as possible, as long as they come from non-fraudulent sources. Unfortunately, 99% of bot traffic results in failed orders, contributing to additional load and costs to the infrastructure.</p><p>Here is a typical checkout bot behavior with slight variations depending on its implementation:</p><ul><li>Create one or multiple user accounts in the target system</li><li>Login to the account, or several accounts at the same time</li><li>Search for specific products by SKU</li><li>If found, add to cart. If a product is not available, keep trying to add it to the cart until it’s available.</li><li>If the cart contains the required products, proceed to checkout and pay with a predefined payment method, providing a predefined shipping address.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*fWetk5oUCfXuJraqFsThYw.png" /><figcaption>Checkout bot sequence example</figcaption></figure><p>These steps can be repeated by bots at any speed or volume, during any period of time, for one or multiple accounts at the same time. Some bots run such requests for 10 to 20 minutes, while others can run for hours. Typically, if products are available, the orders get placed within the first seconds. But, sometimes the same sequence of requests is repeated to no avail, meaning there are no products available anymore but the traffic still puts unnecessary pressure on the infrastructure, potentially compromising the performance of other components and degrading actual users’ experience.</p><p>Unfortunately, many bots are implemented to run at the maximum possible speed, resulting in thousands of requests per second. This exhausts system resources, leaving little to no operational room for legitimate online customers. Which brings us to a common dilemma: how to protect the system from high bot traffic spikes while keeping actual users unaffected?</p><h3>Play by the Rules or Go Away</h3><p>Another best practice for a public API is <strong>rate limiting</strong>. According to this technique, an API contract guarantees servicing calls to a given URI at a rate not exceeding a certain limit. The rate can be measured as requests per second, requests per minute, etc. Once the limit is reached, a caller request gets rejected and is usually accompanied by an error “Too Many Requests” (status code 429 in HTTP terms).</p><p>Rate limiting in itself is a simple yet efficient technique to protect your system from excessive traffic, which does not require expensive infrastructure. It rejects abusive requests fast and without the rest of your service even knowing they were coming. But there’s a catch: to rate limit properly it is important to identify the requests from the same origin correctly, making sure they belong to the same user or bot. Otherwise, it is easy to accidentally block unrelated requests and legitimate users may be affected.</p><p>At this point you need to define a <strong>rate limit key</strong>. A rate limit key can be any unique string correctly identifying an incoming call. For example, it can be an email the user tries to login with, an already logged-in user ID, a web browser user-agent signature, an API key, or a combination of similar fields from the request which would identify a caller uniquely and reliably. Once you have determined the key, you check it against a caching solution of your choice to validate if its appearance frequency matches the allowed rate. If it doesn’t, you reject the request and move on to processing the next one.</p><p>The rate limit key determination is a problem in real-life anonymous Internet traffic where users do not have to authenticate or provide any credentials. When an API always requires an API key to get access to a set of services, the owner has full control over the use of incoming traffic. But once an endpoint allows anonymous requests which do not need any kind of authentication, that’s where the fun begins! This is particularly true in the context of automated bot traffic that will undoubtedly exploit any opportunity to sneak under the radar in the rush to get their checkout sequence working as fast as possible.</p><p>Here is what rate limiting usually looks like: you can see flat and steady traffic, for the most part, then suddenly a bot comes and starts calling the same function at an excessive rate. And only that bot’s request gets automatically blocked. Depending on how poorly a bot is programmed, you would see more than 98% of that traffic blocked just by rate limiting. This means that 98% of those requests do not need to be serviced by the rest of the stack. Moreover, bots never complain about being blocked, they just keep trying and never give up. In turn, we can never give up protecting our infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*n1T3CqiPwLEYmFeJXod09Q.png" /><figcaption>Rate-limited requests vs. all requests</figcaption></figure><p>In a typical rate limiting implementation, the automatic traffic will still go through at the allowed rate and give bots a chance to accomplish their sequence at a slower pace. More aggressive and adaptive rate limiting may implement a complete block window approach: once the excessive traffic is detected for a key XYZ and confirmed to be lasting for, say 30 seconds, it gets blocked completely for a predetermined period of time, say the next 15 minutes. Once the blockade has expired, the traffic is analyzed again and the process repeats. This method allows even further minimizing of the impact from the automated <strong>lengthy</strong> attacks which do not yield any business value but contribute to unnecessary infrastructure scaleup.</p><p>Remember, bots are smart, once they get blocked from using one account, they create another one and continue the pattern. Or even worse, a bot can create hundreds of user accounts at the same time and initiate slow traffic for each of them not hitting the rate limit threshold, but cumulative resulting traffic can still be huge and affect the target backend system.</p><p>Developers must define a better rate limiting key when faced with this issue. It requires creativity and a good understanding of the nature of the request. Bots are not there to spam your system, they are trying to reach a specific goal: accelerated purchasing of a target product or service.</p><p>Automatically identifying that target set of parameters helps generate a good rate limiting key. For example, if an API sells tickets for various events and bots are trying to get tickets for a specific event, with a specific date, seat range and payment method, then some or all of these attributes can be used to form the rate limit key while ignoring the user ID or email they belong to.</p><p>It’s important to ensure that the keys used are unique enough to only limit the problematic requests without affecting legitimate users.</p><h3>Last Line of Defense or Plan “Th”</h3><p>Here is another practical example: a sudden spike of traffic causes a huge jump of lambda concurrent executions due to its automatic scaling. This traffic could not only overwhelm the downstream microservices, but even cause other totally unrelated lambdas to get throttled if the number of unreserved concurrencies available for the AWS account is exhausted. A typical sign that your stack cannot handle the spike gracefully is an increase in the function execution time (duration). If you rely on AWS serverless stack, you need additional measures to address this danger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*_GucD9xlE7aT5wW91P5XVQ.png" /><figcaption>Lambda metrics during a traffic spike</figcaption></figure><p>A properly designed system knows its limits. Regular load testing easily shows bottlenecks and the realistic maximum traffic it can efficiently handle. Based on those SLAs, each component can preventively self-limit to avoid spreading abnormal load increases.</p><p>This is where a lambda <strong>throttling</strong> comes in handy. Use explicit <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html">Reserved Concurrency </a>(RC) for each lambda in the system to provide two important protective features:</p><ol><li>A lambda is guaranteed to have a number of concurrent executions available up to the RC limit. This prevents lambda concurrent executions from affecting each other via the <strong>Unreserved Concurrency</strong> pool.</li><li>Once a lambda reaches the RC limit, it gets throttled by AWS lambda service, meaning no more new instances of that lambda will be created and any additional inbound requests will error out until existing instances of lambda become available for processing.</li></ol><p>Side note: always consider the <strong>maximum concurrent executions</strong> metrics (as opposed to average metrics) of your lambdas. These are the metrics used for lambda throttling defined by the <strong>reserved concurrency</strong> setting. Once the metrics reach the threshold, AWS lambda starts the throttling.</p><p>Setting the explicit RC limit for each lambda is not very elegant, but it’s a compromise solution to stop an unexpected flood of traffic the system cannot scale up for. The consequence of the lambda throttling is a request rejection. Unlike rate limiting — where the request rejection is isolated to a specific key and origin and hence does not affect a wide range of users — the throttling is “blind” and global for a given lambda. It will block both malicious and legitimate requests during the throttling period. This can be an acceptable preventive measure to avoid a global system overload. Sacrificing one or two lambdas affected by unexpected traffic, the stack can still hold other lambdas and microservices operational. In reality, the throttling of short-lived outbursts of traffic goes almost unnoticed by regular users, assuming the mobile app has a request retry strategy to recover from these situations.</p><p>Here is an example of a traffic spike for a GQL function: the lambda function had a reserved concurrency limit set to 20, and once it reached this level the throttling started. For some time, the function was partially operational, but the downstream microservices did not even notice this extremely abnormal influx and did not have to scale up or to engage circuit breakers and other protective measures of their own. Eventually the traffic was automatically suppressed at the edge level thanks to other adaptive security measures in place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*zQdD8_bnaSbmt1WjjsUHKA.png" /><figcaption>Lambda gets throttled once CE limit is reached</figcaption></figure><h3>Additional Thoughts</h3><p>Here are some other improvements to consider:</p><ul><li>Bring request parameter validation closer to the entry layer. Static validation could be executed at the faster Lambda@Edge level instead of the slower application lambda middleware. Lambda@Edge handler is a lightweight fast function with low latency and fast cold starts. Moving static validation code there would not dramatically affect its performance, but would better isolate application infrastructure from the ingress network and security layers. An important note regarding Lambda@Edge: it has its own pool of unreserved concurrency with its own limit, not shared with regular AWS lambda unreserved concurrency per AWS account. The disadvantage of moving validation to Lambda@Edge is that it will require schema contract and validation logic to be kept in sync and would take a separate deployment step to push changes to the Edge.</li><li>The same approach can be applied to rate limiting. Moving it to the earlier processing tiers would unload slower application lambdas from even being fired when there is no legit request coming in. A concern here is that there is additional latency due to connecting to caching storage for tracking rate limit keys.</li><li>To have better control over mobile API traffic, sometimes it can be beneficial to impose stricter authentication rules not allowing guest users to execute any calls at all. That would give better results for rate limiting and connection security overall. It all depends on the specific use cases an API has to support. On the other hand, denying the guest traffic completely may lead to fewer potential users in the long term.</li></ul><h3>Conclusion</h3><p>No matter what you do to protect your system from external malicious traffic, there are always more sophisticated actors simulating legitimate requests, making it harder to recognize at the entry point. No single method can provide the required level of protection on its own. Therefore, it is important to plan for a multi-layered defense strategy, where each layer can handle specific types of threats.</p><p>Be extra vigilant to reduce the chances of unexpected events affecting your system performance. Never trust external requests, always be prepared for the worst, and expect bad intentions from outside actors. Continuously monitor, investigate, and adjust as you go. Unfortunately, that’s the reality of today’s retail public API.</p><p>Editorial reviews by <a href="https://medium.com/@catherine.heim">Catherine Heim</a> &amp; <a href="https://medium.com/@mbneto">Mario Bittencourt</a></p><p>Want to work with us? Click <a href="https://www.ssense.com/en-ca/careers?source=post_page---------------------------">here</a> to see all open positions at SSENSE!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d58e78cdca1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ssense-tech/fighting-bots-part-ii-2d58e78cdca1">Fighting Bots — Part II</a> was originally published in <a href="https://medium.com/ssense-tech">SSENSE-TECH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fighting Bots — Part I]]></title>
            <link>https://medium.com/ssense-tech/fighting-bots-part-i-6f856521ac34?source=rss-19ed80e6b21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f856521ac34</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Serguei Dmitriev]]></dc:creator>
            <pubDate>Fri, 12 May 2023 13:02:21 GMT</pubDate>
            <atom:updated>2023-05-12T13:02:21.593Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fighting Bots — Part I</h3><p>Best practices to protect your public API in a serverless context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*DBXuSOqZG4VehIfgm2W3eg.png" /></figure><p>Exposing an API to the outside world begins a new chapter in the cyber adventure of a business, pursuing a wider audience and inviting larger groups of potential customers. In an ideal world, the API design and implementation would drastically differ from the harsh reality brought about by cyber creatures strolling through the Wild Wide Web, causing all sorts of unexpected disturbances.</p><p>In this first article of a 2-part series, we will provide a high-level view of the challenges that arise when maintaining and protecting a public API. In the next article we will cover some of the best practices to mitigate bot traffic when running on an AWS serverless stack.</p><h3>Types of Bots 🤖</h3><p>A bot is commonly defined as an automated request executed against an online service. Bots can be running from a personal computer in a basement somewhere by an amateur coder, from a web browser plugin installed by a random user, from a powerful distributed bot farm behind large proxy pools, created by somewhat seasoned developers selling it as an official online service, and sometimes even from a physical mobile device farm completely emulating human interactions.</p><p>Here are the main categories of bots affecting both mobile and website endpoints:</p><h3>Search Engine Crawlers</h3><p>These bots mainly land on a website, indexing its content and sometimes validating published <a href="https://support.google.com/merchants/answer/7439882?hl=en">product feeds</a>. We consider them as legit bots that we don’t want to suppress at all. Sometimes they may unintentionally increase the load on the infrastructure, but typically have no major impact on server performance.</p><h3>Vulnerability Scanners</h3><p>Almost any public endpoint will have these bad actors who try to scan your resources for all known and new potential vulnerabilities. They typically don’t bring any significant traffic load on the infrastructure, being filtered out and suppressed at the very top level due to their primitive signature and very specific requests. They are considered malicious traffic we want to suppress entirely.</p><h3>DDoS Bots</h3><p>These bots can be quite dangerous. Coming from a bad actor, they can bring your infrastructure to its knees in a matter of minutes if no protection and mitigation strategies are put in place. DDoS may happen as an intentional attack or as a side effect of too many automated requests running at the same time. Similar to vulnerability scanners we want to suppress them entirely.</p><h3>Automatic Checkout Bots</h3><p>These are retail-specific bots. Similar bots may exist for travel booking, hunting for the best seats and prices on your behalf. They are quite popular within fashion e-commerce websites too. Typically, a third party provides a paid service where any online user can run an automated sequence of commands against a target website to create user accounts, login, search for specific products by SKU, add them to a cart and do a fast checkout with a specified method of payment and shipping information.</p><p>Some of them are quite powerful and able to imitate mobile client behavior and solve challenge captcha at very high rates. Requests are distributed across multiple IP addresses to lower the detection rate and blocking. Checkout bots represent the largest volume of automated traffic we have to deal with at the mobile endpoint.</p><p>There is also minor traffic originating from self-made amateur scripts for automatic checkout, which are often run from home computers or cheap shared online hosting servers. Most of the time they do not even work properly, but they create noise in the traffic logs and monitors which we would like to suppress as well. Some of them are left forgotten by their creators and keep running for years with no specific purpose.</p><p>We consider automatic checkout bots as semi-legit traffic: it is fine as long as it does not abuse our infrastructure, otherwise we need to slow it down to leave bandwidth for actual legitimate users.</p><h3>How Checkout Bots Work</h3><p>The checkout bots leverage the underlying public API of a website or mobile application directly instead of simulating user interaction at the UI level, which would be more complicated and slower. Public APIs, meant to be used by the website and mobile application operation only, are relatively easy to be discovered by reverse engineering the traffic going towards the servers: by capturing the endpoint URLs, headers, request and response payloads, authentication sequence, and the entire flow for searching, adding to cart, and ordering products.</p><p>Once the API contract is known, the next step is to automate required checkout steps, simulating requests from a real application. To be a good bot, it is also required to be able to bypass various protection layers like WAF, solving a <a href="https://en.wikipedia.org/wiki/CAPTCHA">CAPTCHA</a>, spreading requests via a range of IP addresses and acting on behalf of multiple registered users simultaneously.</p><h3>Where do I Begin?</h3><p>Depending on the popularity of your website, bot traffic can be quite significant, spiking drastically during sale periods or hype product drops, or even during the off-season, randomly exceeding all organic traffic by several folds. As a developer and e-commerce solution architect, you don’t want to risk exposing unprotected public APIs to the whole world.</p><p>The recommended approach is to learn industry best practices, plan ahead, and design the system bearing in mind external risks. This means moving in two parallel directions: building safe redundant protected infrastructure and automatically monitoring incoming traffic. Then, analyzing the results, adjusting and repeating.</p><p>Plan for multi-layered safety measures at almost every system component and tier. The main principle when dealing with outside traffic is: <strong>never trust a caller</strong>. You should always check the request for all violations which can disrupt the system, jeopardize the infrastructure downstream, or don’t make sense, and suppress them upon detection. You cannot be too strict about your contract either: give as little freedom of the input variety for a caller as possible. This will help you make the contract simple and allow you to have better control over the incoming traffic.</p><p>In reality, of course, you have to compromise between the effort and cost of protecting your resources versus the threats your system can sustain, and how much effort (and money) it would take for the other side to bypass all those measures.</p><h3>Reference Mobile Endpoint Architecture</h3><p>Let’s now focus on reference architecture and highlight the responsibility of each one.</p><p>Figure 1 illustrates the main components:</p><ul><li>Mobile application</li><li>AWS WAF</li><li>AWS CloudFront</li><li>AWS AppSync</li><li>AWS Lambda</li><li>Microservices running on some sort of elastic environment (for example: Kubernetes)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*NOmEDxVwtPdZJQePn8-44g.png" /></figure><p>Your first line of defense is a <a href="https://en.wikipedia.org/wiki/Web_application_firewall">WAF</a>: web application firewall, a must-have component protecting the connection between your web application and the internet. While it does not protect from all types of attacks, it enforces a large set of filters and blocks against vulnerabilities exploiting HTTP traffic.</p><p>Next comes AWS Cloudfront, which among other features provides DDoS attack protection and can be configured to plugin a third-party service for traffic heuristic analysis based on ML and AI. This in itself is already an important first step towards online protection against typical malicious traffic any public endpoint would suffer from otherwise. Configuring WAF or CloudFront is out of scope for this article, but consider it an industry standard essential for any online service.</p><p>In this scenario, the <strong>microservices</strong> serve both the website and the mobile app, hence excessive traffic on one side can affect performance on the other side. Appropriate designs like <a href="https://medium.com/ssense-tech/putting-the-breaks-on-downtime-383cba4edc2">circuit breaker</a>, bottlenecks, rate limiting, and throttling can be used to decouple and isolate systems as much as possible to prevent domino effects across the stack should a stress event happen in one or multiple microservices.</p><p>There are also serverless stack implications: when different application lambdas are running under the same AWS account, they share the same pool of <strong>Unreserved Concurrency</strong> (UC) values. If the limit is too low, or lambda invocations have a huge spike in one application (say due to bot traffic), other unrelated service lambdas can be affected and automatically throttled by AWS due to a limited number of UC left for them to share and operate.</p><p>A possible workaround is to move such services away from each other to different AWS accounts. Another isolation measure for lambdas is to specify an explicit Reserved Concurrency value for each lambda. This guarantees no other lambda can take away the allowed concurrency from the given lambda. It is important to understand that once the RC value is reached by the lambda instances, the lambda function gets throttled by the AWS stack and incoming requests will be rejected.</p><p>In theory, a <strong>lambda</strong> could scale its instances almost unlimitedly by increasing its concurrent executions. But in reality, the downstream services it is connected to have their own limit of sustainable traffic that they can handle. For example, if a microservice SLA is 10K RPS for both web and mobile clients, and the website needs 8K RPS during high traffic periods, we may need to limit (throttle) mobile traffic calls once they reach 2k RPS to protect the downstream stack from overloading. Although it is not a perfect solution, slowing down some of the system components allows you to keep the system functional instead of causing a stack collapse due to unexpected uncapped traffic. These are standard system reliability considerations defined in <a href="https://cloud.google.com/blog/products/devops-sre/sre-fundamentals-sli-vs-slo-vs-sla">SRE fundamentals</a>.</p><p>Using the serverless stack has its obvious benefits but also has limitations and particularities which have to be taken seriously and planned for.</p><h3>My API — My Rules</h3><p>Nothing helps a developer’s life like a well-defined API contract with strict and explicit rules. It is equally beneficial for other teams to integrate the API, preventing API misuse, and protecting the service from malformed external traffic. The sooner a request can be detected as not serviceable and rejected, the better the overall system performance and security.</p><p>Hence, your next level of protection is cutting undesired traffic via API schema validation. For the mobile endpoint, you can leverage AWS AppSync which supports basic GQL schema and its validation. Be mindful that the default GQL schema validation executed by AppSync is too relaxed and does not provide the desired level of security. The only native option for GQL parameters validation was a resolver mapping template based on VTL language, which is developer-unfriendly and not unit-testable. If you want to have more flexibility, you can shift it one level lower, which in the reference architecture is done by lambda. This also gives you the freedom to use any language and validation package, as well as total control of the implementation, including code reuse and unit testing.</p><p>If you choose this approach you can check each and every input field of GQL request for its type, allowed values (including range), maximum length allowed for string parameters, and even maximum length allowed for the arrays of values. You can even afford the conditional validation of one field based on another field value. This logic can be as complex as needed, yet lightweight and fast enough to provide request sanitizing according to the API contract.</p><p>Based on our own experience, we noticed:</p><ul><li>A lot of legacy and malformed requests can be stopped right at the entry point and not reach the downstream services anymore, significantly reducing the error and warning noise in the logs of several services. Reduced traffic allows us to keep the infrastructure at a lower scale, reduce its cost and keep dashboards cleaner.</li><li>Downstream API failures due to request payload being too big can be eliminated.</li><li>Internal issues due to API misuse by your own mobile application can be found. This can allow further improvements and cross-team API contract awareness.</li></ul><h3>To Be Continued…</h3><p>Any service that is publicly exposed must incorporate bot traffic handling as part of its plan.</p><p>Bot traffic comes in many forms and its consequences depend on your specific context. In general, you need to have a strategy on how to handle and prevent it from having negative outcomes, be it in the form of preventing legitimate traffic or incurring unnecessary costs.</p><p>We presented a reference architecture, with an in-depth defense that aims to provide a starting point for you to improve upon.</p><p>In the next article we will continue our journey by looking at other important practices you may want to leverage as part of your toolkit.</p><p>Editorial reviews by <a href="https://medium.com/@catherine.heim">Catherine Heim</a> &amp; <a href="https://medium.com/@mbneto">Mario Bittencourt</a></p><p>Want to work with us? Click <a href="https://www.ssense.com/en-ca/careers?source=post_page---------------------------">here</a> to see all open positions at SSENSE!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f856521ac34" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ssense-tech/fighting-bots-part-i-6f856521ac34">Fighting Bots — Part I</a> was originally published in <a href="https://medium.com/ssense-tech">SSENSE-TECH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>