jtbd-research-to-figjam
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates JavaScript code at runtime within
scripts/build_figjam_code.pyby concatenating local templates found in thescripts/figjam/directory with user-processed research data. This generated code is then executed using theuse_figmatool to automate the creation of FigJam board elements. - [COMMAND_EXECUTION]: The script
scripts/build_figjam_code.pyuses thesubprocess.runmethod to invoke thenodebinary with the--checkflag. This is used to perform a syntax check on the generated JavaScript code before it is passed to the agent for execution. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted external data such as interview transcripts, chat logs, and desk research notes.
- Ingestion points: External research sources provided by the user are processed by AI subagents (
jtbd-extractor) as described in Stage 1 of the pipeline. - Boundary markers: The skill provides extensive documentation in the
references/directory, including strict schemas and extraction rules, to guide the AI and minimize the risk of malicious instructions within the source data influencing the output. - Capability inventory: The skill can execute local Python scripts, interact with the Figma MCP via
use_figma, and manage files through the Google Drive MCP. - Sanitization: Extracted data is validated against a schema using
scripts/validate_jobs.py, and the JavaScript generation script usesjson.dumps()to ensure that data inserted into code templates is properly escaped.
Audit Metadata