xgent-app-release
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill instructions direct the agent to run
eval "$(node ...)". The underlying scriptscripts/npm-token.mjsgenerates shell export commands using strings (authTokenandregistry) retrieved from a remote server (TARGET_XGENT_PLATFORM). This creates a potential command injection surface if the remote server provides a specially crafted response designed to escape the string literals in the generated shell code. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data, presenting an attack surface for indirect prompt injection. Ingestion points: The skill reads
app.manifest.jsoninscripts/preflight.mjsand parses API responses from the XGENT portal inscripts/npm-token.mjs. Boundary markers: No specific delimiters or instructions to ignore embedded instructions are used when handling the manifest or API data. Capability inventory: The skill can execute shell commands vianpx,node, andtar, and perform network operations viafetch. Sanitization: Thereferences/embed-csp.mjsscript performs strict sanitization of CSP fields using regex.scripts/preflight.mjsvalidates version and key formats. However,scripts/npm-token.mjsdoes not sanitize server-provided strings used in shell command generation. - [COMMAND_EXECUTION]: The skill executes various system commands, including
tarfor packaging (viaspawnSyncinscripts/preflight.mjs) andnpxfor running the@xgent/release-clitool. These operations are essential for the skill's build and release tasks. - [EXTERNAL_DOWNLOADS]: The skill fetches the
@xgent/release-clitool and other SDK dependencies (e.g.,@xgent/shared,@xgent/portal-sdk) from a private npm registry. These are vendor-owned resources from thexgent-aiorganization.
Audit Metadata