bun-sveltekit
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill contains a vulnerability surface for indirect prompt injection via path traversal in its file handling examples.
- Ingestion points: Untrusted data enters the application through the
params.nameparameter insrc/routes/api/files/[name]/+server.ts. - Boundary markers: Absent; the code lacks any delimiters or constraints to prevent the traversal of the directory structure.
- Capability inventory: The code snippets in
src/routes/api/files/[name]/+server.tsutilizeBun.filefor reading andBun.writefor writing to the file system. - Sanitization: Absent; there is no validation or escaping performed on the user-provided file name before it is interpolated into a file path.
Audit Metadata