backend-report-generation

Warn

Audited by Socket on Jul 8, 2026

1 alert found:

Security
SecurityMEDIUM
references/report-templates.md

This fragment is not obviously a stealth malware package, but it includes multiple high-severity security risks that can be exploited for takeover when templates/conditions/themes/IDs are influenced by an attacker: (1) arbitrary expression evaluation via eval() for conditions, (2) dynamic Jinja rendering from template strings/sources (SSTI risk if attacker controls templates), (3) potential path traversal/write-anywhere in the filesystem template store due to unsanitized template.id/template_id/format, and (4) potential HTML injection/XSS through logo_url/footer_text injection. If this library is used with any untrusted inputs, it should be treated as high risk and refactored to remove eval, validate IDs/formats, and avoid rendering untrusted templates.

Confidence: 80%Severity: 85%
Audit Metadata
Analyzed At
Jul 8, 2026, 12:20 PM
Package URL
pkg:socket/skills-sh/j4flmao%2Fagent-skills%2Fbackend-report-generation%2F@65f2e7eeabb75a84b4a4ceb2303ffbb13a2950809c1802ed60a5e146f0ad28f3
Security Audit — socket — backend-report-generation