{"id":20556,"date":"2026-11-30T12:11:22","date_gmt":"2026-11-30T10:11:22","guid":{"rendered":"https:\/\/lamdabroking.com\/?p=20556"},"modified":"2026-11-30T12:11:22","modified_gmt":"2026-11-30T10:11:22","slug":"hardcoded-api-keys-cyber-incident","status":"publish","type":"post","link":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/","title":{"rendered":"From Hardcoded API Keys to a Cyber Incident: How a Small Development Mistake Becomes a Major Loss"},"content":{"rendered":"<p dir=\"ltr\"><span style=\"font-weight: 400;\">An API key written directly into source code is one of the shortest paths from one developer&#8217;s mistake to a company-wide cyber incident. Once the code is pushed, the key is exposed to anyone who reaches that repository, sometimes to the entire internet, and it stays valid until someone explicitly revokes it. From there, the distance to unauthorised data access or a customer claim is far shorter than it looks in a sprint meeting.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">This article walks through the chain of loss and the insurance lines that may respond at each link, and explains what underwriters now ask before they offer cover to a software company.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">How one key in the code becomes an incident: the chain of loss<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">An API key, access token or database password written into code becomes part of every copy of that code. Whoever reaches such a copy inherits the permissions the key grants, without breaking anything.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The leak itself is almost always mundane. A key is written for a local test and forgotten in a config file. A .env file is committed by mistake. An internal repository is made public for a few hours through a misconfiguration. A key is written to a log shipped to a third-party monitoring tool, or baked into a container image pushed to an open registry. Nobody involved meant to expose anything.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">From the moment of exposure, the window to respond is short. Bots scan GitHub and other public sources continuously, and a key in a public commit may be exploited within minutes. Industry data from 2026 indicates that most leaked secrets are still valid a month after exposure, and a large share remain live for years.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">What happens next depends on the key&#8217;s permissions:<\/span><\/p>\n<ul dir=\"ltr\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Data access:<\/b><span style=\"font-weight: 400;\"> a database or cloud storage key allows personal or business data to be copied, which brings notification duties and claims.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Resource abuse:<\/b><span style=\"font-weight: 400;\"> a cloud or AI service key lets an attacker run servers and models on the company&#8217;s account.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Customer impact:<\/b><span style=\"font-weight: 400;\"> at a SaaS company, a key that opens customer environments carries the incident into those customers. A demand letter is usually the next step.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Payments:<\/b><span style=\"font-weight: 400;\"> a payment provider&#8217;s secret key may allow unauthorised refunds or transfers.<\/span><\/li>\n<\/ul>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The mistake is small, but the permissions it hands to an attacker are the system&#8217;s own.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">Code that works and code that is safe: why this is more common now<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Leak volumes are growing faster than before, driven mainly by AI-assisted development and by the number of AI services that each require their own key. Developers get code that runs quickly, and code written to run quickly tends to keep the key inside the file.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Industry data published in 2026 points to roughly 29 million new secrets exposed in public GitHub commits during 2025, an increase of about a third on the previous year. Leaked AI service keys rose by around 80% over the same period. Commits written with AI coding assistants contained secrets at roughly twice the baseline rate, and internal repositories, which many teams treat as safe, contained secrets at a much higher rate than public ones.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">A coding assistant completes what the developer asked for. If a live key sits in the context, it may end up in the generated code and then in a commit. A policy that mandates environment variables or a secrets vault such as HashiCorp Vault, together with automated scanning by tools such as TruffleHog or GitLeaks before every merge, reduces the risk. It works only when it is enforced in the CI pipeline itself.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">One incident, several lines of insurance<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">A leaked key may trigger more than one policy at the same time. Each line is designed to respond to a different component of the loss, and disputes begin at the seams between them.<\/span><\/p>\n<table dir=\"ltr\">\n<tbody>\n<tr>\n<td><b>Loss component<\/b><\/td>\n<td><b>Line expected to respond<\/b><\/td>\n<td><b>Argument that shifts it to another line<\/b><\/td>\n<td><b>What the wording decides<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Forensics, legal advice and regulatory notification<\/span><\/td>\n<td><a href=\"https:\/\/lamdabroking.com\/en\/cyber-insurance\/\"><span style=\"font-weight: 400;\">Cyber insurance<\/span><\/a><span style=\"font-weight: 400;\">, incident response section<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The event arose from a product failure and belongs to professional liability<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Definition of a cyber event and prior-consent conditions for vendors<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Service outage and lost income<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Cyber insurance, business interruption<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The disruption was an operational fault, not an attack<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Waiting period and definition of system disruption<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Customer claim after its environment was breached through the product<\/span><\/td>\n<td><a href=\"https:\/\/lamdabroking.com\/en\/technology-insurance\/\"><span style=\"font-weight: 400;\">Tech E&amp;O<\/span><\/a><\/td>\n<td><span style=\"font-weight: 400;\">The loss arises from breach of contract, not professional negligence<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Contractual liability exclusion and the relationship between policies<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Abnormal cloud or AI service charges<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Service fraud extension, if purchased<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A provider&#8217;s charge is an operating expense, not damage to systems<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Whether the extension exists and its sublimit<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Unauthorised transfer or refund through a payments API<\/span><\/td>\n<td><a href=\"https:\/\/lamdabroking.com\/en\/crime-insurance\/\"><span style=\"font-weight: 400;\">Crime<\/span><\/a><span style=\"font-weight: 400;\"> or a fraud extension in the cyber policy<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The transfer was executed on a third party&#8217;s system<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Definition of computer fraud and verification conditions<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Shareholder claim or investigation against officers<\/span><\/td>\n<td><a href=\"https:\/\/lamdabroking.com\/en\/directors-and-officers-insurance\/\"><span style=\"font-weight: 400;\">D&amp;O<\/span><\/a><\/td>\n<td><span style=\"font-weight: 400;\">This is a cyber claim and therefore excluded<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Cyber exclusion in the D&amp;O policy and the allocation mechanism<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p dir=\"ltr\">\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Cyber insurance<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Designed to respond mainly to the company&#8217;s own loss, from <\/span><a href=\"https:\/\/lamdabroking.com\/en\/cyber-incident-management\/\"><span style=\"font-weight: 400;\">incident management<\/span><\/a><span style=\"font-weight: 400;\"> through business interruption, and to third-party liability for privacy breaches. Usually outside its scope are the professional failure of the product itself and the cost of upgrading systems beyond their pre-incident state (betterment). See <\/span><a href=\"https:\/\/lamdabroking.com\/en\/what-does-cyber-insurance-cover\/\"><span style=\"font-weight: 400;\">what cyber insurance covers<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Technology Errors and Omissions (Tech E&amp;O)<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Its core is a claim by a customer alleging that the product or service did not perform as promised and caused financial loss. When a leaked key lets an attacker reach a customer&#8217;s environment, this is usually the policy the customer meets. The company&#8217;s own loss sits outside it, and sometimes so do contractual commitments that go beyond the liability that would apply at law anyway.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Crime and fidelity<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">May respond to a transfer of funds made through unauthorised access to systems, subject to the policy&#8217;s definition of computer fraud. Losses where an authorised employee was deceived into making the transfer usually sit outside it, unless a social engineering fraud extension was purchased.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Directors and Officers (D&amp;O)<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">This is where claims against the officers themselves sit, for example a shareholder allegation that the board failed to oversee cyber risk. The direct loss of the incident belongs to other policies. Some wordings carry a broad cyber exclusion, so it should be read together with the same company&#8217;s cyber policy.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">The cloud bill you never ordered: resource abuse<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">A stolen key for AWS or for a model provider such as OpenAI or Anthropic lets an attacker run resources on the company&#8217;s account. The charge arrives on the regular invoice and is sometimes noticed only at month end.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The classic abuse was cryptocurrency mining on the victim&#8217;s servers (cryptojacking). Today it is joined by use of large language models through a stolen account, with the attacker reselling access. Security research published in 2024 estimated that such use, while undetected, could cost the account owner tens of thousands of dollars a day.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">From an insurance perspective, this is one of the weakest links in the chain.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">A cloud provider&#8217;s charge looks to an underwriter like an operating expense rather than damage to systems. Some cyber policies offer an extension for service fraud or theft of computing resources, usually with a sublimit well below the policy limit. Others are silent, and silence in the wording makes a claim hard to establish.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Cloud providers sometimes grant credits for abuse, but these are discretionary and depend on a fast response. Budget alerts and per-key usage quotas cap the bill before the policy is ever reached.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">What regulators ask after the key has leaked<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The regulator&#8217;s first question is almost always about timing: when the company knew and when it reported. The second is whether security measures were reasonable, and a key stored in code strengthens the argument that they were not.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Israel<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The Privacy Protection (Data Security) Regulations, 2017 require reporting a severe security incident in a database to the Privacy Protection Authority, depending on the database&#8217;s security level. Amendment 13 to the Privacy Protection Law, in force since 14 August 2025, gave the Authority power to impose administrative fines. In July 2026 the Authority imposed its first fine under the amendment, for a report filed about two months after the organisation knew of a severe security incident. The Authority&#8217;s position is that the initial report should be filed close to discovery, based on the information available at that time, with details completed later.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">United States<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The FTC has brought an enforcement action against a company and its CEO personally after cloud credentials were stored in code repositories without scanning. The resulting order required the CEO to implement an information security programme at future companies he leads. Public companies are subject to the SEC&#8217;s 2023 rules, which require disclosure of a material cyber incident on Form 8-K within four business days of the materiality determination, and annual disclosure of how the board oversees cyber risk. Petitions to rescind the incident-disclosure requirement remain pending.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">European Union<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The GDPR requires notification to the supervisory authority within 72 hours of becoming aware of a personal data breach, and requires security appropriate to the risk. From 11 September 2026, manufacturers of products with digital elements sold in the EU are subject to the reporting duties of the Cyber Resilience Act: an early warning within 24 hours of an actively exploited vulnerability, and a detailed notification within 72 hours. The Act&#8217;s secure-by-design requirements apply from December 2027, and a static key embedded in a product is hard to reconcile with them. An Israeli company with an EU subsidiary should check whether the group policy actually responds for the local entity, because a third-country insurer is restricted from providing services directly into the EU.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Asia-Pacific<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">In Singapore, the PDPA requires notification to the regulator within three days of assessing that a breach is notifiable. In Japan, the APPI requires a prompt preliminary report and a final report within 30 days, or up to 60 days where the incident was caused with malicious intent. In India, the rules under the DPDP Act notified in November 2025 require a detailed report within 72 hours, with the transition to full enforcement ending in May 2027. India and China generally require a locally licensed insurer, so a global programme may need local policies alongside it.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">What has changed at the underwriting table<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Cyber and professional liability underwriters for software companies now ask directly how the company manages secrets in code. The answers go into the proposal, and the proposal is the basis on which any later claim is assessed.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Israeli insurance contract law requires the insured to give full and honest answers to material questions asked. An incorrect answer may lead to a proportional reduction of the indemnity, and in cases of fraudulent intent may release the insurer altogether. In wordings written in the international market, including Lloyd&#8217;s, some policies also carry an undertaking to maintain minimum security standards throughout the policy period. LAMDA Broking reviews the underwriting questionnaire with the development team and the security lead before submission, so that the answers reflect what actually happens in the CI pipeline.<\/span><\/p>\n<table dir=\"ltr\">\n<tbody>\n<tr>\n<td><b>Control<\/b><\/td>\n<td><b>What is implemented in practice<\/b><\/td>\n<td><b>How it is evidenced to underwriters<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Central secrets management<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A secrets vault or the cloud provider&#8217;s secrets service, with no keys in code files<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Written policy and configuration records<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Automated secret scanning<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Scanning on every commit and pull request, blocking merges when a secret is found<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Latest scan report and remediation data<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Key rotation<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Limited key lifetimes and an immediate revocation procedure on exposure<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Response procedure and rotation history<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Least privilege<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Each key gets only the permissions it needs, with a usage quota<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Permissions policy and periodic review<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Repository protection<\/span><\/td>\n<td><span style=\"font-weight: 400;\">MFA for all users and immediate access removal on departure<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Organisation settings in GitHub or GitLab<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">External assurance<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A SOC 2 report from an independent CPA firm or ISO 27001 certification covering development controls<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Current report and treatment of noted exceptions<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">A key that leaked years ago and is exploited only now raises another question. Cyber and professional liability policies are usually written on a claims-made basis with a retroactive date. Moving between insurers without preserving the retroactive date can leave an old leak without a response, which matters in particular for <\/span><a href=\"https:\/\/lamdabroking.com\/en\/insurance-for-saas-companies\/\"><span style=\"font-weight: 400;\">SaaS companies<\/span><\/a><span style=\"font-weight: 400;\"> changing insurer ahead of a funding round or an enterprise deal.<\/span><\/p>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">Common mistakes<\/span><\/h2>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The most common mistakes come from assumptions about what has already been handled and what the policy includes. Some are technical, and some concern the proposal form and reporting.<\/span><\/p>\n<ul dir=\"ltr\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>&#8220;We deleted the line, so it is closed.&#8221;<\/b><span style=\"font-weight: 400;\"> Git history keeps the key, as does every clone already pulled. Without revocation, the door stays open.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Assuming a private repository is safe.<\/b><span style=\"font-weight: 400;\"> Internal repositories are reachable by employees, contractors and integrated tools, and they hold secrets at a higher rate than public ones.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>An optimistic answer on the proposal form.<\/b><span style=\"font-weight: 400;\"> A questionnaire that describes automated scanning that does not exist can be used against the company on the day of the claim.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Ignoring cloud charges.<\/b><span style=\"font-weight: 400;\"> Most policies do not cover them by default.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Waiting for the full picture before reporting.<\/b><span style=\"font-weight: 400;\"> In most regimes the initial report runs from awareness, and in Israel the regulator has already fined an organisation for late reporting.<\/span><\/li>\n<\/ul>\n<h2 dir=\"ltr\"><span style=\"font-weight: 400;\">Frequently Asked Questions<\/span><\/h2>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Our API key leaked to GitHub and we deleted it within an hour. Is that a cyber incident?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">Quite possibly. A key exposed in a public repository may be exploited within minutes, and deletion leaves it in version history. Revoke the key immediately, check access logs for use and document the review. If personal data may have been accessed, assess the notification duty and the duty to notify the insurer under the policy terms.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Does cyber insurance cover an abnormal cloud bill after a key is stolen?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">It depends on the wording. Some policies include an extension for service fraud or theft of computing resources, usually with a sublimit. Others are silent, and a cloud provider&#8217;s charge may be treated as an operating expense. Check the extension and its sublimit before renewal.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">We bought cyber insurance. Do we also need Tech E&amp;O?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">For a software company, usually yes. Cyber insurance is aimed mainly at the company&#8217;s own loss and at privacy liability. A claim from a customer whose systems were harmed by a failure in the product or service usually belongs to Tech E&amp;O. Many companies buy both in a combined policy, and then the split of the limit between them needs checking.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Our code was written with an AI assistant. Does that change anything for insurance?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">In most current policies the origin of the code does not change the definition of the event, and liability stays with the company. What changes is underwriting: more underwriters ask how the company reviews AI-assisted code before merge and whether secret scanning applies to it. The policy should be written down and enforced in the CI pipeline.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">When must we report a leaked key to the Israeli Privacy Protection Authority?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">The duty arises once it becomes clear that there is a severe security incident in a database, depending on its security level. The Authority&#8217;s position is that the initial report should be filed close to discovery on the information available, with details added later. Whether an incident is severe requires legal advice, which the incident response section of a cyber policy may fund.<\/span><\/p>\n<h3 dir=\"ltr\"><span style=\"font-weight: 400;\">Can directors be sued personally over a failure like this?<\/span><\/h3>\n<p dir=\"ltr\"><span style=\"font-weight: 400;\">It is possible, mainly in public companies or companies with investors. The usual allegation is a failure to oversee cyber risk. A D&amp;O policy may respond to such claims, subject to its cyber exclusion and allocation mechanism. Documented board discussion of cyber risk may help the defence.<\/span><\/p>\n<p dir=\"ltr\"><b>An API key stored in code is a permission the company has granted to anyone who reads that code, and the policies are tested against what the company did from the moment the key was written until the moment it was revoked.<\/b><\/p>\n<p dir=\"ltr\"><i><span style=\"font-weight: 400;\">The above is general information only and does not constitute insurance, legal or other professional advice. Terms of cover, exclusions and obligations are determined by the specific policy wording and subject to applicable law. Each case should be reviewed on its own merits against the policy wording and with a qualified adviser.<\/span><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A hardcoded API key can trigger a cyber incident, a customer claim and a regulator&#8217;s inquiry. Which policies may respond and what underwriters now ask<\/p>\n","protected":false},"author":9,"featured_media":20558,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-20556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How a Coding Mistake Becomes a Cyber Incident<\/title>\n<meta name=\"description\" content=\"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator&#039;s inquiry. Which policies may respond and what...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How a Coding Mistake Becomes a Cyber Incident\" \/>\n<meta property=\"og:description\" content=\"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator&#039;s inquiry. Which policies may respond and what...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/\" \/>\n<meta property=\"og:site_name\" content=\"Lamda - High Tech Insurance\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lamda.ins\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-30T10:11:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/\"},\"author\":{\"name\":\"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#\\\/schema\\\/person\\\/a5b8f4894f9fd6a7a2f3742ba5688174\"},\"headline\":\"From Hardcoded API Keys to a Cyber Incident: How a Small Development Mistake Becomes a Major Loss\",\"datePublished\":\"2026-11-30T10:11:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/\"},\"wordCount\":2706,\"publisher\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Untitled-design-3.jpg\",\"articleSection\":[\"Articles\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/\",\"url\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/\",\"name\":\"How a Coding Mistake Becomes a Cyber Incident\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Untitled-design-3.jpg\",\"datePublished\":\"2026-11-30T10:11:22+00:00\",\"description\":\"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator's inquiry. Which policies may respond and what...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Untitled-design-3.jpg\",\"contentUrl\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Untitled-design-3.jpg\",\"width\":1672,\"height\":941,\"caption\":\"How a Small Development Mistake Becomes a Major Loss\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/hardcoded-api-keys-cyber-incident\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cyber insurance\",\"item\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/cyber-insurance\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"From Hardcoded API Keys to a Cyber Incident: How a Small Development Mistake Becomes a Major Loss\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/\",\"name\":\"Lamda - High Tech Insurance\",\"description\":\"Risk and Finance Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#organization\",\"name\":\"\u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\",\"url\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/lamdaLogo-2.svg\",\"contentUrl\":\"https:\\\/\\\/lamdabroking.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/lamdaLogo-2.svg\",\"width\":237,\"height\":102,\"caption\":\"\u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\"},\"image\":{\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/lamda.ins\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/lamda-risk-and-capital-management\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/#\\\/schema\\\/person\\\/a5b8f4894f9fd6a7a2f3742ba5688174\",\"name\":\"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g\",\"caption\":\"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7\"},\"url\":\"https:\\\/\\\/lamdabroking.com\\\/en\\\/author\\\/oded\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How a Coding Mistake Becomes a Cyber Incident","description":"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator's inquiry. Which policies may respond and what...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/","og_locale":"en_US","og_type":"article","og_title":"How a Coding Mistake Becomes a Cyber Incident","og_description":"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator's inquiry. Which policies may respond and what...","og_url":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/","og_site_name":"Lamda - High Tech Insurance","article_publisher":"https:\/\/www.facebook.com\/lamda.ins","article_published_time":"2026-11-30T10:11:22+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg","type":"image\/jpeg"}],"author":"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#article","isPartOf":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/"},"author":{"name":"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7","@id":"https:\/\/lamdabroking.com\/en\/#\/schema\/person\/a5b8f4894f9fd6a7a2f3742ba5688174"},"headline":"From Hardcoded API Keys to a Cyber Incident: How a Small Development Mistake Becomes a Major Loss","datePublished":"2026-11-30T10:11:22+00:00","mainEntityOfPage":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/"},"wordCount":2706,"publisher":{"@id":"https:\/\/lamdabroking.com\/en\/#organization"},"image":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#primaryimage"},"thumbnailUrl":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg","articleSection":["Articles"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/","url":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/","name":"How a Coding Mistake Becomes a Cyber Incident","isPartOf":{"@id":"https:\/\/lamdabroking.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#primaryimage"},"image":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#primaryimage"},"thumbnailUrl":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg","datePublished":"2026-11-30T10:11:22+00:00","description":"A hardcoded API key can trigger a cyber incident, a customer claim and a regulator's inquiry. Which policies may respond and what...","breadcrumb":{"@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#primaryimage","url":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg","contentUrl":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2026\/11\/Untitled-design-3.jpg","width":1672,"height":941,"caption":"How a Small Development Mistake Becomes a Major Loss"},{"@type":"BreadcrumbList","@id":"https:\/\/lamdabroking.com\/en\/hardcoded-api-keys-cyber-incident\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lamdabroking.com\/en\/"},{"@type":"ListItem","position":2,"name":"Cyber insurance","item":"https:\/\/lamdabroking.com\/en\/cyber-insurance\/"},{"@type":"ListItem","position":3,"name":"From Hardcoded API Keys to a Cyber Incident: How a Small Development Mistake Becomes a Major Loss"}]},{"@type":"WebSite","@id":"https:\/\/lamdabroking.com\/en\/#website","url":"https:\/\/lamdabroking.com\/en\/","name":"Lamda - High Tech Insurance","description":"Risk and Finance Management","publisher":{"@id":"https:\/\/lamdabroking.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lamdabroking.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lamdabroking.com\/en\/#organization","name":"\u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7","url":"https:\/\/lamdabroking.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lamdabroking.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2022\/12\/lamdaLogo-2.svg","contentUrl":"https:\/\/lamdabroking.com\/wp-content\/uploads\/2022\/12\/lamdaLogo-2.svg","width":237,"height":102,"caption":"\u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7"},"image":{"@id":"https:\/\/lamdabroking.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lamda.ins","https:\/\/www.linkedin.com\/company\/lamda-risk-and-capital-management\/"]},{"@type":"Person","@id":"https:\/\/lamdabroking.com\/en\/#\/schema\/person\/a5b8f4894f9fd6a7a2f3742ba5688174","name":"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b963c1df1f438ebca5af4999ce87b49df17e02ee8c0229a090b47e0993913bb1?s=96&d=mm&r=g","caption":"\u05e6\u05d5\u05d5\u05ea \u05dc\u05de\u05d3\u05d0 \u05d1\u05d9\u05d8\u05d5\u05d7"},"url":"https:\/\/lamdabroking.com\/en\/author\/oded\/"}]}},"_links":{"self":[{"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/posts\/20556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/comments?post=20556"}],"version-history":[{"count":2,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/posts\/20556\/revisions"}],"predecessor-version":[{"id":20560,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/posts\/20556\/revisions\/20560"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/media\/20558"}],"wp:attachment":[{"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/media?parent=20556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/categories?post=20556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lamdabroking.com\/en\/wp-json\/wp\/v2\/tags?post=20556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}