Find the flaws in your software before attackers do.
Expert security review of your application code, combining automated analysis with manual expert examination across twelve security areas.
Source Code Review
Cyber Guard Africa's Source Code Review is an expert-led examination of your application's source code to find security weaknesses before they reach production. We combine in-house built automated analysis tools with manual review by experienced security engineers to uncover vulnerabilities, insecure coding practices, exposed secrets and business logic flaws that scanners and testing alone often miss. You receive clear, prioritised findings and practical guidance your developers can act on immediately.
Source code review is a systematic security examination of the human-readable instructions that make up a software application. Instead of testing the running application from the outside, our security engineers read and analyse the code itself. We trace how data enters the application, how it is processed and stored, who is allowed to do what and where those controls can fail.
In cybersecurity terms, a source code review answers one question: could an attacker abuse the way this software was written? It finds weaknesses at their root cause, in the exact file and line where they exist, so they can be fixed properly rather than patched around.
Aligned to
- Secure SDLC
- OWASP API Security Top 10
- OWASP Top 10 for LLM Applications
- PCI DSS v4.0.1 Req. 6.2.3
- Kenya DPA 2019
- SBOM

What's inside Source Code Review
Automated analysis plus manual expert review
In-house built analysis tools combined with experienced security engineers reading the code.
Twelve security areas
From authentication and access control to business logic, supply chain and client-side security.
Root-cause findings
Weaknesses located in the exact file and line where they exist.
Exposed secrets detection
Hardcoded keys and credentials, including in old commits and client bundles.
Show all 6Show fewer
Software Bill of Materials
Dependency review covering known CVEs, abandoned components and licence concerns, with an SBOM.
Prioritised, developer-ready guidance
Clear findings and practical fixes your developers can act on immediately.
A clear path from scope to proof



Manual expert review
Engineers trace data flows and controls across the twelve areas.
Scope Source Code Review
Prioritised findings
Exact file and line, impact and practical fixes for developers.
Scope Source Code ReviewWhy applications that "work" can still be insecure
Software is tested to confirm it does what it should. Security weaknesses are about what it should not do.
A login page can work perfectly for genuine users and still allow an attacker to bypass it. A payment API can process every transaction correctly and still let one customer view another customer's records by changing a number in the request. These flaws are invisible during normal use and only appear when someone deliberately looks for them.
Why it matters to your business
Breaches start in code
Injection flaws, broken access control, leaked credentials and vulnerable libraries are among the most common causes of application compromise.
Fixing early is far cheaper
A flaw corrected during development costs a fraction of one discovered after launch, when it may require emergency patches, incident response, customer notification and regulatory reporting.
Regulators expect it
Data protection laws across Africa (such as Kenya's Data Protection Act 2019) require appropriate technical measures to protect personal data. PCI DSS v4.0.1 (Requirement 6.2.3) explicitly requires custom software to be reviewed for coding vulnerabilities before release.
Your customers and partners are asking
Banks, telcos, payment providers and enterprise buyers increasingly ask suppliers for evidence of independent security review before integration or procurement.
Africa's digital economy runs on custom-built software
Mobile money integrations, USSD services, digital lending apps, SACCO and microfinance platforms, e-government portals and core banking customisations: much of this is developed quickly, by small teams or third-party vendors, and connected to sensitive financial and personal data.
Independent source code review gives organisations confidence that the software they build or buy is safe to put in front of customers.
Where it fits in the software development lifecycle
Source code review is a core activity in a Secure Software Development Lifecycle (SSDLC). It can be performed:
Before a major release or go-live
As a security gate.
After significant changes
Such as a new payment flow or authentication system.
When acquiring or outsourcing software
To verify the quality of vendor-supplied code.
Continuously
Integrated into development pipelines so issues are caught as code is written.
Twelve security areas, reviewed by design, implementation and bypass
Our review covers twelve security areas. For each one, our engineers look at how the control is designed, how it is implemented in code and whether it can be bypassed.

Authentication and identity management
What we check: login logic, password storage and hashing, multi-factor authentication, session creation and expiry, account lockout and brute-force protection, password reset flows, token generation and validation (JWT, API keys) and OAuth 2.0 / OpenID Connect implementations.
- Typical findings: passwords hashed with MD5 or SHA-1, predictable password-reset tokens, JWTs accepted without signature verification, OTPs with no attempt limit, sessions that never expire.
- If left unresolved: account takeover, impersonation of customers or administrators, fraud.
- How it is fixed: modern adaptive hashing (Argon2, bcrypt), strict token validation, rate limiting and lockout, short-lived single-use reset tokens, secure session handling.

Authorisation and access control
What we check: role-based (RBAC) and attribute-based (ABAC) access control, server-side permission checks on every function, Insecure Direct Object References (IDOR), horizontal and vertical privilege escalation and separation between tenants in multi-tenant platforms.
- Typical findings: an API that returns any customer's statement when the account number is changed; admin functions protected only by hiding the button in the user interface; a user able to promote themselves to administrator.
- If left unresolved: large-scale data exposure, unauthorised transactions, one client seeing another client's data.
- How it is fixed: centralised, deny-by-default authorisation enforced on the server for every request and every object.

Input validation and data handling
What we check: how untrusted input is validated, sanitised and encoded, including SQL injection, cross-site scripting (XSS), OS command injection, path traversal, server-side request forgery (SSRF), insecure deserialisation, XML External Entity (XXE) processing and file upload handling.
- Typical findings: SQL queries built by joining user input into strings; user content rendered into pages without encoding; uploaded files stored with their original names in a web-accessible folder.
- If left unresolved: database theft, server takeover, malicious scripts running in customers' browsers.
- How it is fixed: parameterised queries, context-aware output encoding, allow-list validation, safe parsers, strict file type and storage controls.

Cryptography and sensitive data protection
What we check: encryption at rest and in transit, algorithm choices, key generation, storage and rotation, random number generation and how personal and financial data is stored and exposed.
- Typical findings: encryption keys hardcoded in source code; outdated algorithms (DES, RC4, ECB mode); Math.random() used to generate security tokens; national ID or card numbers stored in plain text.
- If left unresolved: data that appears encrypted but can be decrypted by anyone with the code; regulatory breach notifications.
- How it is fixed: current, vetted algorithms; keys held in a key management service or vault; cryptographically secure random generators; data minimisation and masking.

API security
What we check: API authentication and authorisation, rate limiting, input validation, exposed and undocumented endpoints, excessive data in responses, mass assignment, error handling, third-party API integrations and REST and GraphQL-specific risks. We align to the OWASP API Security Top 10.
- Typical findings: endpoints returning full customer objects when only a name is needed; clients able to set fields such as role or balance directly; GraphQL introspection enabled in production; no rate limiting on OTP or login endpoints.
- If left unresolved: data harvesting, account manipulation, abuse of business functions at scale.
- How it is fixed: explicit response schemas, field allow-lists, per-object authorisation, rate limits and quotas.

Database security
What we check: connection handling, query construction, how database credentials are stored, the privileges the application's database account holds, storage of sensitive fields and database error handling.
- Typical findings: the application connects as a database administrator; credentials stored in a committed configuration file; database errors displayed to users.
- If left unresolved: a single injection flaw becomes full database compromise.
- How it is fixed: least-privilege database accounts, secrets management, parameterised queries, generic error messages.

Error handling and logging
What we check: exception handling, stack traces exposed to users, sensitive data written to logs, whether security events are logged, audit trails and whether the application "fails open" when something goes wrong.
- Typical findings: full stack traces returned by the API; passwords, PINs or tokens written to log files; no record of failed logins or permission changes; an error in a fraud check that lets the transaction proceed.
- If left unresolved: attackers learn the system's internals; incidents go undetected; there is no evidence trail for investigation.
- How it is fixed: central error handling that fails safely, structured security logging, log redaction, alerting on suspicious events.

Business logic security
What we check: whether the application enforces its own business rules: transaction limits, workflow order, payment and refund logic, discount and reward rules, trust boundaries and race conditions where two requests arrive at the same time.
- Typical findings: a checkout that trusts the price sent from the browser; a loan approval step that can be skipped; a wallet that can be withdrawn twice by sending two requests simultaneously; negative quantities that generate refunds.
- If left unresolved: direct financial loss. These flaws are rarely found by automated tools and are a key reason for manual expert review.
- How it is fixed: server-side enforcement of every rule, state validation at each step, database transactions and locking for financial operations.

Third-party dependencies and software supply chain
What we check: open-source and commercial libraries, known vulnerabilities (CVEs) in packages, outdated or abandoned components, dependency pinning, dependency confusion and typosquatting risks, licence concerns and production of a Software Bill of Materials (SBOM).
- Typical findings: a logging or serialisation library with a known critical vulnerability; packages pulled from unverified sources; no lock files, so builds pull different versions each time.
- If left unresolved: attackers exploit publicly known flaws in components you did not write but still ship.
- How it is fixed: upgrades or patches, lock files, private package registries, regular automated dependency monitoring.

Secure configuration and infrastructure-related code
What we check: hardcoded secrets, environment and framework configuration, debug modes, insecure defaults, cloud settings defined in code, Infrastructure as Code (Terraform, CloudFormation), Dockerfiles, Kubernetes manifests and CI/CD pipeline definitions.
- Typical findings: API keys and cloud credentials committed to the repository (including in old commits); debug mode enabled in production settings; containers running as root; storage buckets defined as public; pipeline secrets printed in build logs.
- If left unresolved: attackers gain direct access to cloud accounts, payment gateways or infrastructure.
- How it is fixed: secrets moved to a vault and rotated, hardened configuration baselines, least-privilege containers and pipelines.

File and resource management
What we check: file permissions, uploads and downloads, temporary files, directory traversal, resource exhaustion and, for lower-level languages, memory management.
- Typical findings: downloads that accept a file path from the user; no size limit on uploads; temporary files containing personal data never deleted; buffer overflows in C/C++ components.
- If left unresolved: data leakage, denial of service, in some cases remote code execution.
- How it is fixed: indirect file references, strict limits, secure temporary storage, safe memory handling.

Frontend and client-side security
What we check: reliance on client-side validation, DOM-based XSS, secrets or internal URLs in JavaScript bundles and mobile apps, use of browser storage for tokens, Content Security Policy, CORS configuration, security headers and frontend dependencies.
- Typical findings: API keys embedded in a mobile app or JavaScript bundle; access tokens stored in localStorage; CORS configured to accept requests from any website.
- If left unresolved: token theft, abuse of backend services, attacks launched through the user's browser.
- How it is fixed: server-side validation, secure cookie handling, strict CSP and CORS policies, removing secrets from client code.
AI-generated code and AI-enabled applications
The future of code is AI-generated code and AI-enabled applications. Many development teams now write code with AI assistants. Such code can look correct while carrying insecure patterns or outdated libraries.
Where applications integrate large language models (LLMs), we also review prompt injection exposure, handling of model output and protection of AI service keys, using the OWASP Top 10 for LLM Applications as guidance.
Prompt injection exposure
Handling of model output
Protection of AI service keys
Insecure patterns and outdated libraries in AI-written code
What you walk away with
- Fewer flaws in productionWeaknesses fixed before go-live, at a fraction of the cost.
- Evidence for regulatorsSupport for PCI DSS v4.0.1 Requirement 6.2.3 and data protection obligations.
- Procurement confidenceIndependent review evidence for banks, telcos, payment providers and enterprise buyers.
- Better developersPractical guidance that improves how your team writes code.
Where Source Code Review makes the biggest difference
Banking & Fintech
One exploitable weakness is all an attacker needs. We find it first.
- Data exfiltration
- Ransomware
- Account takeovers

FMCG & Retail
Keep stores selling and supplier payments where they belong.
- POS malware and card skimming
- Payment fraud and mobile money reversal scams
- Business email compromise targeting supplier payments

Healthcare
Protect patient care, patient data and patient trust.
- Ransomware
- Theft of patient records for sale on the dark web
- Insurance and claims fraud

SACCOs & Microfinance
Bank-grade security maturity without a bank's budget.
- Fraudulent loan applications using stolen or fake identities
- Account takeovers through SIM swap
- Insider fraud where staff manipulate loans or balances

Source Code Review FAQs
What is a source code review?
Is it automated or manual?
How is it different from a penetration test?
Does PCI DSS require source code review?
When should we do a code review?
Do you review AI-generated code and LLM features?
Let's scope Source Code Review for your organisation
Tell us about your environment and the outcome you need. We will come back with a scoped proposal.
- Usually a response within one business day
- Scoped to your environment, sector and regulators
- Prefer to call? +254 714 113 065
Related services and training

OffensiveGuard™
Penetration Testing & Red Teaming
Web, mobile, API, network, cloud and social engineering tests plus red teaming aligned to MITRE ATT&CK, with reports your developers can act on.
Explore OffensiveGuard
ComplyGuard™
Governance, Risk & Compliance
ISO/IEC 27001, PCI DSS v4.0, Kenya DPA 2019, CBK and CMA, NIST CSF 2.0 and CIS v8: gap analysis, risk profiling, roadmaps and vCISO support.
Explore ComplyGuard
Adversary Emulation
OffensiveGuard™ | Adversary Emulation
Scenario-based attack simulations, from AD enumeration to a full ransomware attack, that measure what your controls detect, block and miss.
Explore Adversary Emulation
Cybersecurity Technical Training Program
CyberAcademy™ training
Transform your security capabilities in 5 days or 1 month.
View programme
AI Readiness, Governance & Implementation Strategy for Executives
CyberAcademy™ training
Lead AI adoption with clarity, control and accountability.
View programme

