Back to skill

Security audit

MSBuild Top 80 Commands

Security checks for vulnerabilities and agentic risk

Overview

This skill is a static reference list of MSBuild and dotnet command templates, with no hidden execution or persistence behavior found.

Installers should treat the commands as templates: review feed URLs, private feed authentication, and generated binlogs or preprocessed project files before running or sharing them, because normal MSBuild diagnostics can include local project details.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

  1. Override restore sources (quick feed test)
bash
dotnet msbuild MySolution.sln /t:Restore /p:RestoreSources="https://api.nuget.org/v3/index.json;https://myfeed/v3/index.json"
  1. Disable implicit restore (full control)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest sets "language": "en", which indicates the skill is constrained to English. Under the policy, language restrictions should either offer user opt-in/choice or be clearly justified as region- or compliance-specific, neither of which is present here.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.