Git Security Checks

🌐Community
by laurigates · vlatest · Repository

Helps with Git, security as part of implementing security and authentication workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add git-security-checks npx -- -y @trustedskills/git-security-checks
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "git-security-checks": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/git-security-checks"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill performs automated security analysis on Git repositories to identify vulnerabilities and misconfigurations before code is committed or pushed. It scans for exposed secrets, insecure dependencies, and dangerous patterns within the repository history and current state.

When to use it

  • Before pushing sensitive credentials like API keys or tokens to a public or private branch.
  • During pre-commit workflows to prevent accidental exposure of private data in version control.
  • When auditing third-party open-source dependencies for known security flaws.
  • As part of a CI/CD pipeline to enforce security standards before merging pull requests.

Key capabilities

  • Detects hardcoded secrets and sensitive information within code files.
  • Identifies insecure or vulnerable software dependencies in the project.
  • Analyzes Git history to find previously committed sensitive data that may have been deleted but remains accessible.
  • Flags common security misconfigurations in repository settings and file permissions.

Example prompts

  • "Run a full security scan on my current branch to check for exposed API keys or database passwords."
  • "Analyze the last 50 commits to see if any sensitive files were accidentally committed and not properly removed from history."
  • "Check our package.json and requirements.txt files for known vulnerable dependencies before I merge this PR."

Tips & gotchas

Ensure your repository is cloned locally or accessible via a secure connection, as the tool needs to read file contents and commit logs. While effective at finding obvious secrets, it may not catch every complex logic vulnerability; always pair this with manual code reviews for critical security features.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
laurigates
Installs
33

🌐 Community

Passed automated security scans.