extract-axure-data
Warn
Audited by Gen Agent Trust Hub on May 20, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script fetches JavaScript files (e.g.,
data/document.jsandfiles/{page}/data.js) from user-provided URLs and executes them using thenode:vmmodule'srunInContextmethod. - Evidence: Found in
scripts/extract.mjswithin theevaluateAxureCodefunction wherevm.runInContext(jsCode, sandbox)is called on code retrieved viafetchText. - [COMMAND_EXECUTION]: The skill uses
execSyncto automatically install software and dependencies on the host machine during its first run. - Evidence: In
scripts/extract.mjs, theensureDependenciesfunction executesnpm install playwrightandnpx playwright install chromiumusingexecSync. - [EXTERNAL_DOWNLOADS]: The skill automatically downloads and installs the Playwright library and the Chromium browser from external registries and mirrors.
- Evidence:
scripts/extract.mjsreferenceshttps://npmmirror.com/mirrors/playwrightas a fallback mirror for downloading browser binaries. - [DYNAMIC_EXECUTION]: The script dynamically imports the Playwright library from a path constructed at runtime in the user's home directory.
- Evidence:
loadPlaywrightinscripts/extract.mjsusesimport()on a path built usingos.homedir()and.cache/axure-extractor. - [COMMAND_EXECUTION]: The skill launches the Chromium browser with security features disabled, which can increase the risk of exploitation when navigating to untrusted sites.
- Evidence:
getBrowserinscripts/extract.mjsuses arguments--disable-web-securityand--allow-file-access-from-files.
Audit Metadata