Back to skill

Security audit

Bun

Security checks for vulnerabilities and agentic risk

Overview

This Bun guidance skill is documentation-only and purpose-aligned, with one migration command users should run carefully because it deletes local dependency artifacts.

Before using the migration snippet, confirm you are in the intended project directory and that any lockfiles or dependency state you care about are committed or backed up. The skill otherwise appears to be Bun documentation, not active code.

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

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file includes a shell snippet that removes node_modules, package-lock.json, and yarn.lock via rm -rf, which can delete local project state. The surrounding text presents it as a migration step but does not explicitly warn users that these files will be deleted or advise verifying they are in the intended project directory first.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.