Open door with a light beam and red shards symbolizing a web application security backdoor

Web Application Security Best Practices: A Backdoor Case

blog post publisher

Ramona Rohan

Head of Quality Assurance

Reading time: 3 min

Updated: Jul 2, 2026

Key takeaways

  • Web application security is an ongoing practice, not a one-off audit.
  • The 2019 rest-client Ruby gem backdoor leaked credentials from apps using versions 1.6.10 to 1.6.13.
  • Wolfpack Digital scanned every project in under two hours and confirmed all ran safe versions.
  • The OWASP Top 10 for 2025 lists Software Supply Chain Failures as a new critical risk category.
  • Core best practices: test often, use multi-factor authentication, audit dependencies, monitor the supply chain, and keep an incident plan.
apps
Cyber
Month
web
ruby
backdoor

At Wolfpack Digital, web application security is a year-round habit, not a once-a-year checklist. Every dependency we ship is a potential door into an app. So when a backdoor turns up in a popular open-source library, we act fast.

This is the story of how we handled one such case, and the web application security best practices that kept our clients safe. It is a useful playbook for any team that builds software.

What happened: a backdoor in a Ruby gem

Back in August 2019, security researchers found a backdoor in a widely used Ruby gem. The affected package was the popular rest-client gem, downloaded more than 100 million times. Attackers had slipped malicious code into versions 1.6.10 through 1.6.13. The code sent data from apps to external servers.

One of the maintainers explained the risk in plain terms:

The data most exposed to this leak is login credentials, used to access databases, payment systems, and other platforms.

Stolen credentials can unlock databases and payment systems, so the stakes were high. We build apps with Ruby on Rails, so this news landed close to home. We also cover the basics of secure Rails apps in a separate guide.

How we responded: web application security best practices in action

In under two hours, the whole team knew about the issue. Our Head of Web Development shared clear, quick steps to protect every project we run.

Our engineers ran an X-ray check on all the web apps in our portfolio. The goal was simple: find every project that used the affected gem.

We need to search all our codebases for Gemfile.lock files that pin one of the malicious versions. If we spot an anomaly, we update to a safe version and ship an immediate release.

The results of our security audit were reassuring. Every project already ran a safe version, so none were exposed. We then went back to our normal day-to-day work with confidence.

Web application security best practices for app development teams

Threats like this one are common. The bigger lesson is that supply chain risk is now a top concern for any team. In fact, the OWASP Top 10 for 2025 added Software Supply Chain Failures as a new category. It sits high on the list of the most critical web application security risks.

Here are the web application security best practices we recommend to any app development team:


Open-source maintainers can help too. If you publish gems, turn on multi-factor authentication for your rubygems.org account. That one step makes it much harder for anyone to push a malicious update.

What we learned

This case is a good example of how a software development team can react fast and shield its clients. Our ISO 27001 and ISO 9001 certifications back this up. They mean security and quality are built into how we work, not bolted on later.

Solid web application security practices help us handle any cyber threat with a clear head. Looking for a trusted partner to build a secure web or mobile app? Get in touch, and we will take care of your idea from start to finish.

Frequently asked questions

Key practices include testing products regularly for vulnerabilities, using strong multi-factor authentication, auditing open-source dependencies, monitoring your software supply chain, and keeping a clear incident response plan so your team can react quickly to threats.
In August 2019, attackers inserted malicious code into versions 1.6.10 to 1.6.13 of the popular rest-client Ruby gem. The code sent data, including login credentials, to external servers.
A software supply chain attack targets the third-party libraries, tools, or dependencies an app relies on. The 2025 OWASP Top 10 added Software Supply Chain Failures as a dedicated risk category because these attacks are increasingly common.
Wolfpack Digital follows ISO 27001 and ISO 9001 certified processes, audits dependencies, tests regularly, and responds to emerging threats within hours. Security and quality are built into how the team works.
Ramona Rohan

Written by

Ramona Rohan

Head of Quality Assurance

Ramona is the Head of Quality Assurance at Wolfpack Digital, leading QA strategy and agile delivery practices with over 15 years of experience ensuring digital products meet the highest standards of quality, reliability, and performance. With a Ph.D. in Mathematics and degrees in Mathematics & Computer Science, she brings exceptional analytical rigor, structured thinking, and problem-solving capabilities to quality assurance.


Her unique academic background provides a foundation for approaching QA with mathematical precision and systematic methodology. Ramona excels at identifying edge cases, designing comprehensive test strategies, and implementing quality processes that scale with product complexity. She understands that effective quality assurance goes beyond finding bugs—it requires understanding user behavior, anticipating failure scenarios, and building quality into every stage of the development lifecycle.


As a QA leader, Ramona's approach is characterized by adaptability and continuous improvement. She views each project as an opportunity for learning and growth, fostering a culture where quality is everyone's responsibility.


Ramona brings both discipline and adaptability to her role, balancing the structure needed for thorough testing with the agility required in fast-paced product development. She leads cross-functional collaboration between QA, development, design, and product teams, ensuring quality considerations are integrated from initial planning through post-launch monitoring.


Her expertise spans manual and automated testing, performance testing, security testing, test automation frameworks, agile and DevOps methodologies, and building quality-focused development cultures. Ramona has played a crucial role in delivering 250+ digital products that consistently earn high user satisfaction ratings.


Through her blog contributions, Ramona shares insights on QA best practices, test automation strategies, integrating quality into agile workflows, building effective QA teams, and the evolving role of AI in quality assurance. Her writing reflects a commitment to elevating quality standards across the software industry.


Areas of expertise: Quality assurance strategy, test automation, agile methodologies, manual and automated testing, performance testing, security testing, continuous integration/continuous delivery (CI/CD), QA team leadership, process optimization, risk assessment, quality metrics

View profile