spine-animation
Audited by Socket on Aug 27, 2026
3 alerts found:
SecurityAnomalyx2No clear malicious behavior or supply-chain payload is present. The code implements expected image-processing and AI-integration functionality, with no visible obfuscation or explicit data theft. It has important security weaknesses: unauthenticated administrative/file APIs, insufficient validation of skin and slot path components, and a fragile project-root containment check. The configured SAM service receives local image data by design. These issues warrant remediation before non-local or multi-user deployment.
No clear malicious payload or intentional data theft is present. The code is a local asset-to-HTML generator, but it has material security weaknesses if supplied with untrusted inputs: atlas references can potentially include files outside the asset directory, generated HTML/JavaScript values are not escaped, output can overwrite an arbitrary permitted path, and the browser loads an unpinned third-party CDN dependency. The supplied fragment also contains syntax and formatting errors and will not run unchanged.
The code appears intended to locate and normalize Spine project assets, with no clear malware indicators. It contains a path traversal/absolute-path weakness in atlas sheet resolution that can copy arbitrary readable local files into the generated project directory when atlas contents are attacker-controlled. The provided fragment is also syntactically incomplete because it ends with `return ou`, so it cannot run as shown.