Back to skill

Security audit

Developer Essentials

Security checks for vulnerabilities and agentic risk

Overview

This is a developer command cheatsheet with some risky examples, but it does not install code, run automatically, or hide unrelated behavior.

Install is reasonable if you want a compact command reference. Treat the destructive examples as reminders, not safe defaults: check your current directory, Git branch, Docker resources, and Kubernetes context before copying commands that delete, prune, reset, force-kill, or change permissions.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (12)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
84% confidence
Finding

git reset --hard HEAD~1 is a highly destructive command that permanently discards local changes and rewrites local history, yet it is presented as copy-paste-ready with only a terse comment. In this skill context, the danger is elevated because the document is intended for quick command lookup rather than careful tutorial reading.

Content

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

git restore # Discard changes git restore --staged # Unstage git reset HEAD1 # Undo last commit (keep changes) git reset --hard HEAD1 # Destroy last commit git stash git stash pop

text

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This section includes destructive Git recovery commands like git reset --hard HEAD~1 without any warning about irreversible data loss. In a copy-paste-ready cheatsheet, users may execute the command in the wrong repository or branch and permanently lose uncommitted or unpushed work.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
75% confidence
Finding

Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
75% confidence
Finding

Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
75% confidence
Finding

Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The cleanup section includes docker system prune -a, which can remove unused images, containers, networks, and cached build data, but provides no warning about resource deletion. In a quick-reference format, this increases the likelihood of accidental data or environment disruption when users copy commands blindly.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 211)May include surrounding context.


🌐 curl Cheatsheet

Basic Requests

bash

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 222)May include surrounding context.

HTTP Methods

bash
curl -X POST https://api.example.com/data
curl -X PUT https://api.example.com/data/1
curl -X DELETE https://api.example.com/data/1

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 223)May include surrounding context.

HTTP Methods

bash
curl -X POST https://api.example.com/data
curl -X PUT https://api.example.com/data/1
curl -X DELETE https://api.example.com/data/1

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 224)May include surrounding context.

HTTP Methods

bash
curl -X POST https://api.example.com/data
curl -X PUT https://api.example.com/data/1
curl -X DELETE https://api.example.com/data/1

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This Linux commands section contains forceful deletion commands such as rm -rf dir without any caution about irreversible file loss. Because the skill is explicitly marketed as copy-paste ready, omission of warnings materially raises the risk of accidental destructive execution.

Content

No source excerpt is available for this finding.

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 259)May include surrounding context.

rm -rf dir # Remove recursive force mkdir -p path/to/dir # Create parents too touch file chmod 755 file chown user:group file

text