The Chief Information Security Officer (CISO) of a financial services firm is reviewing a proposal for a new custom application being built by an offshore agency.
The CISO asks the agency, “How are you securing the application data?”
The agency’s Lead Developer confidently replies, “We are deploying it on AWS. AWS is ISO 27001 certified, highly encrypted, and incredibly secure. You have nothing to worry about.”
The CISO immediately rejects the proposal and terminates the vendor evaluation.
Why? Because the agency demonstrated a fundamental misunderstanding of the “Shared Responsibility Model” in cloud computing. They suffered from the Cloud Infrastructure Blindspot.
AWS, Azure, and Google Cloud secure the infrastructure. They secure the physical servers, the network routing, and the hard drives. They do absolutely nothing to secure the custom application running on top of those servers. If an agency writes fundamentally insecure code, deploying it on the world’s most secure AWS server will not stop a catastrophic data breach.
The Application-Layer Vulnerability (OWASP Top 10)
In custom software development, the vast majority of data breaches do not occur because a hacker breached Amazon’s physical data center. They occur because a developer wrote a vulnerability into the Application Layer (Layer 7).
These are the vulnerabilities cataloged by the OWASP Top 10.
1. Broken Access Control
If a junior developer builds an API endpoint to retrieve a user’s invoice [e.g., api/invoice/100], but fails to write the logic that verifies if the person requesting the invoice is actually the owner of the invoice, a hacker can simply change the URL to api/invoice/101 and steal the next user’s financial data. AWS cannot detect this. It just looks like normal web traffic.
2. SQL Injection
If an agency uses outdated database query methods instead of modern ORMs (Object-Relational Mappers), a hacker can type malicious SQL code into the login box on the frontend. The application will execute that code directly against the database, dumping all user passwords. Azure’s network firewalls will not block this; the application willingly executed the command.
3. Insecure Design (The Business Logic Flaw)
If an e-commerce checkout flow is designed so that the final price is calculated on the frontend (in the browser) rather than enforced strictly on the backend server, a malicious user can intercept the network request, change the price of a €1,000 laptop to €1, and complete the purchase. No cloud provider can protect against fundamentally flawed business logic.
This is not a fringe interpretation – it is the exact division of labor AWS itself publishes. AWS’s own Shared Responsibility Model documentation draws the line explicitly between what it calls “security of the cloud” [AWS’s job: the hardware, the network, the physical facilities] and “security in the cloud” [the customer’s job: the application code, the data, the access configuration, the identity management]. Azure and Google Cloud publish near-identical models. If an agency cannot articulate which side of that line their own deliverable sits on, they do not understand what they are being paid to secure – and Verizon’s 2025 Data Breach Investigations Report, which analyzed over 22,000 real-world security incidents, found that credential abuse and exploitation of application-layer vulnerabilities remain among the leading initial attack vectors into breached organizations. Neither of those failure modes is something a cloud provider’s infrastructure security can stop.
Securing the Application Lifecycle
To build a secure custom application, the security must be embedded into the Software Development Lifecycle (SDLC) itself. Elite engineering teams enforce “Shift-Left Security,” meaning they test for vulnerabilities before the code is even merged, let alone deployed to the cloud.
- Static Application Security Testing (SAST): The CI/CD pipeline must automatically scan every Pull Request for known OWASP vulnerabilities (like un-parameterized SQL queries). If a flaw is detected, the pipeline mathematically rejects the code.
- Strict Code Reviews: A senior Tech Lead must manually review the business logic (which automated tools often miss) to ensure Broken Access Control cannot occur.
- Dependency Scanning: Modern apps rely heavily on third-party open-source libraries. If one of those libraries is compromised [e.g., the Log4j vulnerability], the application is compromised. CI/CD pipelines must automatically scan and alert on outdated dependencies.
The Secrets Management Gap
Beyond the OWASP Top 10, CISOs auditing a custom application should ask one more pointed question that most offshore agencies fail immediately: “Where do your database passwords, API keys, and encryption secrets actually live?” A shocking number of breaches trace back not to a sophisticated exploit, but to a developer hardcoding a credential directly into the source code, then pushing that code to a Git repository. This is not a rare mistake: GitGuardian’s State of Secrets Sprawl 2026 report found 29 million new hardcoded secrets exposed on public GitHub repositories in 2025 alone, a 34% increase year-over-year and the largest single-year jump the firm has recorded – with leaks tied to AI-service credentials specifically surging 81%. Every one of those secrets is a working key sitting in plain text, waiting for an automated scanner to find it.
How Hardcoded Secrets Cause Breaches
- The Public Repository Leak: A developer hardcodes an AWS access key or a Stripe secret key into a configuration file “just to get it working,” intending to remove it later. The commit gets pushed, and if the repository is ever made public (or a fork leaks), automated bots that continuously scan GitHub for exposed keys find it within minutes and drain cloud resources or payment infrastructure before anyone notices.
- The Shared
.envFile Problem: Even in private repositories, teams routinely email or Slack a.envfile containing production database credentials to onboard a new developer. That file now exists in chat history, personal laptops, and backup exports, with no way to know who has access or to revoke it without rotating every credential in the file. - Credentials That Never Expire: Static secrets (a database password set once at project launch and never changed) mean that if a credential is ever compromised, whether through an ex-employee’s laptop or a leaked backup, the attacker has permanent, undetected access until someone manually notices and rotates it, which in most breaches, takes months.
The Fix: Secrets Managers, Not Config Files
Elite engineering teams never let a secret exist as plaintext in a repository, a config file, or a chat message. Instead, they use a dedicated secrets manager [AWS Secrets Manager, HashiCorp Vault, or Google Secret Manager] that injects credentials into the application at runtime, logs every access, and supports automated rotation on a schedule [for example, forcing a database password to rotate every 90 days without any human involvement]. Pull Requests are scanned by automated secret-detection tools (like Gitleaks or TruffleHog) that block a merge outright the moment a credential pattern is detected in a diff, closing the exact gap that turns a single careless commit into a company-wide breach.
What a Broken Access Control Breach Actually Costs
Security recommendations often stay abstract until they are attached to a number. IBM’s 2025 Cost of a Data Breach Report, based on research across breached organizations worldwide, put the global average cost of a data breach at $4.44 million – and for organizations breached in the United States specifically, the average climbed to $10.22 million, driven heavily by regulatory fines and slower detection. The same report found that the mean time to identify and contain a breach was 241 days, the fastest pace in nine years but still nearly eight months of undetected exposure in the average case.
Walk through how a single missed Broken Access Control check compounds into that kind of number for a mid-sized SaaS company handling customer financial data:
- The flaw ships. An API endpoint for retrieving invoices checks that a request is authenticated, but not that the requesting user actually owns the invoice ID being requested. This is a one-line omission, easy to miss in a code review that is not specifically looking for it.
- The flaw is discovered – by an attacker, not by QA. Automated bots routinely scan the internet for exactly this pattern: sequential, guessable IDs in API URLs. Within weeks of the endpoint going live, a script iterates through thousands of invoice IDs, silently harvesting customer names, amounts, and billing addresses.
- Detection lags. Because the requests look like normal authenticated traffic – no malformed packets, no failed logins, nothing a firewall or cloud provider’s security tooling flags – the exfiltration continues for weeks or months before anomalous data-access volume triggers an internal review or a customer notices unauthorized activity.
- The response cascades. Once discovered, the company faces mandatory breach notification under GDPR (with fines of up to 4% of global annual turnover for serious violations), forensic investigation costs, legal fees, customer churn, and in many jurisdictions, individual notification costs per affected record.
- The fix was cheap; the breach was not. The actual code fix – adding a single ownership check to the query – typically takes a competent developer under an hour once identified. A SAST scanner or a security-focused code review would very likely have caught the pattern before merge, at effectively zero marginal cost.
This asymmetry is the entire argument for Shift-Left Security: the cost of catching a Broken Access Control flaw in a Pull Request is minutes of automated scanning. The cost of catching it after attackers do is measured in weeks of investigation and, per IBM’s global figures, millions of dollars.
The Manifera Security Governance
Standard offshore software development agencies use junior developers who are completely unaware of OWASP vulnerabilities. They rely on the false security of cloud hosting.
At Manifera, we operate under extreme European security governance.
When you build a custom application with us, our Dutch Tech Leads enforce rigorous Shift-Left Security on our Vietnamese engineering pods. We embed automated SAST scanning and Dependency Auditing directly into the CI/CD pipeline. No line of code reaches production without passing strict security gates and a manual architectural review by a European expert.
We don’t just rely on AWS to secure your servers. We secure the code itself.
Stop exposing your enterprise to application-layer attacks. Contact our Amsterdam team for a highly secure custom engineering pod.
FAQs
[Scenario: CISO auditing an offshore agency] Why is it dangerous when an agency claims an application is secure ‘because it is hosted on AWS’?
This demonstrates ignorance of the Cloud ‘Shared Responsibility Model.’ Cloud providers [AWS, Azure] secure the physical infrastructure and the network. They do not secure the Application Layer (Layer 7). If an agency writes code with a SQL Injection vulnerability, deploying it on highly secure AWS infrastructure will not prevent a hacker from stealing the data.
[Scenario: VP Engineering addressing data leaks] What is ‘Broken Access Control’ and why does it cause so many breaches?
Broken Access Control occurs when an application correctly authenticates a user (they are logged in), but fails to verify their authorization for a specific resource. For example, a user logs in, but the application allows them to access user_id=5 when they are actually user_id=4. The code fails to check ownership, allowing lateral data theft.
[Scenario: Lead Architect designing CI/CD] How can we automatically prevent OWASP vulnerabilities from being deployed?
You must implement ‘Shift-Left Security’ by integrating SAST (Static Application Security Testing) tools into your CI/CD pipeline. These tools automatically scan the raw code in every Pull Request. If a developer accidentally writes an un-parameterized SQL query (a massive security risk), the pipeline will automatically block the deployment.
[Scenario: CTO reviewing e-commerce architecture] What is an ‘Insecure Design’ or Business Logic flaw?
Unlike a technical bug (like a memory leak), a business logic flaw is an architectural error. For example, trusting the frontend browser to calculate the final price of an item. A hacker can intercept the browser’s request and change the price to $0. Security must always be strictly enforced on the backend server, never the frontend.
[Scenario: CISO auditing credential hygiene] Why are hardcoded API keys and passwords such a common cause of breaches?
Developers often hardcode a database password or API key directly into source code “temporarily,” then push that code to a Git repository. Automated bots continuously scan public and leaked repositories for exposed credential patterns and can drain cloud resources within minutes of a leak. Because static secrets rarely expire, a single careless commit can grant an attacker permanent, undetected access until someone manually rotates the credential, often months later.
Suggested Posts
How useful was this post?
Share it with your friends
Get our latest articles here!
Do you have any questions?
Help us improve the content of this Insightful blog by asking us questions. Manifera's team of experts will help you answer these questions as soon as possible.








