extract-axure-data
Fail
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script in
scripts/extract.mjsfetches JavaScript files (data/document.jsanddata.js) from arbitrary, user-provided remote URLs and executes them usingvm.runInContext. Since thevmmodule is not intended to be a secure sandbox, this creates a vector for Remote Code Execution (RCE) if a user is tricking into providing a malicious Axure URL. - [DYNAMIC_EXECUTION]: The function
evaluateAxureCodedynamically evaluates external JavaScript code at runtime to extract prototype data, using string-to-code execution patterns that bypass static analysis. - [EXTERNAL_DOWNLOADS]: The skill automatically installs the
playwrightpackage andchromiumbrowser binaries on the first run usingnpmandnpx. By default, it uses a well-known mirror (https://npmmirror.com/mirrors/playwright) for downloads. - [COMMAND_EXECUTION]: The skill uses
child_process.execSyncto run dependency installation commands. It also launches Chromium with the--disable-web-securityand--allow-file-access-from-filesflags, which weakens the browser's security boundaries and could be exploited by a malicious site. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from remote prototypes, creating an attack surface where embedded instructions in the prototype data could influence agent behavior.
- Ingestion points: Prototype metadata, annotations, and sitemap data are fetched from remote URLs in
scripts/extract.mjs. - Boundary markers: Absent; the data is parsed and evaluated directly.
- Capability inventory: The script has access to shell execution (
execSync), file system writes (fs.writeFileSync), and network fetching. - Sanitization: Absent; remote JavaScript content is executed directly in a VM context.
Recommendations
- AI detected serious security threats
Audit Metadata