Bangladesh’s Cyber Safety Ordinance: How to Comply with AI-Related Cybercrime Laws

Bangladesh’s Cyber Safety Ordinance: How to Comply with AI-Related Cybercrime Laws

Using ChatGPT, Gemini, an image generator or an AI coding assistant is not, by itself, illegal in Bangladesh. The legal risk arises when someone uses an AI tool or agent to commit an unlawful act, such as unauthorised access, system damage, data theft, fraud, blackmail, sextortion, sexual harassment or the distribution of exploitative material.

The Cyber Security Ordinance, 2025 took effect on 21 May 2025 and replaced the Cyber Security Act, 2023. Bangladesh’s ICT Division now lists a Cyber Security Act, 2026, so the 2025 ordinance should be read as part of a changing legal framework—not as the country’s only current cyber law. The applicable 2026 text should be checked before relying on a section number, penalty or legal interpretation.

What the 2025 ordinance says about AI

The ordinance introduced specific treatment of cybercrime committed with AI tools, AI agents and other software. Its reported Section 17 provision applies when an individual, software developer or AI-tool user knowingly or deliberately uses AI to gain unauthorised access to critical information infrastructure or cause damage through that access.

The reported maximum penalty is up to five years’ imprisonment, a fine of up to Tk 50 lakh, or both. The provision focuses on the unlawful access or damage—not on ordinary use of generative AI.

The ordinance also addresses unauthorised access to computers, digital devices, computer systems, networks and critical information infrastructure. An automated agent does not receive a legal exemption simply because it performed an action without continuous human control.

The 2025 ordinance removed nine controversial provisions from the 2023 Act, including provisions concerning criticism, national symbols, identity, defamation, religious sentiment and certain offensive or threatening content. Proceedings, investigations, sentences and fines under the removed sections were reported as cancelled or nullified.

What individual AI users should avoid

Keep AI use within clear legal and technical permissions. In particular:

  • Do not ask an AI tool to enter another person’s account, device, server or network without permission.
  • Do not use an AI coding agent to scan, exploit or modify a system unless you have documented authorisation.
  • Do not deploy an autonomous agent with unrestricted access to production systems, databases, cloud accounts or payment tools.
  • Do not use face-swapping, voice cloning or synthetic video to threaten, blackmail, harass or impersonate someone.
  • Do not create, store or forward AI-generated child sexual-abuse material.
  • Do not create intimate images of a real person without consent.
  • Do not use AI to facilitate fraud, extortion, unauthorised transactions or identity deception.

The reported framework covers digital material used for blackmail, sextortion, sexual harassment, revenge pornography and child sexual abuse. This can include AI-generated or AI-edited images, video, audio, graphics and related digital material.

How businesses and developers should control AI agents

Companies should treat every AI agent as software operating under an organisation’s deployment decision. “The AI did it automatically” should not be treated as a compliance strategy.

Before deployment, define exactly what the agent may access and which actions it may perform. Use least-privilege permissions, separate testing and production environments, and short-lived credentials instead of permanent access keys.

Require human approval before an agent can delete data, make payments, change account privileges, publish material externally, alter production systems or escalate access rights.

Keep useful technical records, including prompts, tool calls, API requests, access decisions, user identities, timestamps and system changes. These records can help establish whether an action was authorised and support an investigation after an incident.

Other sensible controls include security testing before deployment, monitoring for prompt injection and data exfiltration, and checking whether an agent can be manipulated into using tools outside its approved purpose.

Employees should not upload confidential customer, financial, health or government information to consumer AI services without approval. A written AI-use policy should specify which data may be entered into external systems and who is responsible for reviewing exceptions.

Business-law guidance also recommends appointing a responsible cybersecurity team, conducting periodic audits, maintaining formal security policies, following relevant NCERT guidance, reporting incidents and training employees. These are practical risk controls, not automatically statutory duties unless a specific applicable provision confirms them.

AI-generated sexual abuse and deepfake material

Synthetic content creates serious legal risk when it targets a real person. Publishing or threatening to publish AI-generated or AI-edited intimate material for blackmail, sextortion, sexual harassment or revenge pornography can create criminal exposure under the reported framework.

Victims should preserve the original URL, account or page name, screenshots, timestamps, messages, threats and platform-report numbers. Do not repeatedly forward abusive material, particularly when minors may be involved. Preserve evidence safely and report the material through the relevant platform and lawful channels.

Deleting a post does not necessarily remove the evidence. Copies, messages, device records, server logs and forensic material may remain. The ordinance provides for digital forensic functions and the preservation and use of electronic evidence.

Online gambling and the changing 2026 framework

The 2025 ordinance prohibited creating or administering online gambling portals, applications or devices. It also covered participating in, assisting, encouraging, advertising or promoting online gambling. The reported maximum penalty was up to two years’ imprisonment, a fine of up to Tk 1 crore, or both.

Later reporting said the online-gambling provision was removed through a 2026 amendment after separate legislation was adopted. Readers and businesses should therefore check the applicable 2026 text before relying on a 2025 section or penalty.

2025 ordinance compared with the 2026 framework

Issue 2025 ordinance 2026 framework and proposals
AI-assisted hacking Covered when AI is used for unauthorised access or damage. The broader cybercrime framework is reported to remain in place.
AI-generated sexual abuse Covered when used for blackmail, sextortion, sexual harassment, revenge pornography or child abuse. Reported as retained in the 2026 Act.
General deepfakes No comprehensive standalone deepfake ban was confirmed. Broader restrictions have been discussed through amendment proposals.
Defamation and disinformation Several controversial speech provisions from the 2023 Act were removed. Additional AI-related restrictions remained proposal-stage in the retrieved material.
Platform takedowns Content-removal powers and court oversight were reported. A proposal reportedly sought faster removal of specified harmful content, but it should not be treated as enacted without the final gazette.

What remains uncertain

The ordinance is not a complete AI-governance law. The available material does not establish a comprehensive risk-based system covering model safety, algorithmic discrimination, explainability, training data, autonomous-decision liability or general labelling of synthetic media.

AI is mostly addressed indirectly: the offence is generally the unlawful act committed with AI, rather than the mere creation of synthetic content. This leaves uncertainty around some political, defamatory or non-sexual deepfakes, particularly where later amendment proposals have not become final law.

Rights groups and civil-society commentators have raised concerns about broad language, content blocking, warrantless arrest powers, platform accountability and possible effects on journalism and legitimate criticism. The precise position depends on the final statutory text and its enforcement.

Frequently Asked Questions

Is using ChatGPT or another AI tool illegal in Bangladesh?

No blanket ban was confirmed. Ordinary use is different from using AI to commit unauthorised access, system damage, fraud, blackmail, sexual harassment or another offence.

Can an AI agent be used for authorised security testing?

It may be possible when the operator has clear written permission, a defined scope and appropriate safeguards. Unauthorised scanning, access or modification can create legal risk. The law does not provide a general exemption for security research.

Are all AI-generated images illegal?

No. The confirmed material does not support that interpretation. Risk increases when synthetic content is used for sexual harassment, blackmail, sextortion, revenge pornography, child abuse, fraud or unauthorised access-related activity.

Does deleting an AI-generated post eliminate liability?

No. Copies, messages, platform records and forensic evidence may remain after deletion. Removing the original post does not necessarily remove the investigative record.

Have proposed penalties for AI-generated rumours and disinformation become law?

The retrieved official material confirms consultation and review of amendment proposals, not final enactment of every reported provision. Reported penalties should therefore be labelled proposed unless confirmed by the final gazette.

Conclusion

For Bangladeshi AI users, the practical rule is simple: use AI only within clear legal and technical permissions. Do not allow an AI tool to access systems, manipulate data, impersonate people, create exploitative material or automate harmful conduct without strict controls.

Individuals should avoid unauthorised and harmful uses. Developers and companies should use limited permissions, human approval, logging, security testing and incident-response procedures. Because Bangladesh’s cyber-law framework changed again in 2026, organisations should verify the current gazetted text and obtain Bangladesh-specific legal advice for high-risk deployments.

Sources

Comments

Popular posts from this blog

Best Practices for Securing IoT Devices Against AI-Driven Threats

Empowering Education: Essential Tools for Students in 2026

Top AI Study Tools for Bangladeshi Students in 2026