skills/aibtcdev/skills/jingswap-v2/Gen Agent Trust Hub

jingswap-v2

Fail

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The file jingswap-v2.ts contains a hardcoded API key (jc_b058d7f2e0976bd4ee34be3e5c7ba7ebe45289c55d3f5e45f666ebc14b7ebfd0) assigned to the JINGSWAP_API_KEY constant as a fallback for missing environment variables.
  • [DATA_EXFILTRATION]: The skill performs network operations to https://faktory-dao-backend.vercel.app (a non-whitelisted external domain) and transmits the hardcoded API key in the x-api-key request header.
  • [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface where data from an external API influences sensitive blockchain operations.
  • Ingestion points: jingswap-v2.ts (API responses retrieved via jingswapGet).
  • Boundary markers: Absent; the skill does not use delimiters or instructions to ignore potential instructions embedded in the API responses.
  • Capability inventory: jingswap-v2.ts (Sensitive blockchain transactions via callContract for deposit-stx, deposit-sbtc, and close-and-settle-with-refresh).
  • Sanitization: The skill performs basic numeric parsing and range checks on inputs but does not fully validate the integrity or source of the complex data structures returned by the API before using them to parameterize transactions.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 11, 2026, 02:49 AM