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.
