Back to skill

Security audit

Scaffold Art Script

Security checks for vulnerabilities and agentic risk

Overview

This skill provides narrow, disclosed guidance for scaffolding or converting Art Blocks generative art scripts and does not include hidden commands, persistence, credential handling, or bundled executable code.

Installers should be comfortable with the skill using the Art Blocks MCP resource/tool to generate local starter files. Review any generated code and external asset stubs such as IPFS or Arweave references before publishing artwork, but the skill itself does not show malicious or review-level behavior.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (1)

Whitespace Padding

Medium
Category
Prompt Injection
Content
### Parameters

| Param                    | Options / Notes                                                                                   |
|--------------------------|---------------------------------------------------------------------------------------------------|
| `scriptType`             | `"js"` (vanilla), `"p5js"`, `"threejs"` — **required**                                          |
| `dependencyVersion`      | p5.js: `"1.0.0"` or `"1.9.0"` (default). Three.js: `"0.124.0"`, `"0.160.0"`, `"0.167.0"` (default). Ignored for `"js"`. |
Confidence
70% confidence
Finding
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Static analysis

No suspicious patterns detected.