T08 · Insecure Dependencies
- Location
SKILL.md:930- Finding
Unpinned npx Commands May Retrieve and Execute Mutable Third-Party Packages
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a Git workflow guidance skill with some powerful commands users should review carefully, but I found no hidden or malicious behavior.
Install this if you want Git workflow and repository strategy guidance. Before applying its examples, review any global Git config, hook, force-push, history-rewrite, or reset command, and prefer pinned local dev dependencies or package scripts instead of npx commands that can download tools dynamically.
SKILL.md:930Unpinned npx Commands May Retrieve and Execute Mutable Third-Party Packages
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# SSH signing (GitHub, simpler)
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true
# Verify signed commits
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
gitignore_checklist:
always_ignore:
- "node_modules/ / venv/ / __pycache__/"
- ".env / .env.local / .env.*.local"
- "*.key / *.pem / *.p12"
- ".DS_Store / Thumbs.db"
- "*.log / logs/"
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
gitignore_checklist:
always_ignore:
- "node_modules/ / venv/ / __pycache__/"
- ".env / .env.local / .env.*.local"
- "*.key / *.pem / *.p12"
- ".DS_Store / Thumbs.db"
- "*.log / logs/"
The skill includes a destructive command, git reset --hard HEAD~1, in a troubleshooting table. Although clearly labeled as destructive, broad skill triggering combined with recovery-oriented advice could lead an agent or user to apply this command in the wrong context, causing irreversible local data loss.
| Problem | Command | Notes |
|---------|---------|-------|
| Undo last commit (keep changes) | `git reset --soft HEAD~1` | Staged, ready to recommit |
| Undo last commit (discard) | `git reset --hard HEAD~1` | ⚠️ Destructive |
| Find lost commit | `git reflog` | Reflog keeps 90 days |
| Recover deleted branch | `git reflog` → `git checkout -b branch <sha>` | Find the SHA in reflog |
| Remove file from all history | `git filter-repo --path file --invert-paths` | Requires force push |
The quick-start instruction uses a very broad natural-language trigger that could cause an agent to activate the skill in loosely related contexts without clear user consent or scope boundaries. While the README is otherwise operational guidance rather than overtly malicious prompt injection, unconstrained invocation phrases increase the chance of unintended use and inappropriate repository changes or recommendations.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
The skill defines very broad natural-language triggers such as 'Fix git problem' and 'Help with git recovery' that overlap with ordinary user phrasing. In an agent environment, this can cause accidental invocation in contexts the user did not intend, increasing the chance that high-risk operational guidance is surfaced or acted on without sufficient confirmation.
No suspicious patterns detected.