feat(security): built-in security scanning platform for repositories #508
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority: HIGH
Summary
Add built-in secret scanning as a core MokoGitea feature that:
Scope
1. Secret Detection Engine
Built into MokoGitea (not an external tool), scanning:
Detection uses regex patterns with entropy analysis to reduce false positives.
2. Repo Settings Screen
Add a Security tab in repo settings showing:
3. Push-Time Scanning
On every push (via the pre-receive hook or post-receive processing):
4. Org-Level Dashboard
Org settings page showing:
5. API
Built-In Patterns
Motivation
Secret leaks are one of the most common and damaging security incidents. GitHub has this feature built-in. Making it inherent to MokoGitea (not an optional plugin) ensures all repos are protected by default.
Authored by Jonathan Miller (@jmiller)
feat(security): built-in secret scanning for repositoriesto feat(security): built-in security scanning platform for repositoriesExpanded Scope: Full Security Scanning Platform
This is not just secret detection - it is a comprehensive security scanning tool with multiple scanner types:
Scanner Types
Architecture
Authored by Jonathan Miller (@jmiller)