dependency gate

A check in CI or a pre-commit hook that decides every new dependency: blocked if it is missing from the registry or looks like a typosquat, reviewed if unapproved, pinned if approved.

In more detail

It turns package hallucination and typosquatting from a review-time hope into an automatic rule. Run it on every pull request, so code written by people and by assistants faces the same rule.

Related terms

Taught in

References

Certification courses