VOOZH about

URL: https://thenewstack.io/can-you-bot-proof-your-applications-and-apis/

⇱ Can You 'Bot Proof' Your Applications and APIs? - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-11-10 06:22:19
Can You 'Bot Proof' Your Applications and APIs?
contributed,sponsor-imperva,sponsored,sponsored-post-contributed,
Security / Software Development

Can You ‘Bot Proof’ Your Applications and APIs?

As the proportion of bot traffic across the internet grows, organizations are becoming more proactive and investing in bot management.
Nov 10th, 2022 6:22am by Lynn Marks
👁 Featued image for: Can You ‘Bot Proof’ Your Applications and APIs?
Image via Pixabay.
Imperva sponsored this post.

When you’re coding an application or API, your intended user is probably a human. The reality is that a larger proportion of internet traffic is now automated. In 2021, 42.3% of all traffic on the internet came from a nonhuman user. Should you be worried?

One specific type of automated traffic, bots, are software applications that execute repetitive tasks. They’ve become commonplace because bots can complete simple tasks more quickly than a human. Bots perform beneficial and malicious tasks across the internet every day.

Good bots can be used to scrape data from multiple sources to help a user quickly find information, such as a search result. Alternatively, bad bots can be used to carry out a range of malicious tasks, from account takeover to denial of inventory to enabling high-speed abuse, misuse and attacks on websites, mobile apps and APIs. Successful attacks can lead to website downtime, data leakage and various forms of online fraud.

Bad bot traffic is rising at a time when developers are building more applications and APIs to enable digital customer experiences. The expanding array of endpoints is a ripe target for automated bot attacks.

Imperva helps organizations protect critical applications, APIs, and data, anywhere, at scale, and with the highest ROI. With an integrated approach combining edge, application security, and data security, Imperva protects companies through all stages of their digital journey.
Learn More
The latest from Imperva

Do You Have a Bad Bot Problem? 

Every online business needs to care about bad bot traffic. While some industries — like retail, travel, financial services and gaming — see a higher proportion of bot traffic across their websites and applications, it’s an issue that affects every industry. What’s more, bots are a persistent, 24/7 threat to a business’s website, apps and APIs.

In 2021, bad bots accounted for 27.7% of all global website traffic, up from 25.6% in 2020. Advanced bots use the latest evasion techniques, including cycling through random IPs, entering through anonymous proxies, changing identities and mimicking human behavior to evade detection.

In fact, bots increasingly use natural language processing (NLP) to respond with adapted semantics so they can convey realistic human behavior. Unfortunately, the more sophisticated the bot is, the harder it is to detect and stop with basic security defenses.

To identify a potential bot problem, there are several indicators you can closely monitor:

  • Traffic patterns: Abnormal spikes in traffic that cannot be reasonably explained could indicate the presence of automated traffic. This is particularly true if high volumes of traffic to the application or API occur during off hours, like a weekend.
  • Suspicious IPs: An increase in activity from an unknown IP range or region/country you wouldn’t expect traffic from could be another indication of automated traffic. Humans typically make small volumes of requests, whereas a bot might make many requests at once.

As the proportion of bot traffic across the internet grows, organizations are becoming more proactive and investing in bot management. The 2022 Cyberthreat Defense Report from the CyberEdge Group found that 40.7% of organizations are already using a bot management solution, while another 40.4% plan to implement a solution in the next 12 months.

How to Harden Your Apps and APIs from Automated Security Threats

Regardless of the attack vector or pathway a cybercriminal uses, they’re after one thing: data. Developers have a responsibility to the business to ensure the applications and APIs they build, which often connect directly to an underlying database, cannot be easily exploited by a cybercriminal. It’s why many developers use the secure software development life cycle (SSDLC) approach for code releases.

Below are three ways to proactively mitigate automated abuse of applications and APIs:

  • Establish a baseline for the application or API’s expected behavior: By understanding the baseline rate per minute/second or the expected geography of users, you can more easily detect abnormal usage and unusual spikes in traffic. For example, a “write” API is not frequently called upon, unless it is used for logging. If there’s an unexpected uptick in traffic from this kind of API, it could indicate abnormal activity.
  • Understand how users should access the API: If access requires a token or API key, rate limits should be applied in two ways: requests per minute/session, and on the IP’s per token/key and tokens/keys per IP. This can help developers identify an attack that is trying to circumvent the rate limit.
  • Implement an audit trail: Keep an eye on user activity across your applications and APIs. An audit trail maintains a record of all user activity on a specific application or even API. This enables developers and security teams to monitor traffic logs and verify if or when there is potentially malicious activity coming from bots.

Year over year, the proportion of human traffic across the internet declines and is replaced with automated bot traffic. With it comes a range of new security-related challenges that organizational leaders and developers will need to navigate and find ways to address.

By implementing a dedicated bot solution that is capable of monitoring and detecting traffic anomalies without impacting legitimate human users, developers can spend more time writing code and less time inspecting apps or APIs for potential bot activity.

Imperva helps organizations protect critical applications, APIs, and data, anywhere, at scale, and with the highest ROI. With an integrated approach combining edge, application security, and data security, Imperva protects companies through all stages of their digital journey.
Learn More
The latest from Imperva
TRENDING STORIES
Lynn Marks is a skilled product manager with more than 10 years of experience in R&D and B2B product management. Previously, she was product manager at Model N and Distil Networks (acquired by Imperva) where she oversaw the product roadmap...
Read more from Lynn Marks
Imperva sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.