h5p-type-scaffold

Warn

Audited by Socket on Oct 9, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
scripts/scaffold.sh

This is a project scaffolding script, but its unescaped interpolation of command-line metadata into Python source creates a local code-execution risk for crafted arguments. User-controlled output paths also allow writes outside the intended directory. The fragment shows no evidence of intentional malware, but should be fixed before use with untrusted inputs.

Confidence: 99%Severity: 78%
SecurityMEDIUM
scripts/pack.sh

The script has a concrete code-injection risk: the caller-controlled library directory path is interpolated into Python source passed to python3 -c. The machineName metadata is also used in paths without validation, creating path-manipulation risk. No evidence of network exfiltration or intentional malware behavior appears in the fragment. Pass the path as a separate Python argument and validate machineName as a safe basename.

Confidence: 98%Severity: 72%
Audit Metadata
Analyzed At
Oct 9, 2026, 02:30 AM
Package URL
pkg:socket/skills-sh/chandima%2Fagent-skills%2Fh5p-type-scaffold%2F@d92e2aa464948470dee75d8ca0026ef04cd25f0f0fff52db0ffe438b437eba84