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.tscontains a hardcoded API key (jc_b058d7f2e0976bd4ee34be3e5c7ba7ebe45289c55d3f5e45f666ebc14b7ebfd0) assigned to theJINGSWAP_API_KEYconstant 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 thex-api-keyrequest 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 viajingswapGet). - 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 viacallContractfordeposit-stx,deposit-sbtc, andclose-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