Check a recruitment repository before running it
A practical checklist for developer interview repositories: verify the sender, inspect execution paths and protect credentials before running unfamiliar code.
TL;DR
- Verify a recruitment request through an independently obtained contact route.
- Read the repository and its execution instructions before installing or running it.
- Keep unfamiliar interview code away from wallets, tokens and your everyday development environment.
- If you suspect execution or credential exposure, stop and use your organization's incident process.
A developer recruitment repository is executable content
An interview exercise can ask you to clone a project, install packages and run a local app. Those familiar steps can also execute code. A professional-looking message, a real company name or a repository with a long history does not establish that the particular request is genuine or safe.
This checklist helps you make a decision before execution. It does not certify a repository or replace a proper incident investigation. It pairs with the Defense course, which covers security decisions around wallets, teams and developer workflows.
Verify the person and the request separately
Find the company's official contact route independently of the message. Confirm that the role and exercise exist and that the sender is authorized to provide them. A link supplied by the sender is evidence to check, not an independent confirmation.
Check the exact repository URL, its owner and the commit you have been asked to use. Look for discrepancies between the exercise description and the code. Pressure to disable protections, provide a seed phrase, connect a funded wallet or install an unexplained extension is a reason to stop the process.
Do not ask a community to investigate by running the code on their own machines. Share the public reference and your concern, without forwarding credentials or private recruitment correspondence.
Read the execution paths before installation
Inspect the README, package manifest, lockfile, setup scripts, editor tasks and any commands you are asked to paste. Trace commands that download another file, start a shell, read local directories or send data to a remote endpoint. A harmless-looking entry point may import another file that performs the action.
For npm projects, installation can run package lifecycle scripts. The official npm configuration reference explains the ignore-scripts setting. It can prevent install-time scripts, but explicitly invoking commands such as npm run still runs the intended script. It is not a general sandbox and does not make subsequent execution safe.
Do not assume that reviewing only the top-level manifest covers every dependency or later download. If you cannot establish what the exercise needs to execute, ask for a smaller reviewable task or a supervised alternative.
Separate the environment and the secrets
Use an appropriately isolated environment for approved testing. Keep it separate from your normal browser profile, wallet extensions, SSH keys, cloud credentials and work files. A directory with a different name on your usual machine is not an isolation boundary.
Check what is shared with the environment: mounted folders, clipboard access, forwarded agents, environment variables and network access. A container with sensitive host mounts or a forwarded credential agent can still expose things you intended to protect. Choose controls with someone who understands the environment if that is outside your experience.
Never use a real seed phrase or a funded wallet for an interview exercise. If a legitimate task needs blockchain interaction, agree on a safe test setup and clear scope first.
Decide what would make you stop
Write your stop conditions before opening the exercise. Examples include an unexplained request for a token, a script unrelated to the stated task, unexpected access to personal directories or pressure to bypass a protection.
Your decision record can be short:
| Check | Evidence to retain |
|---|---|
| Sender verified | Independent route and date of confirmation |
| Target fixed | Exact repository and commit |
| Execution understood | Commands and files reviewed, with remaining unknowns |
| Environment separated | What is accessible and what is deliberately unavailable |
| Stop conditions agreed | Who to contact and which actions end the exercise |
Unknowns are not automatically malicious. They are reasons to clarify before execution, especially when access to valuable credentials is involved.
If you already ran something suspicious
Stop following instructions from the same source and use a trusted device or communication route to get help. Follow your organization's incident response procedure. Preserve relevant message and repository references without continuing to execute the project.
Review potentially exposed credentials and sessions with the appropriate owner. GitHub's security log event reference helps identify relevant account events, but a quiet log is not proof that nothing was exposed. Avoid improvised cleanup that destroys evidence before an incident responder can assess it.
Practice before the next interview
Choose a harmless repository you own and map the commands that would execute during setup. Identify which credentials your usual environment makes available, without sharing their values. Write the safer alternative you would use for an unfamiliar task.
Then use the Defense course questions to explain your reasoning. The goal is a repeatable decision process, not a claim that every scam has the same appearance. For code-focused practice, see turning a security video into a regression test.
Related questions
Does skipping install scripts make a repository safe? No. It reduces one execution path. Running the app, tests, editor tasks or another explicit script can still execute untrusted code.
Is a private repository safer than a public one? Access visibility does not establish the safety of its code or the identity of the person requesting execution.
Can I take the Defense course for free? Yes. Join the free Academy community on Whop to access the Whop course. No paid Insiders membership is required.
Tagged