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 (
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.
Sign in to submit your repository
OpenVuln scans are available to repository owners. We verify your GitHub role on every submission — only maintainers and admins can start a scan.
{ if (window.top && window.top !== window.self) { e.preventDefault(); navigateToLogin(); window.dispatchEvent(new Event("ov-oauth-popup-opened")); } }} className="mt-5 inline-flex h-10 items-center gap-2 rounded-md bg-ink px-4 text-sm font-medium text-surface transition-colors hover:bg-white focus-ring" >