T08 · Insecure Dependencies
- Location
skill.md:17- Finding
Unpinned npm Package Installation and Runtime Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill coherently helps agents search Microsoft Learn documentation, with ordinary setup risk from an unpinned npm CLI but no evidence of hidden or malicious behavior.
Before installing, consider pinning @microsoft/learn-cli to a reviewed exact version and prefer a local project install or controlled environment over a global npm install. Expect the skill to make Microsoft documentation lookups for a broad range of Microsoft-related questions.
skill.md:17Unpinned npm Package Installation and Runtime Execution
The trigger scope is extremely broad (any MS technology question), which can cause the skill to activate for loosely related prompts and unnecessarily route user queries into CLI-backed retrieval behavior. Overbroad activation increases attack surface, can lead to unintended external lookups, and may cause the agent to use this skill in contexts where a narrower or safer tool would be more appropriate.
Using npx @microsoft/learn-cli without a pinned version allows retrieval and execution of whatever package version is current at invocation time. If the package is compromised, typo-resolved unexpectedly, or a breaking/malicious release is published, the agent could run untrusted code during setup or use.
No suspicious patterns detected.