When you join an AI hackathon, you sometimes team up with people you've just met and build an app or an AI agent together.
You share code on GitHub, send each other materials in messages, and work while showing your computer screen. Since it's collaborative development, some sharing of information is absolutely necessary, right?
But there's something I've always wondered about.
When you build with people you've just met, how much is okay to share? And conversely, where should you hold back?
If you're wary of everything, you can't do team development at all. But there's no need to share the accounts you use every day or your business data.
This time, I thought about security for protecting AI hackathon participants themselves.
First, let's sort out what we're sharing
I divided common situations in collaborative development into three levels, in my own way.
| What you share / what you do | Level of caution | What I would do |
|---|---|---|
| Your public GitHub username | Low | Tell your teammates |
| Communication on Discord, Slack, etc. | Low | Use a channel for the project |
| Project plans and dummy data | Low | Check what's okay to share, then hand it over |
| A shared GitHub repository | Medium | Invite them to a dedicated repository |
| Running code someone else wrote | Medium | Check what it does and what permissions it runs with |
| Sharing your computer screen | Medium | Show only the windows you need |
| Venue Wi-Fi and file transfers | Medium | Confirm the right network and the right recipient |
| API keys and cloud credentials | High | Use dedicated credentials with only the minimum necessary permissions |
| Personal passwords and authentication codes | High | Don't share them |
| Remote control of your computer or administrator privileges | High | Don't allow them casually |
| Your own business's production accounts and customer data | High | Keep them separate from the development environment |
This isn't an official risk classification. It's a guide for thinking about how careful to be at a hackathon. Even where the level is low, it doesn't mean it's fine to send secret information or open links you don't recognize.
Is it okay to give someone your GitHub account?
Telling someone your public GitHub username, or inviting members to a hackathon repository, is a normal part of collaborative development.
What matters here is that sharing an account is different from granting access to a repository.
For example, say you use GitHub regularly and manage several projects.
If you create a new repository for the hackathon and invite your teammates only to that repository, that alone doesn't normally let them see your other private repositories.
On the other hand, if you hand over your login password or an access token, or make someone an administrator of your whole organization, you may be giving more access than necessary.
GitHub has features for separating permissions such as viewing, writing, and managing in an organization's repositories. The types of permissions you can set differ from those for personally owned repositories, so check that too. [1][2]
It's also reassuring to discuss up front within the team whether the shared repository will be public or private, who holds the rights to what you build, and when you'll release it.
Be especially careful when sharing API keys!
When developing apps with AI, we often use APIs for AI models, databases, and external services.
An API key may look like a plain string, but it's a credential that lets someone use that service or access data.
For example, if you give the team an API key for an AI service you use in your own business, then depending on the settings, you could end up with unexpected usage charges on your own account.
Here's what I'd prioritize:
- Create a dedicated project or development environment for the hackathon
- If possible, issue credentials for each member and grant access in a way the service allows
- Limit the available features, target resources, and period to the minimum necessary
- Check usage and billing, and set budget caps or alerts if the service lets you (alerts alone may not stop usage)
- Don't write secret keys directly in chats, public code, or GitHub commits
- Use the secrets management features the service provides
GitHub's official documentation also recommends limiting the permissions and expiration of tokens to what's needed. [3]
By the way, putting keys in .env and excluding it with .gitignore is useful, but it isn't a cure-all. Information that has already been committed to Git isn't removed automatically, and code running on your computer may be able to read it.
If you accidentally share a key, don't stop at deleting the file or message. It's important to revoke the key and reissue it if necessary. [4]
Why I didn't connect my own Amazon Seller Central
When I took part in the Vietnam Japan AI Hackathon, I was developing an AI agent to support Amazon inventory management.
At that time, a teammate asked me to connect an API to my own Amazon Seller Central account.
But I declined. Instead, we developed using a Sandbox.
This isn't a story about not trusting the other person.
I wanted to treat the permissions for building an app at a hackathon and the permissions to access the business I actually run as two separate things.
Amazon's Selling Partner API (SP-API) also provides a Sandbox environment for testing without affecting production data. [5]
You can sometimes verify features with a test environment or dummy data without connecting to a real account right away. Of course, there are limits to what you can check in the Sandbox, and some things may need separate verification in the production environment.
If you keep operations that affect your business separate, you can focus on team development with peace of mind.
Is it okay to run code sent by a teammate right away?
Since it's collaborative development, there will probably be times when you run code another member wrote on your own PC.
But receiving code and running code are different things.
Depending on the program you run, it may be able to access files and environment variables stored on your PC. Installing packages or configuring development tools can also cause scripts to run automatically.
So I want to avoid suddenly running a script whose contents I don't understand, or granting administrator privileges without knowing why.
For example, VS Code has a feature called Workspace Trust, which restricts things like automatic code execution in projects you don't trust. [6]
If you can't judge the contents yourself, you can ask them to explain the purpose, review the code before proceeding, or use an isolated development environment with no important information in it. Creating a dedicated folder helps with organization, but on its own it doesn't prevent access to other folders.
The same goes when you let an AI agent run code. It's important not to approve every operation you don't understand, or more permissions than necessary, just because you're in a hurry.
Venue Wi-Fi, screen sharing, and managing your computer
Hackathons come with their own kinds of security concerns.
There's no need to be afraid of using the venue's Wi-Fi itself. But check the official network name the organizers announced, and don't connect to Wi-Fi you don't recognize. When using public Wi-Fi, IPA also recommends turning off your PC's file sharing. [7]
When handling important information, using your smartphone's tethering is another option.
When sharing your screen, it can be better to show only the windows you need rather than the whole desktop. That makes it easier to avoid accidentally exposing email or message notifications, a password manager, or your business admin screens.
Also, lock your screen when you step away. Don't leave your PC or smartphone unattended. Don't plug in USB drives you don't know. Turn off short-range file receiving and remote control features you don't need.
None of this requires special skills. They're just small habits.
Conversely, you don't need to worry about this much
After reading this far, you might start to feel that even joining a hackathon is scary.
But exchanging public GitHub profiles with teammates, chatting on Slack, and co-editing a project proposal are all very normal parts of collaborative development.
Joining with the PC and GitHub account you normally use isn't immediately dangerous in itself. I don't think you need to buy a separate PC or recreate every service account. However, if you handle information from your employer or similar, you need to follow that organization's rules.
Share the information that's needed with the people who need it, within an appropriate scope. Keep important data and permissions unrelated to the project separate.
If you keep that in mind, you can enjoy team development without being overly wary, I think.
Checklist for before, during, and after a hackathon
Here's a checklist I made that I want to use myself the next time I join a hackathon.
| Timing | What to check |
|---|---|
| Before | Update your PC and apps. Set up multi-factor authentication and don't reuse passwords. [8] |
| Before | Prepare a work environment, repository, and test data for the hackathon |
| During | Check who you're sharing with and their access permissions, and don't hand over secret credentials directly |
| During | Check what unknown code does, or what an external app is asking for, before running it or granting it permissions |
| During | Keep production accounts and customer data separate from the development environment |
| After | Review repository and cloud access permissions to match your plans for future joint development |
| After | Disable API keys, tokens, and external app permissions you no longer need, and check billing and deployments |
| After | Confirm with the team the scope in which you'll publish or store what you built, and which data you'll keep using |
Just because the hackathon is over doesn't mean the permissions you granted or the API keys you issued are automatically disabled. Removing access doesn't erase files or copies that have already been shared, so what you share in the first place is what matters.
If you plan to keep developing with the team, you don't need to remove the permissions you still need. Review them so they fit everyone's future roles.
Trust and access permissions are separate matters
Every time I join an AI hackathon, I meet new people and feel the joy of building together.
That's exactly why I think it would be a shame if being security-conscious made interacting and developing together harder.
Trusting someone and giving them access to all your systems are separate matters.
It's enough to sort out the information you want to protect and the information the team needs. This is the same no matter whose nationality or experience you're teaming up with.
Share what's needed, and keep apart what isn't.
With that kind of distance, I'd like to keep joining AI hackathons with peace of mind!
References
- GitHub Docs: Repository roles for an organization
- GitHub Docs: Permission levels for a personal account repository
- GitHub Docs: Keeping your API credentials secure
- GitHub Docs: Secret leakage risks
- Amazon Selling Partner API: Developer onboarding and Sandbox
- Visual Studio Code: Workspace Trust
- IPA: Security precautions when working remotely (Japanese)
- IPA: Special page on countermeasures against unauthorized logins (Japanese)
This article is a general reflection based on public materials as of November 21, 2026 and my own experience. It doesn't guarantee the safety of any particular environment. Please check service specifications and terms, and the rules of your organization and the event organizers, before using anything.