# I built an app with AI. What are the legal steps in Malaysia?

Before you sell a vibe-coded app in Malaysia: keep proof of your own work, read the AI tool's terms, check for copied open-source code, give users a PDPA privacy notice if you collect their data, and file the name as a trade mark (from RM950 a class). AI-written code's copyright is not settled.

By [Harith Khan](https://www.tkp.com.my/partners/harith) · Published 29 November 2026 · Last reviewed 29 November 2026

## I built an app with AI. What are the legal steps? The short answer

In Malaysia, an AI-built app needs proof of your work, a code check, users' data kept safe under the Personal Data Protection Act 2010 (PDPA), and a trade mark. Proof matters because the Copyright Act 1987 protects code only if enough effort made it original (section 7(3)); whether code an AI tool wrote qualifies is not settled. For a vibe-coded app, the bigger risks are a leak of users' data and code the AI copied from someone else. Most AI tools' terms leave those risks with you.

A vibe-coded app is built mostly by describing it to AI coding tools, such as Cursor, Lovable or Claude Code (vibe coding is 氛围编程 in Chinese). We found no Malaysian law against building or selling an app this way. The usual duties apply. Copyright (hak cipta in Malay, 版权 in Chinese) is the right to stop others copying your work. Personal data (data peribadi in Malay, 个人资料 in Chinese) is information about a person who can be identified, such as a name or email address. A trade mark (cap dagangan in Malay, 商标 in Chinese) is a registered name or logo that only you may use for your goods or services.

Take these seven steps, in this order:

1. While you build: keep your code history, prompts and design notes as proof of your own work.
2. Before real code or data goes in: check your AI tool's subscription plan, and turn off training on your code if you can.
3. Before launch: check for copied open-source code (code its authors let anyone reuse on set conditions) and for security gaps, such as a database anyone can open.
4. Before launch: search the app's name and file it as a trade mark.
5. Before users sign up: publish terms of use, and a privacy notice in Malay and English if you collect personal data. If you sell to consumers, add the seller details in Malay.
6. Before payments or investors: register the business and decide on a company. If you form one, assign (transfer) your code and trade mark to it in writing.
7. After launch: keep the security up to date, and have a plan for a data breach.

Already live? Do three things first. Check that each user can reach only their own records, and put up a privacy notice in Malay and English. Save your code history and prompts, and put ownership of the code in writing. Then search the name and file it as a trade mark.

![Seven steps in order: keep proof of your work; check the AI tool's plan and turn off training; check for copied open-source code and security gaps; file the name as a trade mark; a privacy notice and terms of use; a company, with your code and trade mark assigned in writing; a data breach plan.](https://www.tkp.com.my/media/articles/v1/f4031599007b9695-1440.png)

Figure 1. The legal steps for an app built with AI, from the first prompt to the first paying user. Do the data and code checks before launch. Already live? Do the data check now.

Key facts (Malaysia, as at 27 November 2026):

- AI-written code: whether it has copyright is not settled. The Intellectual Property Corporation of Malaysia (MyIPO) closed its 2026 consultation on 14 August 2026, with no bill tabled.
- Copyright needs no registration. MyIPO's optional notification costs RM200 a work online, and its form asks you to declare that no AI helped.
- Copying a substantial part of someone else's code without permission infringes copyright, even if you did not know.
- An assignment of copyright has no effect unless it is in writing.
- A PDPA privacy notice must be in Malay and English.
- Breaking a PDPA principle, such as keeping data secure: a fine of up to RM1,000,000, prison of up to 3 years, or both.
- A data breach likely to cause significant harm: notify the Personal Data Protection Commissioner within 72 hours, under the Commissioner's guideline.
- Trade mark filing with MyIPO: RM950 a class (a category of goods or services) using wording from its pre-approved list, or RM1,100 a class.
- A trade mark registration lasts 10 years and can be renewed.
- Industrial design (the registered look of a product): a screen design can be registered, if at all, only while it is new, so file before launch.

## Can my vibe-coded app get me sued?

Yes: a vibe-coded app carries the same legal risks as any app in Malaysia, and two stand out, users' data and someone else's code. A leak caused by poor security can be an offence under the PDPA. A client may also claim under your contract. Shipping code the AI copied from someone else can infringe their copyright.

The AI tool does not take the blame. On 27 November 2026, no main AI coding tool's consumer plan promised cover for such claims. Cursor's and Lovable's terms, Replit's general terms and Anthropic's consumer terms made you cover the provider's costs for claims from your use.

In February 2026, Wiz Research found that Moltbook, a vibe-coded social platform, had no database access rules. Anyone could read and change its data. That exposed 1.5 million API tokens (digital keys) and 35,000 email addresses. A 2025 vulnerability record about missing access rules in apps built with Lovable (CVE-2025-48757) is disputed by Lovable, which says each customer must protect its own app's data.

If you do not code, ask a developer to check that each user can reach only their own records. Ask them also to check that no secret key (a database or payment password) is in code users can see.

![Users' data: keep it secure, give a privacy notice in Malay and English, and notify the Commissioner within 72 hours of a breach likely to cause significant harm. Someone else's code: check open-source licences; copying infringes even if you did not know. Most AI tools' terms leave both with you.](https://www.tkp.com.my/media/articles/v1/45301dc9b33b16cc-1440.png)

Figure 2. The two legal risks that stand out for a vibe-coded app in Malaysia. Check both before launch.

## Does my app need a privacy policy and terms of use in Malaysia?

A privacy notice, yes, if your app collects personal data as part of a business: the PDPA requires one. Terms of use set your rules with users, and selling to consumers adds required details.

The PDPA covers personal data processed in commercial transactions, which includes most apps run as a business. As the owner, you are usually the data controller, who decides how the data is processed, so you must:

- give users a privacy notice (what most apps call a privacy policy), in Malay and English, when you first collect their data;
- say in it what you collect and why, its source, who receives it, and whether it is optional;
- say also how users can limit its use, and how they can contact you to see or correct their data;
- get users' recorded consent for any use, such as marketing, that is not needed to provide the service they signed up for;
- get explicit consent for sensitive personal data: health, biometric data (such as face scans), political opinions, religious beliefs or offences;
- for a user under 18, get a parent's or guardian's consent, and say in the notice that you hold children's data;
- take practical steps to keep the data safe from loss, misuse and unauthorised access.

Breaking one of these duties can bring a fine of up to RM1,000,000, prison of up to 3 years, or both. Some businesses, such as private clinics, registered tuition centres and travel agents, must also register with the Commissioner first. An app alone does not put you in a listed class (see the FAQ).

Payment details are not sensitive personal data under the PDPA, but the Commissioner treats financial information as high-risk. Where you can, let a licensed payment provider hold card details.

For a breach likely to cause significant harm, the Commissioner's guideline expects a notice to the Commissioner within 72 hours of learning of it. Significant harm includes a risk of financial loss or identity fraud, any sensitive data, or more than 1,000 people affected. Users facing that harm must be told within 7 days after you notify the Commissioner. A breach whose only harm is its size, more than 1,000 people, needs no notice to users. The PDPA itself says to notify the Commissioner as soon as practicable, with no harm test. So when in doubt, notify. Failing to notify the Commissioner can bring a fine of up to RM250,000, prison of up to 2 years, or both.

Terms of use (often called terms and conditions) are more likely to bind if users accept them before use. Show them at sign-up, ask users to tick to accept, and record who accepted which version.

Terms cannot remove a consumer's rights under the Consumer Protection Act 1999. A term excluding liability for negligence is unfair, and choosing foreign law to avoid the Act does not work. Check any template, including an AI-drafted one, against Malaysian law.

If your app sells to consumers, the 2024 e-trade regulations are likely to apply. Show, in Malay, your name and contact details, the main features, the full price with delivery and taxes, payment methods, terms of sale and delivery time. Let buyers correct order errors, and acknowledge each order promptly. Breaking these rules is an offence.

## Could the AI have copied someone else's code into my app?

Yes, an AI tool can reproduce code from other projects, and in Malaysia shipping it without permission can infringe copyright even if you never saw the original.

In 2024 the Court of Appeal held that infringement needs no knowledge or intent. Not knowing can spare you damages, but a court can still order you to stop and to pay over profits or statutory damages.

On 27 November 2026, [GitHub's terms](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) said Copilot's output may resemble code it was trained on or carry open-source licence terms, and that checking is your job.

Open-source licences set different conditions:

- MIT and similar licences: keep the author's copyright and permission notice in your copies.
- GPL version 3, a copyleft licence (one that makes you share code on its terms): pass copies on, and you may have to offer the whole program's source code.
- AGPL version 3: if you change the code and users reach it over a network, as in a web app or SaaS, you must offer them its source.

Code that runs only on your server, with no copy passing to users, is not passed on under the GPL. The AGPL closes that gap. But a mobile app, and the code a web app sends to browsers, are copies users receive. So a GPL part in either, or a changed AGPL part on your server, can make you share code you meant to keep.

Before launch, run a licence scanner (a tool that lists each open-source part and its licence). Replace any part whose licence you cannot follow. A scanner may miss a short block the AI copied into your own files, so rewrite long, unusual blocks you cannot clear.

## Is the code I wrote with AI mine?

Partly: in Malaysia, code you wrote yourself is protected if enough effort went into it, but whether code an AI tool wrote has copyright is not settled.

As proof of which parts are yours and which the AI wrote, keep dated records, such as your prompts and your code history in a private hosted repository (an online store for code), and store them securely, as they may hold client code or secret keys. Never sign MyIPO's optional notification form, which asks you to declare that no AI helped, if that is not true. Our article on [whether you can copyright code written with AI](https://www.tkp.com.my/publications/copyright-ai-generated-code-malaysia) explains how much effort counts and how to prove it.

## Does Cursor, Lovable or another AI tool own my code or train on it?

No AI tool we checked claims to own your code, but none promises the output has copyright or is unique, and several train on your code unless you opt out.

On 27 November 2026, these terms showed this:

- [Cursor's terms](https://cursor.com/terms-of-service): rights in the output "if any", and others may get the same output. It trains on your code only if you agree. Turning off its Privacy Mode counts as agreeing, so check it is on.
- [Anthropic's consumer terms](https://www.anthropic.com/legal/consumer-terms) for Claude Free, Pro and Max, including Claude Code on them: rights "if any"; Anthropic may train on your chats and code unless you opt out. Even then, chats you rate, or that are flagged for safety review, may be used.
- [OpenAI's terms for ChatGPT and Codex users](https://openai.com/policies/row-terms-of-use/): rights "if any", output may not be unique, and OpenAI may train on your content unless you opt out.
- [GitHub's terms](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) for Copilot on an individual plan: GitHub may train on your prompts and output unless you opt out; code in public repositories is outside that opt-out.
- [Lovable's terms](https://lovable.dev/terms): you own your app "as between" you and Lovable, so Lovable claims no ownership, though others may have rights in parts of it. It may train on your projects on any plan unless you say no. It may reclaim a lovable.app address, usually on 7 days' notice, so use your own domain.
- [Replit's Pro agreement](https://replit.com/pro-agreement): no clause says who owns the AI's output; Replit may train on your content, and Pro users can opt out in settings.
- [Vercel's terms](https://vercel.com/legal/terms): the free Hobby plan is for personal or non-commercial use only, and Vercel may train on Hobby content.

On that date, business, team and API plans of Anthropic and OpenAI did not train on your content by default. Some add an indemnity (a promise to defend you). But it excludes output you changed or combined with other code, which describes most real apps. So use a business plan or turn training off before you put in private code or data. Save a copy of the terms you accepted.

## Do I need a Sdn Bhd, and how does the code get into it?

No: you can sell an app in Malaysia without a Sdn Bhd, but if you form one, your existing code moves into it only by a written assignment.

Selling the app or its subscriptions is a business. Unless a company runs it, register it with SSM within 30 days (Sabah and Sarawak have their own rules). As an Enterprise owner, you are the business, so your own code is already yours. A Sdn Bhd keeps the business's debts apart from your own, and an investor can take shares only in a company. For the trade-off, see [Sdn Bhd or Enterprise, and the cost each year](https://www.tkp.com.my/publications/sdn-bhd-or-enterprise-malaysia).

Copyright starts with the author, so code you wrote before the company existed stays yours until you assign it. Code you write later can stay yours too, unless you are its employee under a contract of service. A freelancer's code may also stay theirs, especially one abroad or on a platform. The company owns all the code only if each person who wrote it assigned it in writing, wrote it as its employee, or wrote it to the company's own order.

So sign a short assignment of the code you have written and will write. The law allows an assignment of future work. Get the same from each co-founder and freelancer, with consent to use and change their code without naming them. Then move the repository, domain, cloud and app-store accounts into the company's name. Ask whether the assignment needs stamping; see [which business agreements need stamping](https://www.tkp.com.my/publications/stamp-duty-business-agreements-malaysia). Raising money? Read the FAQ on what an investor will ask.

## How do I protect the app's name, look and idea?

In Malaysia, a registered trade mark protects the name, a screen design can be registered, if at all, only while it is new, and copyright does not protect the idea.

Name. Search the name, then file it with MyIPO in the name of whoever will own the brand. With no company yet, file in your own name: an Enterprise is you, not a separate owner. When you form a company, assign the mark to it in a document you both sign, and record the assignment with MyIPO. A registered business or company name, or a domain, does not give you a trade mark.

Secrets. Code that runs only on your server, your prompts, your data and your business rules can be protected as confidential information (a secret shared in confidence) while they stay secret. Use [a non-disclosure agreement (NDA)](https://www.tkp.com.my/publications/nda-malaysia) before showing it to a developer, partner or investor. Code shipped inside a mobile app or a web page can be inspected, so it is harder to keep secret.

Idea. Copyright does not protect an idea, procedure or method of operation. So a rival may build an app that does the same thing in their own code. A patent is possible only for an invention that solves a technical problem (see the FAQ).

## Someone copied my app. What can I do in Malaysia?

In Malaysia, you can act against a copy that takes your code, your name or your secrets, but usually not one that copies only your idea or features.

![Protected: code you wrote, if enough effort went into it; your registered trade mark; secret code, prompts and data while they stay secret. Not settled: AI code you shaped; code an AI tool wrote with little human input. Usually not protected: the idea; the features and what the app does.](https://www.tkp.com.my/media/articles/v1/ce53481ae0050e2f-1440.png)

Figure 3. What the law protects in an app built with AI, and what it usually does not. A rival may build the same idea in their own code.

First, work out what was copied:

- Code: copying a substantial part of code you wrote can infringe your copyright. Where an AI tool wrote most of your code, this claim is weaker, because its copyright is not settled.
- Name and look: a confusingly similar name can infringe your registered trade mark. Even without one, the law of passing off protects the goodwill in your name and get-up (the look customers know you by).
- Secrets: a former co-founder, staff member or contractor who uses your secret code or data can be in breach of confidence, even without an NDA.

Keep dated evidence: screenshots, store listings and your own records. A lawyer's letter is the usual first step, and a court can order copying to stop. If you settle, put it in writing and say what the settlement covers.

## I build apps for clients with AI tools. Whose code is it?

In Malaysia, code you write to a client's order usually passes to the client by law, unless your agreement says otherwise.

Copyright in the AI-written parts is not settled, so promise only what you control. List every open-source part and its licence, confirm you did not knowingly copy anyone's code, and disclose your AI tools, with a person checking their output. Keep code you bring from earlier work, such as your own libraries, in your name, and license it to the client. For the terms themselves, see [what a software development agreement should say about IP](https://www.tkp.com.my/publications/software-development-agreement-ip-malaysia).

Keep the client's code and data out of AI tools that may train on them, unless the client agrees. Before paid client work on a personal plan, check its terms. On 27 November 2026, Vercel's free Hobby plan barred commercial use, and consumer plans gave no indemnity.

If you also host the app, the PDPA makes you, as the client's data processor, keep its users' data secure. Before you sign the client's paper, see [what to check in a big customer's contract](https://www.tkp.com.my/publications/customer-contract-review-malaysia).

## When should I talk to a lawyer about my app?

Talk to a lawyer before launch if the app will hold health or other sensitive data, or financial data, and soon if it is already live with users' data. Also ask before an investor's checks, before you sign a client contract, or when a lawyer's letter says you copied. The firm's [corporate and commercial page](https://www.tkp.com.my/corporate-commercial) describes its work on privacy notices, data breach response and IP assignments.

This article is general information about Malaysian law as at 27 November 2026. Its copyright, trade mark, data protection, consumer and company rules apply in all of Malaysia, including Sabah and Sarawak; business registration there follows State law. It is not legal advice on your situation, and reading it does not make you or your company a client of the firm. Laws, the Commissioner's guidelines and the AI tools' terms change often, so check the current position before you rely on it.

## Frequently asked questions

### If AI wrote most of my app, is it in the public domain?

Not necessarily: whether code an AI tool wrote has copyright is not settled in Malaysia, and even if the AI-written parts had none, your own code, text, designs, registered trade mark and secrets stay protected. Our article on [what a copier can take from code written with AI](https://www.tkp.com.my/publications/copyright-ai-generated-code-malaysia) explains where the line falls.

### Is vibe coding legal in Malaysia, and can I sell the app?

Yes. We found no Malaysian law that stops you building or selling an app because AI tools helped build it. First check that your tool's plan allows commercial use: Vercel's free Hobby plan, for one, does not. Once you sell, register the business with SSM within 30 days, unless a company runs it. Then add a privacy notice if you collect personal data, clear terms of use, and the e-trade details in Malay if you sell to consumers. A buyer of the app will usually want a written assignment and a list of the open-source parts and AI tools used.

### My app leaked users' data. What must I do?

First contain it: close the open access, change exposed keys and keep logs. Under the Commissioner's guideline, significant harm includes a risk of financial loss or identity fraud, any sensitive data, or more than 1,000 people affected. Notify the Commissioner within 72 hours of learning of it, on its [data breach notification page](https://www.pdp.gov.my/en/report-dbn/). Tell users who face that harm within 7 days after that notice; size alone does not require telling them. The PDPA itself has no harm test for the Commissioner, so when in doubt, notify. Keep a record of the breach for at least 2 years.

### Does my app need a privacy notice if it only collects email addresses?

Yes, if the app is run as a business. An email address that identifies a person is personal data. The PDPA applies to personal data processed in commercial transactions, by a company or an individual. The notice must be in Malay and English. It says what data you collect and why, where it comes from, who receives it and whether users must give it. It also says how users can limit its use and how they can see or correct it. Data you handle only for your own personal or family affairs is outside the PDPA.

### Must I register my business with the Personal Data Protection Commissioner?

Usually not. Only data controllers in the 13 listed classes must register, before processing personal data. The classes are mostly licensed or registered businesses. Examples are private clinics, private schools and registered tuition centres, travel agents, registered tourist accommodation, banks, insurers, moneylenders, direct sellers, housing developers, and some professional, retail and wholesale firms. An app is not in a class just because it takes bookings or payments; the business's own licence or registration decides. Processing data without registering, when you are in a class, can bring a fine of up to RM500,000, prison of up to 3 years, or both.

### Does a small app need a data protection officer?

Probably not yet. The PDPA says a data controller must appoint a data protection officer (DPO), but the Commissioner's circular on DPOs limits the duty to larger processing. It applies above personal data of 20,000 people, or sensitive data or financial information of 10,000. It also applies to regular and systematic monitoring, which the Commissioner's guideline says includes tracking users for targeted ads. Once you pass a threshold, appoint a DPO who lives in Malaysia or is easy to reach, and who is fluent in Malay and English. Register the DPO with the Commissioner within 21 days.

### My app sends users' data to an AI model or an overseas server. What must I tell users?

Say so in your privacy notice: what data goes to the AI or hosting provider, why, and that it leaves Malaysia. Most AI and hosting providers keep data outside Malaysia, and the Commissioner's 2025 guideline treats storing data on an overseas server as sending it abroad. The PDPA allows that on set grounds, such as the user's consent or a contract that binds the provider to protect the data as Malaysian law requires. So choose a provider that signs a data processing agreement, and record which provider holds what data, where, and why.

### My SaaS sells only to businesses. Do the consumer rules and the PDPA still apply?

The consumer rules do not, but the PDPA does. The Consumer Protection Act 1999 and the 2024 e-trade regulations protect consumers buying for personal or household use, not businesses. Your contract with each business sets the terms. A term that bars a customer from going to court at all, or cuts their time to sue, is void, but agreeing to arbitration instead is allowed. If businesses use your app to hold their own customers' data, you usually process it for them, and the PDPA makes you keep it secure. For your own users' account data, you are the data controller.

### Do I need a company to sell my app on Apple's App Store?

No. Apple lets an individual or sole proprietor enrol in their own legal name, which then shows as the seller. An organisation must be a legal entity, not a trade name, and needs a D-U-N-S Number (a business ID); the fee is USD 99 a year. An Enterprise is a trade name, so its owner enrols as an individual. If you want the company's name to show as the seller, form the company first and enrol it as an organisation.

### Do I need to register my app's copyright with MyIPO?

No: copyright in Malaysia arises without registration, and MyIPO's optional notification, at RM200 a work online, asks you to declare that the work was made without AI help, so it does not fit an app built with AI tools. Keep your own dated records instead, as [our article on copyright in code written with AI](https://www.tkp.com.my/publications/copyright-ai-generated-code-malaysia) explains, and register the app's name as a trade mark.

### Will the AI tool's maker defend me if its code infringes someone's copyright?

Usually not. On 27 November 2026, the consumer terms of the main AI coding tools gave no such promise. Cursor's and Lovable's terms, Replit's general terms and Anthropic's consumer terms asked you to cover the provider's costs for claims from your use. Some paid plans, such as Anthropic's commercial terms (Team, Enterprise and API) and OpenAI's API and ChatGPT Enterprise terms, offer an indemnity. It excludes output you changed or combined with other code, and uses you knew or should have known infringed. Most real apps are changed and combined output, so do your own checks before launch.

### Can AI-generated code force me to publish my source code?

It can, if the AI reproduced code under a copyleft licence (one that makes you share code on its terms) and you meet its trigger. Under GPL version 3, passing copies on can require you to offer the whole program's source code. A mobile app users download, and the code a web page sends to browsers, are such copies; code that runs only on your server is not. Under AGPL version 3, a changed version that users reach over a network must offer them its source. A licence scan before launch can find such parts.

### I already put private code or keys into an AI tool that trains on them. What now?

Turn training off now; it usually stops only future use. Change any secret key or password you pasted in. The code is probably still confidential, because you shared it with one provider under its terms, but no Malaysian court has decided this. Sharing it does not end its copyright. If it was a client's code or data, tell the client and check your contract with them. Then sign or collect the written assignments for the work, which settle who owns it whatever happened to its secrecy.

### Should I file my app's name as a trade mark before launch, and what does it cost?

Yes, if you plan to build a brand on it, because a registration is easier to enforce than an unregistered name. MyIPO charges RM250 a class for a search, and RM950 a class to file with its pre-approved wording, or RM1,100 a class with your own. Software is usually filed in class 9, online software services in class 42, and the service your app sells in its own class, such as class 41 for tutoring. With no company yet, file in your own name and assign the mark to the company later.

### Can I patent my app idea?

Rarely. Malaysia's Patents Act 1983 does not list computer programs as unpatentable, but it excludes mathematical methods and methods of doing business. An invention must solve a specific problem in the field of technology, and an idea for an app's features usually does not. If your app does solve a technical problem, keep it confidential until you file a patent application. Telling the public first can stop it being new. Code you wrote is protected by copyright, not by a patent.

### Is it legal to build a clone of a famous app with AI?

Copying the idea and the features is generally lawful in Malaysia, but copying the code, the name, the logo or a registered design is not. It makes no difference that an AI tool produced the copy: the Court of Appeal has held that infringing copyright needs no knowledge or intent. A look-alike name or get-up (the look customers know a business by) can also be passing off, which protects the goodwill in a business's name. So write your own code, choose a different name, and do not reuse the original's icons, images or text.

### A developer will finish my AI prototype. Who owns the result?

Usually you own the new code they write to your order, unless their quotation or terms say otherwise. Your prototype stays yours, and their own tools stay theirs. A developer abroad or on a platform may be under another country's law or the platform's terms. Some freelance platforms' standard terms pass ownership only on full payment. So before work starts, ask for a written assignment of the new code, worldwide, with consent to use and change it without naming them. See [the terms to ask a developer for](https://www.tkp.com.my/publications/software-development-agreement-ip-malaysia).

### My co-founder wrote part of the app before we formed the company. Who owns that part?

Probably the co-founder, for now. Copyright starts with the person who wrote the code, and a company cannot own anything before it exists. Some founders sign a deal for the company before it exists and have the company adopt it later; whether that moves copyright is untested. The safe fix is a written assignment of each co-founder's past and future code and designs to the company, with consent to use and change them without naming the co-founder. If a co-founder is paid in shares for their work, see [how to split shares for money and work](https://www.tkp.com.my/publications/split-shares-money-and-work-malaysia).

### What will an investor ask about code written with AI?

Expect questions on who wrote the code and whether the company owns it. Have a written assignment, with consent to changes, from everyone who wrote code, founders and freelancers included. List the AI tools and plans used, and the open-source parts with their licences. Keep your privacy notice and records of who accepted your terms. If something cannot be confirmed, such as copyright in AI-written parts, say so in writing before you sign the agreement's promises (warranties). See [what to do when an investor asks if the company owns its software](https://www.tkp.com.my/publications/software-development-agreement-ip-malaysia) and [what to agree before an investor takes shares](https://www.tkp.com.my/publications/investor-shares-sdn-bhd-malaysia).

### Is there a new AI law in Malaysia that applies to my app?

Not yet, as at 27 November 2026. In October 2026 the Digital Minister said an AI Governance Bill was complete and would be tabled by early 2027; it is not law. MyIPO's consultation on changing copyright law closed in August 2026, with no bill yet. The Online Safety Act 2025 places its duties on licensed service providers, not on an ordinary app. So the duties in this article come from existing law: copyright, contracts, consumer protection and the PDPA.

## Sources

1. [Copyright Act 1987 (Act 332), sections 3, 7, 13, 25, 26, 26A, 26B, 27, 36, 37 and 48 (as at 30 June 2022)](https://lom.agc.gov.my/ilims/upload/portal/akta/outputaktap/1736259_BI/Act%20332_Muktamad%207.2.2023.pdf)
2. [Unified Public Consultation: proposed amendments to the Copyright Act 1987, MyIPO, 3 July to 14 August 2026 (closed): a proposal, not law](https://upc.mpc.gov.my/view-consultation/258)
3. [Parliament of Malaysia: Dewan Rakyat bills of 2026 (read 27 November 2026; page updated 27 November 2026)](https://www.parlimen.gov.my/bills-dewan-rakyat.html?uweb=dr&lang=en)
4. [MyIPO Form CR-1, notification of copyright, Declaration items 2 to 4 and fee](https://www.myipo.gov.my/wp-content/uploads/2025/12/CR-1-BI.pdf)
5. [MyIPO: trademark forms and fees](https://www.myipo.gov.my/trademark-forms-and-fees/)
6. [Trademarks Act 2019 (Act 815), sections 17, 39, 48, 54, 64 and 65](https://www.myipo.gov.my/wp-content/uploads/2025/02/ACT-815-TRADEMARKS-ACT-201.pdf)
7. [Industrial Designs Act 1996 (Act 552), sections 3 and 12](https://www.myipo.gov.my/wp-content/uploads/2025/02/INDUSTRIAL-DESIGNS-ACT-1996-ACT-552.pdf)
8. [Patents Act 1983 (Act 291), sections 12, 13 and 14](https://www.myipo.gov.my/wp-content/uploads/2025/02/LAMPIRAN-D37-Patents-Act-1983-Act-291-As-at-30-June-2023-Online-version-of-updated.pdf)
9. [Personal Data Protection Act 2010 (Act 709), sections 2, 4, 5, 6, 7, 9, 12A, 12B, 13 to 16, 40, 45 and 129, Reprint 2026 (as at 15 September 2026)](https://lom.agc.gov.my/ilims/upload/portal/akta/outputaktap/3301061_BI/Act%20709%20%28Reprint%202026%29.pdf)
10. [Personal Data Protection Regulations 2013, P.U.(A) 335/2013, regulation 3 (consent, including a parent's for a user under 18)](https://www.pdp.gov.my/wp-content/uploads/2024/06/PERATURAN-PERLINDUGAN-DATA-PERIBADI-2013.pdf)
11. [Personal Data Protection (Class of Data Users) Order 2013, P.U.(A) 336/2013: the classes that must register](https://www.pdp.gov.my/wp-content/uploads/2024/07/Perintah-Perlindungan-Data-Peribadi-.pdf)
12. [Personal Data Protection (Class of Data Users) (Amendment) Order 2016, P.U.(A) 326/2016: classes 12 and 13, pawnbrokers and moneylenders](https://www.pdp.gov.my/wp-content/uploads/2024/07/PerintahPindaan2016.pdf)
13. [Personal Data Protection Commissioner: Guideline on Data Breach Notification, version 1.0 (25 February 2025), paragraphs 5 to 9 and 14, read with Circular No. 2/2025](https://www.pdp.gov.my/wp-content/uploads/2025/08/GP_DBN_ENG.pdf)
14. [Personal Data Protection Commissioner: Guideline on Appointment of Data Protection Officer, version 1.0 (25 February 2025), paragraphs 4.1 to 4.3, 6.10 and 7.1, on Circular No. 1/2025](https://www.pdp.gov.my/wp-content/uploads/2025/08/GP_DPO_ENG.pdf)
15. [Personal Data Protection Commissioner: Guideline on Cross Border Personal Data Transfer, version 1.0 (29 April 2025)](https://www.pdp.gov.my/wp-content/uploads/2025/08/BUKU-GARIS-PANDUAN-PEMINDAHAN-DATA-PERIBADI-RENTAS-SEMPADAN-CBPDT-BI.pdf)
16. [Consumer Protection Act 1999 (Act 599), sections 2, 3, 4, 6, 24A and 24D (as at 1 November 2021)](https://lom.agc.gov.my/ilims/upload/portal/akta/outputaktap/1690994_BI/011121_Act%20599_final.pdf)
17. [Consumer Protection (Electronic Trade Transaction) Regulations 2024, P.U.(A) 449/2024, regulations 3, 4, 6 and 9 and the Schedule](https://lom.agc.gov.my/ilims/upload/portal/akta/outputp/2587477/PUA%20449%20%282024%29.pdf)
18. [Electronic Commerce Act 2006 (Act 658), sections 3 and 7 (reprint as at 1 November 2012)](https://lom.agc.gov.my/ilims/upload/portal/akta/LOM/EN/Act%20658.pdf)
19. [Contracts Act 1950 (Act 136), sections 29 and 74](https://lom.agc.gov.my/ilims/upload/portal/akta/LOM/EN/Act%20136.pdf)
20. [Companies Act 2016 (Act 777), sections 20 and 65](https://lom.agc.gov.my/ilims/upload/portal/akta/outputaktap/3372888_BI/Act%20777%20%28Online%202026%29.pdf)
21. [Registration of Businesses Act 1956 (Act 197), sections 2, 4, 5 and 12, SSM copy of the AGC text as at 1 June 2017](https://www.ssm.com.my/Pages/Legal_Framework/Document/ROBA%201956_Act%20197_as%20at%201%20June%202017.pdf)
22. [MCMC: Online Safety Act 2025, duties of licensed service providers](https://mcmc.gov.my/onsa)
23. [Bernama, 29 October 2026: AI Governance Bill to be tabled in Parliament early next year (a bill, not law)](https://www.bernama.com/en/general/news.php?id=2627235)
24. Chuah Aik King v Keydonesoft Sdn Bhd \[2019\] 8 MLJ 515; \[2018\] 10 CLJ 354 (High Court, decided 30 April 2018): a person who said they gave only ideas was not shown to be the program's author
25. Siemens Industry Software Inc v KB Engineering Coatings Sdn Bhd \[2025\] 2 MLRA 657 (Court of Appeal, 19 December 2024): innocence is no defence to copyright infringement
26. Dynacast (Melaka) Sdn Bhd & Ors v Vision Cast Sdn Bhd & Anor \[2016\] 3 MLJ 417 (Federal Court, decided 16 May 2016): the test for confidential information
27. Open Country Dairy Ltd v Able Food Sdn Bhd \[2021\] 7 CLJ 716 (Court of Appeal, 24 May 2021): terms incorporated by reference to a web link
28. [Free Software Foundation: GNU General Public License, version 3](https://www.gnu.org/licenses/gpl-3.0.en.html)
29. [Free Software Foundation: GNU Affero General Public License, version 3, section 13](https://www.gnu.org/licenses/agpl-3.0.html)
30. [Open Source Initiative: the MIT License](https://opensource.org/license/mit)
31. [Cursor Terms of Service and data use page (read 27 November 2026)](https://cursor.com/terms-of-service)
32. [Anthropic Consumer Terms of Service, Commercial Terms of Service and training help page (read 27 November 2026)](https://www.anthropic.com/legal/consumer-terms)
33. [OpenAI Terms of Use, Services Agreement and Service Terms (read 27 November 2026)](https://openai.com/policies/row-terms-of-use/)
34. [GitHub Terms of Service, section J, AI features (including Copilot) (effective 27 April 2026; read 27 November 2026)](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service)
35. [Lovable Terms of Service (last updated 28 August 2026; read 27 November 2026)](https://lovable.dev/terms)
36. [Replit Terms of Service, including the user's indemnity, and Pro agreement (terms last updated 3 August 2026; Pro agreement last updated 9 October 2026; read 27 November 2026)](https://replit.com/terms-of-service)
37. [Vercel Terms of Service (last updated 19 October 2026; read 27 November 2026)](https://vercel.com/legal/terms)
38. [NVD: CVE-2025-48757 (published 30 May 2025; disputed by the supplier)](https://nvd.nist.gov/vuln/detail/CVE-2025-48757)
39. [Wiz Research: exposed Moltbook database (2 February 2026)](https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys)
40. [Apple Developer Program: enrollment](https://developer.apple.com/programs/enroll/)

Web page: https://www.tkp.com.my/publications/ai-built-app-legal-malaysia
