AST-Based Security Verification

Verify security
before you clone.

GitScout inspects external codebases for lifecycle hooks, key harvest exploits, and obfuscated payloads before they touch your local environment.

live-analysis.log LIVE MONITOR
[09:47:18] Initialising GitScout AST Core...
[09:47:19] Ready for repository analysis.
Terminal Quick Audit

Scan Before You Install

Cloned a repo and not sure if it's safe? Run one command before npm install to audit the entire codebase for malicious scripts, credential theft, and supply-chain attacks.

1

Clone any repository

git clone https://github.com/some-user/sketchy-lib
2

Enter the project and scan it

cd sketchy-lib
bunx gitscout-cli .

No install needed — bunx runs it instantly in a sandbox.

3

Review the verdict, then decide

If GitScout flags threats — inspect them. If it's clean — npm install with confidence.

terminal — gitscout-cli
$ cd sketchy-lib
$ bunx gitscout-cli .
🛡️ GitScout Static Code Auditor
Analysing 38 code files...
[CRITICAL] Lifecycle postinstall exfiltrates env variables
Location: package.json → scripts.postinstall
[HIGH] process.env dump detected in lib/telemetry.js
Location: lib/telemetry.js:14
[MEDIUM] Obfuscated base64 eval chain
Location: src/utils/loader.js:7
Verdict: DANGEROUS CODEBASE (23/100)
Rating: █████░░░░░░░░░░░░░░░
Critical:1 High:1 Medium:1 Low:0
⚠ DO NOT install this package.
Also works with: npx gitscout-cli . · bunx gitscout-cli owner/repo · gitscout-cli . -json