Agents Lookup

Use cases / Decision models (Jev)

Check a codebase for malicious code before you run it

Before installing or running an unfamiliar repo, have Jev answer yes/no risk questions about its install scripts and suspicious files.

DifficultyIntermediate
Setup time2-3 hours
CategoryDecision models (Jev)

The use case

Developers clone repositories and install packages they have never read, and supply-chain attacks hide in install scripts and obfuscated files. This scanner walks the code and asks Jev typed yes/no questions about the risky spots, such as whether a script sends data to an outside host or downloads and runs something. Flagged files are listed with the reason so a person can read them. It adds a cheap first look, not a guarantee: a developer still reviews anything flagged and should run unknown code in a sandbox or container.

Example workflow

  1. Clone the repository into a sandboxed folder
  2. List install scripts, post-install hooks and obfuscated files
  3. Ask Jev Noul questions on each about network calls and code execution
  4. Show flagged files with reasons in the terminal
  5. A developer reads flagged code and runs it only in a container

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: