T09 · Insecure Skill Coding Practices
- Location
scripts/lib/lm-build.mjs- Finding
Text slot values implicitly copy arbitrary local files into the generated project
- Content
View full analysis
Impact
The complete matching file is copied into assets/user/ inside the generated project. A local secret can consequently be disclosed with the project even though the visible text merely becomes an asset pathname. Character limits only generate warnings and do not prevent the copy; even unknown slot values are processed before rejection.
