0

How to Automate REST API Security Testing

 1 year ago
source link: https://dev.to/intesar/how-to-automate-rest-api-security-testing-4lh4
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to Automate REST API Security Testing

Image description

Developers and early-stage startups build REST APIs to enable mobile, web, and API applications. Most APIs are public-facing and seldom go through a proper security testing cycle.

According to Gartner, APIs have now become the most attack vector. Ahead of networks, fishing attacks, etc. Bots can scan and detect public-facing APIs, and once they discover vulnerabilities, they continuously exploit them.

Most applications fall into compliance categories like SOC 2 for technology, PCI DSS for payments, HIPAA for medical privacy, and GDPR/CCPA for consumer privacy.

If your API is in any of these compliance areas, you're required by these standards to continuously security/penetration test your APIs, report breaches, and pay punitive damages. You can no longer hide and ignore security issues. You must report within a specific time frame, and failing to comply can cost you dearly.

These standards have the same primary purpose: to protect user data and privacy and ensure your application/organizations treat security with utmost importance.

Historically, these below impedances caused developers to skip or delay security testing.
Manual Testing - DAST scanners automate basic stuff, but deeper testing requires skillful penetration testers
Expensive - Penetration testing incurs high costs
Low Quality - Most penetration test reports contain a lot of issues that developers rate as low priority and with no clear remediation instructions.

I'm going to suggest free and automated solutions for you to get started:

EthicalCheck (Recommended)
It is a free and instant API penetration testing online tool. The tests are non-intrusive and require no sign-up. The downside is the tests are limited. Point to your public-facing API and get an instant report in under 1 minute. Additionally, the generated PDF report is SOC 2 and other compliance compatible.

Stackhawk
Offers free and paid versions. It is built on top of ZAP. Sign-up and basic security understanding is required.

APIsec
Offers free and paid versions. A low code platform. Sign-up is required. Coverage API-centric issues like logic flaws, access control, OWASP, etc.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK