kingdee-ppt
Audited by Socket on Jun 22, 2026
1 alert found:
AnomalyThis module is primarily an HTML-to-PPTX converter, not an overtly malicious package. However, it is security-relevant because it renders caller-provided local HTML via file:// in a headless browser, extracts image/background paths from that content, and passes resulting (largely unconstrained) filesystem paths directly into the PowerPoint image/background loader. Additionally, it logs browser console output from the rendered page, which can expose sensitive information if attacker-controlled HTML executes scripts. In a threat model where htmlFile/HTML content or referenced asset paths are not fully trusted, the security risk is moderate and should be reviewed with the downstream presentation/media library’s path-handling behavior in mind.