Back to skill

Security audit

git-repository-health-auditor

Security checks for vulnerabilities and agentic risk

Overview

This skill is a read-only repository auditing guide with explicit limits against modifying files, exposing secrets, or inspecting unrelated personal data.

Install only if you want an assistant to inspect a chosen repository for maintenance and security hygiene. Review findings before acting on them, and give separate approval only for any command execution, patching, commits, pushes, or network-transmitting actions.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 84)May include surrounding context.

md
### Phase 4 — Review security posture

Inspect relevant files for signs of risk, including:
- Potentially committed credentials, private keys, access tokens, or production connection strings.
- Sensitive files that are not covered by ignore rules.
- Risky dependency declarations or missing lockfiles where reproducibility matters.
- CI jobs that execute untrusted input with privileged credentials.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 89)May include surrounding context.

md
- Risky dependency declarations or missing lockfiles where reproducibility matters.
- CI jobs that execute untrusted input with privileged credentials.
- Workflow permissions that appear broader than required.
- Container configurations that run as root without a clear reason.
- Unsafe handling of untrusted input in scripts.
- Download-and-execute patterns without integrity verification.
- Dangerous defaults in deployment examples.