Expand description
Remote repository scanning module
This module provides functionality to scan remote Git repositories for security vulnerabilities in Claude Code configurations.
§Features
- Clone remote repositories with security measures (shallow clone, hooks disabled)
- Support for GitHub authentication (token-based)
- Parse awesome-claude-code repository list
- Batch scanning with parallel clones
§Security Measures
- All clones are shallow (depth=1) to minimize attack surface
- Git hooks are disabled during clone to prevent code execution
- Temporary directories are automatically cleaned up
- Authentication tokens are not logged or exposed
Re-exports§
pub use clone::ClonedRepo;pub use clone::GitCloner;pub use clone::parse_github_url;pub use error::RemoteError;
Modules§
Constants§
- AWESOME_
CLAUDE_ CODE_ URL - awesome-claude-code repository URL
- DEFAULT_
CLONE_ TIMEOUT_ SECS - Default clone timeout in seconds
- DEFAULT_
PARALLEL_ CLONES - Default maximum parallel clones
- DEFAULT_
RATE_ LIMIT_ RETRIES - Default rate limit retry max attempts