Application security guide

Application security: from review to penetration test to verified fix

By OfRoot Technology ·

How to scope a web application or API security engagement, distinguish a review from a penetration test, and turn findings into checked fixes.

The short version

Start by agreeing which applications, APIs, accounts and environments are in scope. Review how the software handles access, data and dependencies, then use an authorized penetration test to investigate realistic attack paths. Rank findings by evidence and business impact, assign fixes, and retest the affected behavior. A clean report describes the checks performed and their limits; it cannot guarantee that an application has no vulnerabilities.

A review, a scan and a penetration test do different jobs.

A security review examines the application’s design, code and configuration. A vulnerability scan automates checks for known weaknesses. A penetration test uses a defined testing method to investigate whether weaknesses can be combined into an attack against an authorized target. Each contributes evidence, but none replaces the others.

For example, a dependency scan may identify an outdated package. A code review can establish where it is used. A tester can investigate whether the affected behavior is reachable within the agreed scope. Engineering work then removes the weakness and checks that the fix preserves the application’s intended behavior.

  • Choose the question before choosing a tool.
  • Record what was tested, what was excluded and what remains uncertain.
  • Include remediation and retesting in the plan.

Agree on permission and boundaries first.

Testing starts with written permission from the system owner. List the domains, APIs, environments, user roles, testing window and permitted methods. Confirm any hosting-provider or third-party restrictions before a specialist begins work.

Use representative test accounts and synthetic data where practical. If production testing is necessary, agree separately on safeguards, monitoring, stop conditions and an escalation contact. Destructive testing, social engineering and work against third-party systems need their own explicit authorization.

OfRoot coordinates formal penetration testing with client-approved security specialists. The tester, availability, scope, confidentiality and data access are agreed before an engagement is committed. OfRoot owns the engineering follow-through and client communication.

Review the paths where trust changes.

Start where a request crosses a boundary: a visitor signs in, a user accesses a record, an uploaded file reaches a processor, or an integration receives permission to act. The important question is whether the server enforces the intended rule on every path.

OWASP’s Application Security Verification Standard provides security requirements for web applications and services. Its Web Security Testing Guide provides testing guidance. Select relevant checks and record the standard version rather than presenting a checklist as a certification.

  • Authentication, sessions and account recovery.
  • Authorization across users, roles and tenant boundaries.
  • Input handling, uploads, APIs, webhooks and business rules.
  • Dependencies, secrets, logging and deployment configuration.
  • For AI features: source permissions, tool access and human approval.

[1] OWASP Application Security Verification Standard 5.0.0 ↗ [2] OWASP Web Security Testing Guide ↗

Make every finding useful to the people fixing it.

A useful finding explains the affected component, the conditions needed, the observed behavior and the potential impact. Include enough evidence to reproduce it safely without circulating customer records or live credentials. Separate a demonstrated issue from a hypothesis that still needs investigation.

Prioritize with the application’s actual exposure and business use in view. An internet-facing access-control failure may need immediate containment. An unused component may call for a different response. Record the owner and decision for each finding, including any accepted risk.

Verify the fix and keep the evidence.

Retest the original failure and the neighboring permission or input rules. Check that the authorized workflow still works. A change to account recovery, for example, should prevent the reported abuse while still allowing the legitimate account owner to recover access.

The closing report should show which findings were fixed, retested, deferred or left open. Keep deployment and rollback instructions with the engineering handoff. A test is a view of a defined system at a defined time; later releases and newly disclosed vulnerabilities can change the picture.

  • Record the tested version and environment.
  • Keep evidence of the original issue and the retest.
  • Set an owner for future dependency and security updates.

Sources and further reading

  1. OWASP Application Security Verification Standard 5.0.0 ↗
  2. OWASP Web Security Testing Guide ↗

Follow the security developments behind the work.

Security briefing: exploited vulnerabilities and web application updates →

Need a review, a penetration test or help fixing findings?

Explore application security →