Libya
AI behavior law: bot and agent disclosure, crawler and training-data rules, automated-agent transactions, and algorithmic decision-making.
Summary
Libya's legal framework for web crawling is minimal and profoundly uncertain due to ongoing armed conflict, the absence of a unified government, and thin enforcement infrastructure. There is no comprehensive data-protection law and no dedicated data-protection authority. The principal relevant statute is Law No. 5/2022 on Combating Cybercrimes (enacted September 2022 by the House of Representatives), which criminalises unauthorised access to computer systems and information networks. The law carries relatively modest penalties for basic unauthorised access (up to one year imprisonment or a fine) but contains extremely severe provisions (up to 15 years) for content offences such as sharing information deemed to threaten security or public safety. Human rights organisations (HRW, Article 19, OMCT) have condemned the law as vague and overbroad. Law No. 6/2022 on Electronic Transactions provides ancillary data-handling principles. Libya has not ratified the AU Malabo Convention; its status on signing is unclear. In practice, formal legal enforcement of scraping-specific rules is unlikely given the state of governance, but exposure to arbitrary application of the cybercrime law is real. Treat as minimal_or_unclear with human review required.
Automated-access legality
Carried forward from the crawler-law index. Governs whether automated clients may access public websites in this jurisdiction.
| Dimension | Value |
|---|---|
| Authorization test | unsettled |
| Public-page carve-out | unsettled |
| Terms-of-service browsewrap enforceable | unsettled |
| Terms-of-service clickwrap enforceable | unsettled |
| Copyright exception model | none |
| Text and data mining — commercial status | unsettled |
| Text and data mining — opt-out mechanism | none |
| robots.txt legal weight | non binding notice |
| AI training-specific law | none |
| Privacy regime | No comprehensive data protection law; Law No. 5/2022 and Law No. 6/2022 contain partial data principles |
| Trespass to chattels | not recognized |
Last reviewed: 2026-05-23. Confidence: low. Fast-moving area — verify before relying. Not legal advice.