Mathharo/promptcraft-forge-studio

Mathharo/promptcraft-forge-studio

Releases0
Stars2
Promptcraft Forge Studio is a minimal, developer-first toolkit that treats prompts like real software artifacts: files, diffs, tests, releases. Build prompts with variables, guards, and evaluation suites. Run A/B tests, export to multiple providers, keep everything reproducible.

CVE History

CVEPublishedCVSS v3CVSS v2
8.2 HIGH

Promptcraft Forge Studio is a toolkit for evaluating, optimizing, and maintaining LLM-powered applications. All versions of Promptcraft Forge Studio sanitize user input using regex blacklists such as r`eplace(/javascript:/gi, '')`. Because the package uses multi-character tokens and each replacement is applied only once, removing one occurrence can create a new dangerous token due to overlap. The “sanitized” value may still contain an executable payload when used in href/src (or injected into the DOM). There is currently no fix for this issue.

9.3 CRITICAL

Promptcraft Forge Studio is a toolkit for evaluating, optimizing, and maintaining LLM-powered applications. All versions contain an non-exhaustive URL scheme check that does not protect against XSS. User-controlled URLs pass through src/utils/validation.ts, but the check only strips `javascript:` and a few patterns. `data:` URLs (for example data:image/svg+xml,…) still pass. If a sanitized value is used in href/src, an attacker can execute a script. There is currently no fix for this issue.