Back to skill

Security audit

makefile-generation

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Makefile generator, with minor caution around broad activation terms and possible Makefile overwrites.

Before installing, make sure you want an agent to help create or update project Makefiles. Ask it to check for an existing Makefile first and to show a preview or diff before writing changes.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list includes broad phrases like "automation," "development-workflow," and "starting a project or standardizing build automation," which can cause the skill to activate in many unrelated contexts. Because this skill can generate or overwrite a Makefile, overbroad activation increases the chance of unsolicited file modification or confusing agent behavior in projects where the user did not explicitly request Makefile generation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill says it will generate a Makefile but does not clearly warn that this may create or overwrite a Makefile in the user's project root. In the context of an agent skill, missing disclosure about write behavior is dangerous because users may invoke it expecting advice only, while the agent may modify build configuration files that affect project workflows, CI, or release behavior.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.