prime-visual-parity
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill executes code from a computed relative path outside of its own package structure.
- The script
scripts/run-audit.mjscalculates the location of a runtime script usingnew URL("../../../runtime/visual-audit/cli.cjs", import.meta.url)and executes it usingnode. This behavior depends on the skill being installed in a specific environment layout and executes code that is not contained within the skill's source. - [COMMAND_EXECUTION]: The skill launches an external process to perform the audit.
- In
scripts/run-audit.mjs,child_process.spawnis used to run the audit runtime, forwarding all command-line arguments (process.argv.slice(2)) to the child process. This allows for the execution of arbitrary flags or commands supported by the external runtime. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection as it ingests untrusted data from external sources and uses it to drive agent actions.
- Ingestion points: Data is retrieved from the Figma API (
figma-capture.md) and the browser DOM (browser-capture.md). The measurement script specifically extractstextContentand styles from arbitrary web pages. - Boundary markers: There are no delimiters or "ignore instructions" warnings defined for the data extracted from the browser or Figma.
- Capability inventory: The skill has the ability to execute shell commands via
run-audit.mjsand write files to the local.primeui/temp/directory as part of thecorrection-loop.md. - Sanitization: The skill lacks explicit sanitization or filtering of the text content ingested from the browser or Figma. If a web page or Figma node contains malicious instructions, they could influence the agent during the "Correction Loop" phase where the agent is instructed to read the audit violations and apply changes to the codebase.
Audit Metadata