ARTEXGitHubComputer Crime Act Section 13 Cyber & Scam

ARTEX Copied Across GitHub: How Risky Is It to Download or Share?

ARTEX, an AI hacking tool, is still being copied on GitHub. Downloading it is not an offence under Section 13 of Thailand's Computer Crime Act, but sharing the files or running it against systems without permission can be.

A young man in glasses typing at a keyboard in front of two monitors full of green code, in a dark room lit by blinking server-rack lights
AI-generated illustration for this article; not a real event or person

Short answer

Downloading ARTEX and keeping it is not an offence under Section 13 of the Computer Crime Act B.E. 2550 (2007), because that section only punishes those who sell or disseminate such tools. Uploading the code or sending the files to a chat group, however, may count as dissemination, punishable by up to 1 year in prison or a fine of up to 20,000 baht. Running it against a system without the owner's permission falls under Sections 5 and 7.

Want the short version first?

AI summary

ARTEX is an open-source framework that lets AI agents help break into systems. Its creator removed it from GitHub in October 2026, but The Register reported more than 130 modified versions in circulation, and Microsoft found hacking groups from China and North Korea using it. Under Thai law, downloading and keeping the tool is not an offence under Section 13, but sharing it may amount to dissemination, and the warnings from Microsoft and the FBI make it harder for anyone who shares it to claim they could not foresee the consequences. A company whose employee runs the tool on its network must assess a data breach under Section 37 of the PDPA. The article also sets out a 10-step defence plan based on the attack methods Microsoft documented, from hunting down keys leaked on GitHub to a 72-hour breach notification plan.

Questions this article answers

  • If I fork ARTEX into my own GitHub account as a public repository, does that count as dissemination?The risk is high, because a public fork lets other people download the tool directly from your account. In my view that is much closer to dissemination than to keeping a copy for your own use.
  • If I use ARTEX to test my own company's website, whose permission do I need?You need written permission from someone with authority on behalf of the system owner, and you should also check the terms of the cloud or hosting provider. Being an employee does not mean you are authorised to break into the system.
  • Can an offence under the first paragraph of Section 13 be settled by paying a fine?Yes. Section 17/1 allows a settlement committee appointed by the Minister to settle offences under the first paragraph of Section 13. Once the fine is paid in full within the set time, the case is closed.
  • Can a Thai national who shares ARTEX with someone abroad be prosecuted in Thailand?Yes. Section 17 allows a Thai national who commits an offence under the Computer Crime Act outside the Kingdom to be punished in Thailand, if the government of the country where the offence took place or the injured party requests punishment.
  • Where should a small company with no security team start defending against ARTEX?Start by scanning your code for leaked keys and API keys and replacing them immediately, and turn on MFA for administrator accounts. Microsoft found that searching GitHub for keys is one of the first things ARTEX does.

AI-assisted summary reviewed by the author · read the full article for details and sources

Translated from the Thai original. The Thai version prevails if there is any difference. Thai original →

Picture an IT officer at a company (a hypothetical example). He reads that an AI hacking tool called ARTEX is being used to attack companies around the world. He searches GitHub, finds dozens of copies, downloads one and tries it against his own company’s website late at night. Then he sends the zip file to a LINE group of former classmates with the message “Powerful stuff, give it a go.”

Under the Computer Crime Act, downloading ARTEX and keeping it is not yet an offence. But the two things he did next may each breach a different section. Sending the file to the group may count as “dissemination” under Section 13, and attacking the company’s website without a letter of authorisation may be unlawful access under Sections 5 and 7. What people in the industry rarely talk about is this: the louder Microsoft and the FBI warn about ARTEX, the harder it becomes for anyone who passes it on to claim they did not know.

The creator deleted the code, but ARTEX never left GitHub

ARTEX was published on GitHub in July 2026 by a user called Autumn-27 as a penetration testing framework. The user connects it to a language model, such as one from Anthropic or DeepSeek, and ARTEX then creates several agents that split up the work of breaking into a system. TechLawNow has already covered the attacks on banks in Hackers used ARTEX and Claude Code to breach South Korean banks. That article was written from the banks’ side. This one is written from the side of the people holding the code.

In October 2026 the creator removed ARTEX from GitHub with a note saying that using it for attacks was “entirely counter to my original intent”. But 404 Media reported on 23 November 2026 that many people were still handing out the code for anyone to download. On 26 November 2026 The Register reported that Microsoft had found hacking groups linked to China and North Korea using ARTEX to attack cloud systems and financial institutions, with some campaigns gaining high-level privileges in under 3 hours, and that Infrawatch had counted more than 130 modified versions still in circulation. In other words, deleting the original did not make the tool disappear.

The fact that should make Thai readers stop is in Microsoft’s report dated 6 November 2026. A financially motivated group that Microsoft calls Storm-3358, based in Cambodia, has used ARTEX mainly against financial institutions in Southeast Asia. The report does not name Thailand, but the region being targeted is ours.

Keeping a copy is not a Section 13 offence, but sharing it is another matter

The first paragraph of Section 13 of the Computer Crime Act punishes anyone who “sells or disseminates” a set of computer instructions developed specifically to be used as a tool for committing offences under Sections 5 to 11, such as unlawful access to a system. The penalty is imprisonment of up to 1 year, a fine of up to 20,000 baht, or both. Section 13 contains no words about possessing or downloading, so Thai law does not punish simply downloading the tool and keeping it on your machine.

What Section 13 catches is passing it on: uploading the code to your own public GitHub account, sending the files to a chat group, or selling a version with the menus translated into Thai. Many people believe “I didn’t attack anyone, I only shared it, so it’s not an offence”. The reality is that sharing is exactly the conduct Section 13 describes most directly.

Is ARTEX a tool made “specifically” for crime, or a testing tool?

The words “developed specifically” are where a case is won or lost. One side will argue that ARTEX was launched as a penetration testing framework, and that Microsoft itself says ARTEX contains no new attack techniques and only makes existing techniques faster. If dual-use tools were an offence, the entire penetration testing industry would be committing one too.

The other side will look at what the shared version was designed to do. With more than 130 modified versions, nobody knows who changed what, so they do not share the status of the original whose creator declared his intent. In my view a Thai court will not decide on the tool’s name. It will look at the version actually shared, together with the context. A file sent to an ordinary chat group with a message inviting people to try it against websites is much harder to defend as a testing tool than a file a security team keeps inside its internal systems.

Section 3 of the Computer Crime Act does not define “disseminate”, and I have not found any judgment that can be verified from an official source on whether sending a link counts. I separate it into two levels. Sending the program files themselves to a group is clearly dissemination. Sending a link to someone else’s repository carries a lower risk, but not zero, because members of the group still get the tool in a single click. If you add instructions for using it against a target website, the difference between a link and a file all but disappears.

Microsoft’s warnings can mean a heavier penalty for those who share ARTEX

The third paragraph of Section 13, added by the 2017 amendment, provides that if the person who receives the tool uses it to attack a system under Section 12, the disseminator must also bear the penalty for that more serious offence, where the disseminator “knew or could have foreseen” that result. Section 12 covers attacks on systems related to national security, public safety, economic security or infrastructure serving the public interest. The penalty under its first paragraph is imprisonment of 1 to 7 years and a fine of 20,000 to 140,000 baht.

Whether banking or telecommunications systems fall under Section 12 is for the court to decide case by case. But the question “could it have been foreseen?” gets easier to answer with every public report. 404 Media cited an FBI warning that ARTEX users have attacked the government, healthcare, telecommunications, defence and financial sectors. In my view anyone who passes ARTEX on after these reports will find it very hard to argue that they never thought it might be used against critical systems.

The line between a penetration tester and an offender

Running a hacking tool is not an offence in itself. What makes it an offence is the target. Section 5 punishes unlawful access to a computer system protected by access measures, with imprisonment of up to 6 months or a fine of up to 10,000 baht. Section 7 punishes the same kind of access to computer data, with imprisonment of up to 2 years or a fine of up to 40,000 baht. The word “unlawful” is exactly what a letter of authorisation from the system owner removes.

The risk therefore follows the target. Running it in your own lab, on a virtual machine with no internet connection and no real data, means nobody’s system is accessed. Testing a client’s systems under a scope letter carries low risk as long as you stay within the agreed scope and time window. But an employee who attacks their own company’s systems without anyone’s permission, or someone who attacks another person’s website “just to see if it really works”, falls under Sections 5 and 7, and if data is altered or damaged, potentially Section 9 as well.

Where IT people most often go wrong is in assuming that being an employee means being authorised. Login rights to do your job are not a right to break into the system. A letter of authorisation that actually works must be signed by someone with authority on behalf of the system owner and must specify the IP addresses or domains, the time window, the methods to be used and what is prohibited, such as pulling out customer data.

Other countries write this law more broadly than Thailand

Issue Thailand, Section 13 UK, CMA s.3A Germany, StGB §202c
Prohibited conduct Selling, disseminating Making, adapting, supplying, offering to supply, obtaining Producing, procuring, selling, supplying, disseminating, making accessible
Downloading and keeping Not in the statute An offence if obtained for use in an offence or to supply to someone who will commit one An offence if procured in preparation for spying on or intercepting data
Maximum penalty 1 year in prison or a fine of 20,000 baht 2 years in prison or a fine 2 years in prison or a fine

This means a Thai national who downloads ARTEX to study it on their own machine has more room under the statute than someone in the UK or Germany. But Section 17 allows a Thai national who commits an offence under the Computer Crime Act abroad to be punished in Thailand, if the government of the country where it happened or the injured party requests it.

The impact on Thai people, companies and the security industry

For students and IT people who want to try it out, the most immediate risk is not being arrested for downloading. It is accidentally attacking a real target to prove the tool works. AI agents carry out many steps on their own. If the target is set too broadly, the agent may go further than intended, and the target’s logs will point back to the user’s IP address, not to the AI.

For a company whose employee runs ARTEX on its network, the problem has two layers. First, in my analysis, if ARTEX is connected to a model from an external provider, whatever the agent reads, such as customer tables or passwords in configuration files, may also be sent out to that provider. Second, nobody can vouch for what might be hidden inside a modified version that did not come from the original creator.

Section 37(1) of the PDPA requires a data controller to have appropriate security measures and to review them when technology changes. The company will immediately be asked how it allowed an employee to run a hacking tool on a network holding customer data. If personal data is accessed or sent out, Section 37(4) requires notification to the Office of the Personal Data Protection Committee (PDPC Office) within 72 hours of becoming aware of the breach, unless there is no risk to the rights of data subjects. The fact that the person who did it was an employee does not exempt the company from its duty, the same principle as in Emailing work files to yourself before you quit: is it illegal?

For people who have already downloaded it, the safe course is to keep it on a virtual machine isolated from the work network and holding no real data. Do not upload it, do not make a public fork, do not send the files or instructions to chat groups, and test only systems for which you hold a letter of authorisation signed by someone with authority. If you have already passed it on, stop, and write down what you sent, to whom and when.

How to defend against ARTEX, step by step

In its report for defenders dated 25 November 2026, Microsoft concludes that ARTEX has no new attack techniques. What has changed is speed. In its report dated 5 November 2026, one agent went from searching GitHub for leaked keys to extracting data from a cloud key vault in 5 minutes. That means the doors organisations already know they should close now have to be closed before the agent gets there, not on the schedule of an annual audit.

In my view, as a legal matter, Section 37(1) of the PDPA requires data controllers to review their security measures “when technology changes”, and ARTEX is precisely that change. A company that has reviewed nothing after several public reports will struggle to explain itself to the PDPC Office if an incident occurs. The steps below follow the attack methods Microsoft has documented. Each step says what to do and what “done” looks like.

Step 1: Hunt down keys leaked in your code, then replace them all

Microsoft found that since August 2026 attackers have used ARTEX to search GitHub for target organisations’ names combined with words such as key or password, looking for app credentials, passwords and API keys for AI services. Have your IT team scan every company repository, including .env files, scripts and the personal repositories employees have used for work. Common examples in Thai companies are API keys for accounting systems, for LINE Official Accounts or for AI chatbots embedded in website code.

Any key you find must be replaced and the old one revoked immediately. Removing it from the code alone is not enough, because it remains in the commit history and in copies other people have kept. Microsoft notes that a key leaked to the public remains usable until it is revoked. Then check back on where the old key has been used from. Done when every key found has been revoked, there is a record of who replaced it and when, and its usage history has been reviewed.

Step 2: Put up checkpoints so keys do not leak again

Turn on GitHub’s secret scanning and push protection in every repository in your organisation. Push protection blocks code containing keys in formats the system recognises before it ever reaches GitHub. Move keys into a cloud secrets manager instead of writing them in code, set a maximum lifetime for keys, and use short-lived credentials instead of permanent keys where possible. Done when scanning is enabled on every repository and a named person is responsible for watching the alerts.

Step 3: Inventory everything exposed to the internet, and close or patch it first

ARTEX starts by scanning ports, services, subdomains and API documentation, then tries well-known web vulnerabilities such as SQL injection, file upload endpoints and authentication bypass. Microsoft reported that Storm-3358 got in through a file upload endpoint that required no login and through an SSRF vulnerability. Draw up a list of your domains, subdomains, IP addresses and forgotten test servers. Shut down what you do not use, patch internet-facing systems before internal ones, and close upload pages that require no login. If you have a WAF, switch it from detection mode to prevention mode after tuning, and turn on rate limiting and bot protection. Done when every item on the list has an owner and no critical vulnerability remains open on any internet-facing system.

Step 4: Shut down password guessing

In one Storm-0940 campaign, Microsoft counted more than 151,000 failed logins, peaking at 2,900 per minute. Numbers like that mean easily guessed passwords will be tried in full in very little time. Enforce MFA on every account, and require phishing-resistant MFA, such as passkeys or FIDO2 security keys, for administrator accounts. Disable sign-in through legacy protocols that do not support MFA, ban easily guessed passwords such as the company name followed by a year, and set accounts to lock after repeated failed attempts. Done when the report of accounts without MFA shows zero, except accounts with a reason approved in writing.

Step 5: Cut the permissions of service accounts and connected apps

Microsoft found that the agent used leaked app credentials to sign in as a service account, then worked through reading storage keys and connection strings. Storm-0940, meanwhile, reached downstream customers through third-party OAuth apps those customers had already consented to. Make a list of every app connected to your company’s Microsoft 365, Google Workspace or cloud. Remove apps you do not use, reduce permissions to only what the work requires, restrict who can register apps or grant consent to them, and give administrator rights with an expiry time. Thai companies that use an outside IT provider to manage their systems should also check what rights that provider holds in their systems. Done when every app and service account has an owner and a reason, and none has more permissions than its job requires.

Step 6: Lock down servers and allow outbound traffic only where necessary

Once inside, ARTEX plants a web shell and reads .env files, private keys and the system’s password files. Storm-3358 used commands to download and install remote control software. Install EDR on every internet-facing server, including Linux machines. Set alerts for when a web server process opens a shell or a download program, when a new script file appears in a web folder, and when key files are read in rapid succession. Then restrict servers so they can connect out only to necessary destinations (an egress allow-list). Done when there is a written list of permitted destinations, and outbound connections outside that list are blocked and logged.

Step 7: Set alerts for behaviour faster than any human

Microsoft says the most reliable signal is behaviour, because IP addresses and the program name sent with requests (the user agent) are easy to change. The default names Microsoft has published, artex-enrich and norma, can be used to search your logs, but you should not rely on them alone. Set alerts for a large number of varied requests from a single source in a short time, failed logins followed by a success, a single IP signing in to multiple service accounts, a single app requesting tokens for multiple services within a few minutes, and unusually large file downloads.

Microsoft also warns that finding nothing does not mean you are safe if you were not keeping the logs you need. Check that sign-in logs, application logs and web server logs are actually being retained. If your company qualifies as a service provider under Section 26 of the Computer Crime Act, it must already retain computer traffic data for at least 90 days. Done when the alerts have been tested and someone actually receives them, including outside working hours.

Step 8: Ban unapproved agent tools on company machines

This step is the author’s own recommendation, to close the risk described in the legal section above. Write a policy on testing tools that sets out who may use them, on which machines and with whose approval. Turn on application control so that only approved programs can run on machines with access to customer data, and block connections from those networks to AI services the company has not approved. Microsoft further recommends that testing teams agree in advance how they will handle any leaked key they find that is not their own. For guidance on minimum security measures, see the guide to minimum security measures under the PDPA. Done when employees have signed to acknowledge the policy and the system raises an alert whenever an unlisted program runs.

Step 9: Set traps for the agent to walk into

Microsoft reports that honeypots, decoy systems, delayed responses, fake success signals and fake keys (honeytokens) help reduce the attacks that reach real systems and give fairly reliable alerts, because people doing normal work have no reason to touch anything fake. A small company can start with one fake key set to alert the moment someone uses it. A bank with a SOC team can deploy decoy systems that mimic its real ones. Done when at least one trap is connected to alerting and the alert has been tested and works.

Step 10: A 1-hour, 24-hour and 72-hour plan

In the first hour after discovering an incident, revoke sessions and tokens for the affected accounts, delete every secret and certificate of the app that was used, including any the attacker added, and replace every key in the vaults that app could read. Microsoft warns that tokens already issued remain valid until they expire, so keep monitoring even after deleting the keys. Within 24 hours, assess whether personal data was accessed. Within 72 hours of becoming aware of the incident, notify the PDPC Office under Section 37(4) of the PDPA if there is a risk to data subjects. For a real example of a breach notification, read H.I.S. Thailand hacked: passport data may have leaked.

Time frame Small company with no security team Bank or large organisation
Within 24 hours Scan code for keys and replace leaked ones (Step 1); turn on MFA for administrator accounts (Step 4) Do Step 1 and search past logs for the behaviour described in Step 7
Within 7 days Inventory internet-facing systems, shut down unused ones and patch (Step 3); remove unused apps (Step 5) WAF in prevention mode, egress allow-list, phishing-resistant MFA for administrators, and review of outside providers’ permissions (Steps 3 to 6)
Within 30 days Write a testing tool policy (Step 8) and rehearse the 72-hour plan (Step 10) Set traps (Step 9), commission a penetration test under a scope letter, and record the review of measures under Section 37(1) in writing

I believe ARTEX will not be the last. 404 Media says Google’s team has already found other multi-agent frameworks, such as CAIRN and PentAGI. The steps above are therefore not tied to the name ARTEX. They are tied to what every agent has to do: find leaked keys, guess passwords and move at a speed no human can match. Thai organisations that complete them will also be ready for the next tool. For the national picture of cyber risk, read NCSA releases Thailand’s 2026 cyber risk report.

If it has already happened, what should you do?

If you are a company that has discovered an employee running ARTEX on your network, disconnect that machine from the network, but do not shut it down or delete files. Have a specialist make a forensic copy first. Preserve firewall logs, sign-in logs and records of outbound connections to external AI services, then assess whether personal data was accessed. If there is a risk, notify the PDPC Office by email at saraban@pdpc.or.th with the subject line “[การแจ้งเหตุการละเมิดข้อมูลส่วนบุคคล]” (“personal data breach notification”) followed by the company’s name, as set out in the Office’s notification dated 15 January 2025. Enquiries can be made on 0 2111 8800 ext. 3 during government office hours.

If you own a system that was attacked, preserve all access logs and source IP addresses. File a police report online at thaipoliceonline.go.th and report the incident to ThaiCERT at thaicert.or.th. If customer data is involved, start counting the 72 hours from the moment you became aware of the incident. Do not wait for the police to conclude who did it.

If you have shared the files and are summoned for questioning, do not delete your chat history after receiving the summons, because it may be seen as destroying evidence. An offence under the first paragraph of Section 13 can be settled by the settlement committee under Section 17/1, and once the fine is paid in full within the set time, the case is closed. Consult a lawyer before giving a statement.

If you have tried every step above and there is still truly no one who can help, I am willing to give brief, interim guidance so you can see a correct and clear legal path. Contact me on LINE @106nlopr. I want to stress that this is not advertising to earn income. It is a last resort for people who genuinely have no one else to turn to, and you must try every method recommended above first before I can help further.

QR LINE
A last resort, when no one else can helpScan with your phone, or tap to open LINE

Expert view

I do not think the right answer is to forbid Thai people from touching tools like ARTEX at all. People who defend systems need to understand what attackers use, and Thai statute leaves room for study on your own machine. What has changed is speed. When an attack can gain high-level privileges in under 3 hours, a single experiment without a defined scope can cause real damage. The line between a penetration tester and an offender is not drawn by the tool they use. It is drawn by the letter of authorisation the system owner has signed.

Points not yet confirmed: there is no verifiable judgment on whether sending a link counts as dissemination, and the analysis that data may be sent to the model provider is the author’s own opinion, not a finding in the reports by Microsoft or 404 Media.

The line between a penetration tester and an offender is not drawn by the tool they use. It is drawn by the letter of authorisation the system owner has signed.

Key points

The creator deleted the code, but the copies remain

A user called Autumn-27 published ARTEX on GitHub in July 2026 and removed it in October 2026. On 26 November 2026, however, The Register reported that Infrawatch had counted more than 130 modified versions.

Keeping a copy is not a Section 13 offence, but sharing it is risky

Section 13 punishes those who sell or disseminate a set of computer instructions developed specifically to be used to commit offences. It does not punish possession, unlike Germany, which punishes even procuring such a tool in preparation for an offence.

Warnings from Microsoft and the FBI raise the stakes for anyone who shares it

The third paragraph of Section 13 imposes a heavier penalty on the disseminator if the recipient uses the tool to attack a system covered by Section 12 and the disseminator knew or could have foreseen that result. With public reports that the tool has been used against financial institutions, a claim of ignorance gets weaker.

An employee running it on the company network is a PDPA issue too

ARTEX works by connecting to a language model, such as one from Anthropic or DeepSeek. If the agent reads customer data during testing, the company must assess whether a data breach has occurred and, if there is a risk to data subjects, notify the PDPC Office within 72 hours under Section 37(4).

It can be defended against, because ARTEX has no new techniques

Microsoft says ARTEX uses existing techniques, only faster than a human. Defence therefore means closing the doors you already know about before the agent reaches them: replacing leaked keys, enabling secret scanning, enforcing MFA, cutting app permissions, controlling servers' outbound connections and setting up behavioural alerts.

Sources

  1. Computer Crime Act B.E. 2550 (2007), as amended by the Computer Crime Act (No. 2) B.E. 2560 (2017) (Royal Gazette Vol. 134, Part 10 Kor, 24 January 2017), Sections 5, 7, 9, 12, 13, 17, 17/1, 26 (primary source)
  2. Personal Data Protection Act B.E. 2562 (2019), Sections 37(1) and 37(4) (primary source)
  3. Notification of the Office of the Personal Data Protection Committee on electronic channels for notifying personal data breaches (15 January 2025) (primary source)
  4. UK Computer Misuse Act 1990, section 3A (primary source)
  5. Strafgesetzbuch (StGB) § 202c (primary source)
  6. Microsoft Threat Intelligence: What defenders need to know about ARTEX (25 Nov 2026)
  7. Microsoft Threat Intelligence: Threat actors use agentic AI tooling to find and abuse exposed secrets (5 Nov 2026)
  8. Microsoft Threat Intelligence: ARTEX abuse expands as cybercriminals target financial sector (6 Nov 2026)
  9. 404 Media: 'The Code Is Already Copied Everywhere': The AI Hacking Tool Causing Havoc Around the World (23 Nov 2026)
  10. The Register: Microsoft: Hackers in China, N Korea using ARTEX AI tool to break into global tech systems (26 Nov 2026)
Thai tech-law updates

Follow new articles

Free to read, no sign-up. Pick your channel.