elegant-reports

Warn

Audited by Socket on Sep 17, 2026

1 alert found:

Security
SecurityMEDIUM
generate.js

No clear malware or supply-chain backdoor is present. The code performs the expected Markdown-to-PDF workflow and sends content plus the configured API key to its stated service. It has material security weaknesses: untrusted Markdown and metadata can inject HTML, and the curl fallback can permit shell injection through the API key or output path. The predictable temporary file also presents a concurrency and local tampering risk. The shell fallback should use argument-safe process spawning or strict escaping, and all user-derived HTML should be escaped or sanitized according to the PDF renderer's threat model.

Confidence: 98%Severity: 72%
Audit Metadata
Analyzed At
Sep 17, 2026, 05:28 AM
Package URL
pkg:socket/skills-sh/jdrhyne%2Fagent-skills%2Felegant-reports%2F@3ec2871e5f0d0e2cd57d3f674ebeeb7e9c2dd96cf2a5e01881a2d155795e3a1d