Source Code Review
We read your code the way an attacker would, line by line, and show you exactly where it breaks and how to fix it.
- 2–4 weeks Typical duration
- 30 days Verification round included
- File and line Every finding located
- Same day Critical findings reported
A source code review is a security audit of your application's code. An engineer reads the code that handles logins, permissions, payments and personal data, and traces how input moves through it. The aim is to find flaws an attacker could use, before an attacker does.
We use tools for the parts tools do well: known-vulnerable dependencies, leaked secrets, and common bug patterns. Most of the time goes to the parts they do badly. That means authorisation, business logic, and the flow of data across files and services.
You get findings tied to a file and line number, each with its impact, a CWE reference and a fix written for your stack. We then check the fixes.
How this differs from automated SAST
Static application security testing (SAST) tools such as Semgrep and CodeQL are good, and we use them. They match known bug patterns and follow some data flows, quickly and across the whole codebase.
They have three limits:
- They do not know your rules. A tool cannot tell that a support agent may view a ticket but not a bank account number, or that a refund must not exceed the original payment.
- They lose the trail across boundaries. Data that passes through a queue, a second service or a configuration file often drops out of the analysis.
- They produce noise. Unreviewed scanner output mixes real issues with false positives. Teams learn to ignore it.
Who it is for
-
Fintech and lending teams
Who must show security testing of their payment or lending applications to a regulator, a bank partner or an auditor.
-
SaaS companies
Going through a customer security review, a funding round, or an acquisition, where the buyer wants to know what is in the code.
-
Engineering teams before a major release
Such as a new authentication system, a payments integration or a rewrite.
-
Any Indian company that processes personal data
And wants to check that the safeguards it describes in its policies exist in the code.
What we look for
-
Authentication
Password storage, session and token handling, OTP and reset flows, and how sessions end.
-
Authorisation
Whether every request checks that this user may touch this record. This is where we find the most serious bugs.
-
Injection
SQL, NoSQL, command, template and LDAP injection, and unsafe deserialisation.
-
Cryptography
Weak algorithms, hard-coded keys, home-made encryption, missing integrity checks.
-
Personal data handling
What is logged, what is masked, what is encrypted at rest, and what leaves the system in API responses, error messages and analytics events.
-
Business logic
Race conditions in balance updates, skipped workflow steps, negative amounts, replayed requests, and limits that the client enforces but the server does not.
-
Third-party code
Vulnerable or abandoned dependencies, and how your code calls them.
-
Secrets
API keys, private keys and database passwords in the code or anywhere in Git history.
Example finding
A fictional example written for this page, not from a client engagement. It shows the format and level of detail of one entry in our report.
Any logged-in borrower can download any other borrower's loan statement
The statement endpoint checks that the caller is logged in. It does not check that the loan belongs to the caller. Loan IDs are sequential, so a borrower can change the number in the URL and download other borrowers' statements, with their names, loan amounts and repayment history. We would also recommend non-sequential loan identifiers, a shared authorisation helper so every loan route applies the same rule, and a regression test that requests another user's loan and expects a 404.
// Vulnerable: looks up the loan by ID alone
router.get('/loans/:loanId/statement', requireAuth, async (req, res) => {
const loan = await db.loan.findUnique({ where: { id: req.params.loanId } });
if (!loan) return res.status(404).end();
res.json(await buildStatement(loan));
});
// Fixed: the loan must belong to the caller
router.get('/loans/:loanId/statement', requireAuth, async (req, res) => {
const loan = await db.loan.findFirst({
where: { id: req.params.loanId, borrowerId: req.user.id },
});
if (!loan) return res.status(404).end();
res.json(await buildStatement(loan));
});
Fix: Scope the query to the authenticated user, so a loan that is not theirs looks the same as a loan that does not exist.
How an engagement runs
-
Threat model and scope
Before reading code, we agree what we are protecting and from whom.
-
Dependency and supply-chain audit
We list every third-party package, flag those with known CVEs.
-
Secrets scan, including Git history
We search the current code and every past commit for API keys, private keys, tokens and passwords.
-
Automated static analysis
We run SAST tools such as Semgrep and CodeQL, with rules tuned to your languages and frameworks.
-
Manual review of high-risk code
An engineer reads the high-risk paths from the threat model line by line.
-
Proof and impact
For each finding we work out how an attacker would reach it and what they would get.
-
Reporting and readout
You get a written report with every confirmed finding tied to a file and line, its CWE reference, impact.
-
Fix verification
After you fix the issues, we re-review the changed code and confirm each fix closes the flaw without opening a new one.
What You Get
- Executive summary for leadership: overall risk, the findings that matter most, and what to fix first
- Detailed findings, each tied to a file and line, with CWE reference, CVSS v3.1 score, impact and proof
- Fix guidance with code examples in your language and framework
- Dependency audit: vulnerable and abandoned packages, and whether your code reaches the vulnerable code
- Secrets inventory covering current code and full Git history, with what each secret unlocks
- Mapping of findings to OWASP ASVS, and to RBI, SEBI CSCRF or DPDPA Rule 6 safeguards where you need it for an audit
- Readout call with your engineering team
- Fix verification review and an updated report showing the status of every finding
- Recommendations for catching the same classes of bug in CI before merge
Frequently asked
How much does a source code audit cost?
It depends on the size of the codebase, the number of languages and services, and how much of it handles money or personal data. We quote a fixed price after a free 30-minute scoping call.
How long does a source code review take?
Two to four weeks for most codebases, depending on size and the number of services. We agree the timeline in the proposal, and we report any critical finding the same day we confirm it, without waiting for the final report.
Do we need to give you a full copy of our repository?
No. We prefer read-only access to the repositories in scope on GitHub, GitLab or Bitbucket. For codebases that cannot leave your network, we can work from an encrypted archive. An NDA and a data processing agreement are signed before any code is shared.
How is this different from running Semgrep or another SAST tool ourselves?
SAST tools find known bug patterns. They do not know your business rules, so they miss broken authorisation, logic flaws and data flows across services, and their raw output contains false positives. We run the tools, discard the false positives, and spend most of the time on manual review of the code that matters. You pay for the judgement, not the scan.
Does a source code review meet RBI and SEBI requirements?
It covers one part of them. RBI's Digital Payment Security Controls Directions of 31 July 2026 require commercial banks, small finance banks, payments banks and card-issuing NBFCs to include source code review in security testing of their digital payment applications. SEBI's CSCRF requires SAST for software used in critical systems, and its audits must be done by a CERT-In empanelled auditor unless it says otherwise. We are not CERT-In empanelled. Your auditor or compliance team decides what evidence they need; our report maps findings to the requirement you name.
Is source code review required under the DPDP Act?
Not by name. Section 8(5) of the DPDP Act requires reasonable security safeguards to prevent a personal data breach, and Rule 6 of the DPDP Rules, 2025 sets the minimum from 13 May 2027: encryption or masking, access control, logs and monitoring, and keeping those logs for one year. A code review checks whether those safeguards actually exist in your code.
How often should we have our code reviewed?
At least once a year, and before any major release that changes authentication, payments or how personal data is handled. RBI-regulated entities in scope of the 2026 digital payment security directions must repeat source code review or certification every year in which the application changed. Between reviews, security checks in your CI pipeline catch regressions.
Which languages do you cover?
Python, JavaScript and TypeScript, Go, Java and Kotlin, Ruby, PHP, C#, C and C++, Rust, and Swift. If your stack includes something else, we will tell you at the scoping call whether we can review it well.
Ready to get started?
Book a free 30-minute call to scope your engagement — no commitment.
Book a Code Review Scoping Call