Security · Service

Application security

Catch security flaws before they ship, without slowing your releases.

What can be tested

Web applicationsAPIsMobile appsCI/CD pipelines

What application security covers

Application security is the work of keeping security flaws out of the software you build, before it reaches customers. It covers secure code review, where a person reads the code that handles money, identity and personal data; threat modelling, where you and your engineers work out what could go wrong in a design before it is built; and automated checks in your release pipeline.

You end up with your riskiest code reviewed and fixed, a threat model for each new feature, and pipeline checks that stop real flaws without blocking every merge. Your developers learn from the mistakes in their own code. Auditors read the records as evidence of secure development under ISO 27001 and SOC 2, and enterprise customers ask about the same things in their security questionnaires.

You need it when

  • An enterprise customer's security questionnaire asks how you review code, model threats and test before each release.
  • Your ISO 27001 auditor will look at secure development (A.8.25 to A.8.29), or your SOC 2 auditor at how changes are tested and approved (CC8.1).
  • Every penetration test reports the same kinds of flaws, and you want to stop them where they start.
  • You are building a login, payment or data export feature, and a flaw in it would expose money or personal data.

What you get

The scope is agreed on the first call and written down before the work starts.

  • Secure code review of the parts that handle money, identity and personal data.
  • Threat models for new features, written with your engineers.
  • Static and dynamic security checks in your CI pipeline, tuned so the findings are real.
  • Training for your developers on the flaws found in your own code.

Deliverables

What you hold at the end of the engagement, and who each document is for.

DocumentWhat it holdsWho it is for
Code review reportEach finding with its file and line, its severity, how it could be exploited and the code change that fixes it.Engineers
Threat modelsOne per feature: a data flow diagram, the threats found, and the mitigation and owner agreed for each.Engineers and architects
Pipeline checksStatic and dynamic checks added to your CI pipeline, with tuned rules and an agreed list of what blocks a merge.Platform and DevOps teams
Developer trainingA session built on the flaws found in your own code, showing each one next to the fix your team made.Developers
Secure development summaryWhat now runs at each stage from design to release, mapped to ISO 27001:2022 A.8.25 to A.8.29 and SOC 2 CC8.1.Auditors and customers

How the work runs

Week 1

Map the code

The repositories, services and data flows, with the code that handles money, identity and personal data picked out for review.

Weeks 2 to 4

Code review

Manual review of the picked code, backed by static analysis. Critical findings are reported the day they are confirmed.

Weeks 2 to 6

Threat modelling

Sessions with the engineers building each new feature on your roadmap. Every threat leaves the session with a mitigation, an owner and a ticket.

Weeks 4 to 7

Pipeline checks

Static and dynamic checks added to your CI pipeline, then tuned on your code until what they report is real.

Weeks 7 to 8

Training and handover

A developer session on the flaws found. The threat model template and the pipeline rules are handed to your team to keep running.

A row from a threat model

Each threat in a threat model gets a row like this one, agreed with the engineers building the feature. This one was written for this page; it does not come from a client.

FeatureSupport agents can refund an order from the admin console
Entry pointPOST /admin/api/refunds, called by the console with an order ID and an amount
Threat (STRIDE)Tampering and elevation of privilege. An agent, or anyone holding an agent's session, edits the amount in the request and refunds more than the order is worth, or refunds the same order twice.
Current designThe console caps the amount at the order total, but the API accepts any amount it is sent. No refund needs a second approval, whatever its size.
RiskHigh. One edited request moves money out of the business, and every agent account can send it.
Mitigation agreedThe API works out the refundable balance from the order record (total minus earlier refunds) and rejects anything above it. Refunds over an agreed amount need a second approver. Every refund is logged with the agent, order, amount and approver.
OwnerPayments engineering lead, before the feature is released
How it is checkedAn automated test sends an amount above the balance and expects a rejection, and the change is reviewed before merge.

Where it usually goes wrong

Security tools switched on with default rules

The first run reports hundreds of findings, most of them noise, and developers learn to skip the check. Infofacility tunes the rules on your code and blocks a merge only for findings confirmed as real, so a failed build means something.

Threat modelling after the code is written

A design flaw found at the end means rework, or a risk someone has to accept. Threat models are written while the feature is designed, with the engineers building it, so the mitigations go into the same tickets as the feature.

Generic secure coding training

Slides of textbook examples, in a programming language your team does not use, are forgotten within a week. Infofacility's training uses the flaws found in your own code, in your language and framework, next to the fix your team made.

The requirements it answers

The frameworks, laws and regulators whose requirements this work gives you evidence for.

ISO 27001:2022 A.8.25ISO 27001:2022 A.8.28ISO 27001:2022 A.8.29SOC 2 CC8.1

Pricing

Application security

Price on request

Scope sets the price. Book a scoping call for a written quote, in US dollars or rupees.

Book a scoping call

What sets the price

  • The amount of code to review in the parts that handle money, identity and personal data, and the languages it is written in.
  • The number of features to threat model.
  • The number of applications and pipelines to set up with checks.
  • The number of developers to train, and how many sessions that takes.

What Infofacility needs from you

  • Read access to the repositories in scope and to your CI/CD configuration.
  • An engineering lead who can explain the architecture and decide which findings block a release.
  • Time with the engineers building each feature, for its threat modelling session.
  • A staging environment and test accounts for the dynamic checks, and someone who can approve changes to the pipeline.

Questions

What is application security?

Application security is the practice of finding and fixing security flaws in software while it is designed and built, rather than after release. It covers secure code review, threat modelling, automated checks in the release pipeline and developer training. The aim is that fewer flaws reach production, and that a penetration tester or a customer's reviewer finds less when they look.

How is application security different from a penetration test?

A penetration test attacks a running application from the outside at one point in time. Application security works inside your development process: it reads the code, looks at designs before they are built and checks every change. Most companies need both. Application security cuts the number of flaws, and the penetration test confirms what an attacker could still reach.

What is threat modelling?

Threat modelling is a structured look at a design before it is built. You draw how data moves through the feature, ask what could go wrong at each step, often using the STRIDE categories (spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege), and agree a fix and an owner for each threat that matters.

What are SAST and DAST?

SAST, static application security testing, reads source code without running it and flags patterns such as unchecked input reaching a database query. DAST, dynamic application security testing, sends requests to a running application, usually in staging, and looks at how it responds. SAST usually runs on every pull request; DAST runs on a schedule or before a release.

Will security checks slow down our releases?

They should not. Fast static checks run on each pull request, and longer dynamic scans run against staging on a schedule. Only findings that are confirmed and agreed as serious block a merge; the rest go to the backlog with an owner and a date.

Does this help with ISO 27001 or SOC 2?

Yes. ISO 27001:2022 asks for a secure development life cycle (A.8.25), secure coding (A.8.28, one of the eleven controls new in the 2022 edition) and security testing in development and acceptance (A.8.29). SOC 2 CC8.1 asks that changes are authorised, tested and approved before release. Threat models, review records and pipeline results are the evidence auditors sample.

Keep reading

The library pages behind this work, written and reviewed by the same people.

Book a scoping call

Tell Infofacility what you need and by when. A consultant calls you back to agree the scope and send a quote.

Book a scoping call

Tell us what you need. A consultant replies to set up a short scoping call.

Your details are used only to answer this request, as the Privacy Policy sets out.