opportunity
Identifies and executes arbitrage opportunities across various prediction markets for optimized trading strategies.
Install this skill
Security score
The opportunity skill was audited on Feb 22, 2026 and we found 32 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 128 | console.log(`${opp.type}: ${opp.description}`); |
Template literal with variable interpolation in command context
| 129 | console.log(` Edge: ${opp.edge.toFixed(2)}%`); |
Template literal with variable interpolation in command context
| 130 | console.log(` Liquidity: $${opp.liquidity.toLocaleString()}`); |
Template literal with variable interpolation in command context
| 131 | console.log(` Confidence: ${(opp.confidence * 100).toFixed(0)}%`); |
Template literal with variable interpolation in command context
| 132 | console.log(` Score: ${opp.score}/100`); |
Template literal with variable interpolation in command context
| 133 | console.log(` Platforms: ${opp.platforms.join(' ↔ ')}`); |
Template literal with variable interpolation in command context
| 145 | console.log(`🎯 New opportunity: ${opp.description}`); |
Template literal with variable interpolation in command context
| 146 | console.log(` Edge: ${opp.edge.toFixed(2)}%`); |
Template literal with variable interpolation in command context
| 150 | console.log(`❌ Opportunity expired: ${opp.id}`); |
Template literal with variable interpolation in command context
| 154 | console.log(`📊 Updated: ${opp.id} - Edge now ${opp.edge.toFixed(2)}%`); |
Template literal with variable interpolation in command context
| 179 | console.log(`Found ${matches.length} potential matches`); |
Template literal with variable interpolation in command context
| 181 | console.log(`${match.marketA.question}`); |
Template literal with variable interpolation in command context
| 182 | console.log(` ↔ ${match.marketB.question}`); |
Template literal with variable interpolation in command context
| 183 | console.log(` Similarity: ${(match.similarity * 100).toFixed(0)}%`); |
Template literal with variable interpolation in command context
| 200 | console.log(`Executed: ${result.status}`); |
Template literal with variable interpolation in command context
| 201 | console.log(` Filled: $${result.filledSize}`); |
Template literal with variable interpolation in command context
| 202 | console.log(` Avg price: ${result.avgPrice}`); |
Template literal with variable interpolation in command context
| 203 | console.log(` Fees: $${result.fees}`); |
Template literal with variable interpolation in command context
| 224 | console.log(`Total opportunities: ${stats.total}`); |
Template literal with variable interpolation in command context
| 225 | console.log(`Taken: ${stats.taken}`); |
Template literal with variable interpolation in command context
| 226 | console.log(`Win rate: ${(stats.winRate * 100).toFixed(1)}%`); |
Template literal with variable interpolation in command context
| 227 | console.log(`Total P&L: $${stats.totalPnl.toLocaleString()}`); |
Template literal with variable interpolation in command context
| 228 | console.log(`Avg edge: ${stats.avgEdge.toFixed(2)}%`); |
Template literal with variable interpolation in command context
| 231 | console.log(` ${pair}: ${data.count} opps, $${data.pnl} P&L`); |
Template literal with variable interpolation in command context
| 242 | console.log(` Fill probability: ${(risk.fillProbability * 100).toFixed(0)}%`); |
Template literal with variable interpolation in command context
| 243 | console.log(` Expected slippage: ${risk.expectedSlippage.toFixed(2)}%`); |
Template literal with variable interpolation in command context
| 244 | console.log(` Time to fill: ${risk.estimatedTimeToFill}s`); |
Template literal with variable interpolation in command context
| 245 | console.log(` Counterparty risk: ${risk.counterpartyRisk}`); |
Template literal with variable interpolation in command context
| 253 | console.log(` Expected fill: $${estimate.expectedFill}`); |
Template literal with variable interpolation in command context
| 254 | console.log(` Expected cost: $${estimate.expectedCost}`); |
Template literal with variable interpolation in command context
| 255 | console.log(` Net edge after costs: ${estimate.netEdge.toFixed(2)}%`); |
External URL reference
| 16 | Based on [arXiv:2508.03474](https://arxiv.org/abs/2508.03474) which found **$40M+ in realized arbitrage** on Polymarket. |
Install this skill with one command
/learn @alsk1992/opportunity