3 ms·
This seems like a security issue, no?
by dannyw 6y ago
This seems like a security issue, no?
- hvdijk 6y agoIt is a security issue if the presence of a commit or tree in a repo is supposed to be enough to get GitHub to nuke the repo, as this then allows malicious users to convince GitHub to nuke any repo they like, but GitHub can instead deal with this more sensibly and not make it a security issue.
- kortex 6y agoSeems to me like you could ddos a repo this way, though I guess that would be true of any pr spamming?
- ryukafalz 6y agoIt could indeed be a security issue. A few options: - Make a PR to a project that changes e.g. one of the dependencies to typosquatted alternatives. Disguise the commit message as something trivial. Post it to HN with a GH link to the upstream project's repo at your commit. - Make a PR to a project that adds malicious code, suggest a change to a distro package's source repo to use your commit. Unless the maintainers know about this GitHub behavior, that'll look much more trivial than it actually is.