import { Link } from "react-router-dom"; import { ArrowLeft, Github } from "lucide-react"; import { RepoSubmitForm } from "../../components/RepoSubmitForm"; import { loginUrl, navigateToLogin } from "../../shared/api/client"; import { useMe } from "../../features/auth/useAuth"; export function SubmitPage() { const meQ = useMe(); const authed = meQ.data?.authenticated === true; return (
Projects

Submit a project

Paste a public GitHub repository URL. We scan the default branch and publish aggregate statistics. Submitting requires a GitHub account with admin or maintain permission on the repository.

{meQ.isLoading ? (
) : authed ? ( ) : ( )}

What happens next

    {[ "We verify your GitHub role on the repository (admin or maintain)", "It enters the scan queue", "VulnHunter scans the default branch", "You review full findings and choose what to disclose publicly", ].map((step, i) => (
  1. {i + 1} {step}
  2. ))}
); }