codex-app-ref-refresh

Pass

Audited by Gen Agent Trust Hub on Jun 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/refresh-codex-ref.mjs executes shell commands using spawnSync to handle file extraction and formatting tasks.
  • [EXTERNAL_DOWNLOADS]: The skill uses npx to fetch and execute the @electron/asar and prettier packages from the npm registry. These are well-known, industry-standard tools for processing Electron application files and code formatting.
  • [SAFE_PRACTICES]: The provided execution script implements robust path validation through the assertSafeRefDir function, which ensures the tool only modifies a directory named 'ref' relative to the current workspace and prevents operations on sensitive locations like the root or home directories.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 26, 2026, 04:01 PM
Security Audit — agent-trust-hub — codex-app-ref-refresh