Skip to content
/ Trojan Public

agentic vulnerability testing platform | nwHacks 2026

Notifications You must be signed in to change notification settings

jkuo630/Trojan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trojan

nwHacks 2026

Multi-agent security vulnerability scanner.

Quick Start

1. Install Dependencies

npm install

2. Start the Development Server

npm run dev

The server will start at http://localhost:3000

3. Test the API

Option A: Using curl

curl -X POST http://localhost:3000/api/clone \
  -H "Content-Type: application/json" \
  -d '{"githubUrl": "https://github.com/vercel/next.js"}'

Option B: Using a REST client (Postman, Insomnia, etc.)

  • Method: POST
  • URL: http://localhost:3000/api/clone
  • Headers: Content-Type: application/json
  • Body:
{
  "githubUrl": "https://github.com/vercel/next.js"
}

Option C: Using the browser Visit http://localhost:3000 to see the homepage with instructions.

API Endpoint

POST /api/clone

Clones a GitHub repository locally.

Request Body:

{
  "githubUrl": "https://github.com/user/repo"
}

Response:

{
  "success": true,
  "sessionId": "uuid-here",
  "repoPath": "/tmp/trojan_repos/uuid-here",
  "message": "Repository cloned successfully"
}

Supported URL formats:

  • https://github.com/user/repo
  • github.com/user/repo
  • git@github.com:user/repo.git

About

agentic vulnerability testing platform | nwHacks 2026

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •