live · scanning repos
Scanrepo
All guides

How to check a coding take-home before you run it

Verify the recruiter through the company’s own channels. Open the repository in your browser and inspect the install and startup instructions. Paste the public repo URL into ScanRepo to get a static report before you run the project.

Verify who sent the assignment

Find the role on the company’s careers site. If the recruiter sends a repo from a personal account, ask a company contact to confirm the GitHub or Bitbucket account and the assignment link.

Microsoft documented recruitment campaigns where an apparently routine developer assignment delivered malware through a repository or its dependencies. A plausible interview and a familiar tech stack can be part of the setup.

Read what runs before the app starts

In a Node project, open package.json and look at preinstall, install, postinstall, and prepare. Follow any local scripts those entries invoke. Review workspace tasks and dev-container configuration before trusting the workspace in your editor.

Look for scripts that download and run code, versions that change between installs, and requests for tokens or wallet access unrelated to the exercise. Ask for an explanation or a reviewable alternative when the instructions depend on a remote script.

Decide what you can verify

Scan the public repository and check the reported commit and coverage. Review the files named in the result in your browser.

If the company confirms the assignment and you decide to run it, use an isolated environment without your host’s credentials, wallet, or mounted home directory. If the setup still depends on code you cannot inspect, ask for another way to complete the exercise.

Sources