risk
Provides a comprehensive risk management engine with features like VaR, stress testing, and automated controls for trading safety.
Install this skill
Security score
The risk skill was audited on Feb 22, 2026 and we found 25 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 116 | console.log(`Regime: ${decision.regime}`); |
Template literal with variable interpolation in command context
| 117 | console.log(`Warnings: ${decision.warnings}`); |
Template literal with variable interpolation in command context
| 119 | console.log(`Blocked: ${decision.reason}`); |
Template literal with variable interpolation in command context
| 122 | console.log(` ${check.name}: ${check.passed ? 'PASS' : 'FAIL'} — ${check.message}`); |
Template literal with variable interpolation in command context
| 142 | console.log(`Total value: $${risk.totalValue}`); |
Template literal with variable interpolation in command context
| 143 | console.log(`VaR (95%): $${risk.var95}`); |
Template literal with variable interpolation in command context
| 144 | console.log(`VaR (99%): $${risk.var99}`); |
Template literal with variable interpolation in command context
| 145 | console.log(`CVaR (95%): $${risk.cvar95}`); |
Template literal with variable interpolation in command context
| 146 | console.log(`Regime: ${risk.regime}`); |
Template literal with variable interpolation in command context
| 147 | console.log(`Drawdown: ${risk.drawdownPct}%`); |
Template literal with variable interpolation in command context
| 159 | console.log(`VaR (99%): $${result.historicalVaR}`); |
Template literal with variable interpolation in command context
| 160 | console.log(`CVaR (99%): $${result.cvar}`); |
Template literal with variable interpolation in command context
| 180 | console.log(`Regime: ${snapshot.regime}`); // 'low' | 'normal' | 'high' | 'extreme' |
Template literal with variable interpolation in command context
| 181 | console.log(`Size multiplier: ${snapshot.sizeMultiplier}x`); |
Template literal with variable interpolation in command context
| 182 | console.log(`Should halt: ${snapshot.shouldHalt}`); |
Template literal with variable interpolation in command context
| 194 | console.log(`Estimated loss: $${result.estimatedLoss} (${result.estimatedLossPct}%)`); |
Template literal with variable interpolation in command context
| 195 | console.log(`Severity: ${result.severity}`); |
Template literal with variable interpolation in command context
| 196 | console.log(`Recommendations: ${result.recommendations.join(', ')}`); |
Template literal with variable interpolation in command context
| 213 | console.log(`VaR (95%): $${dashboard.portfolioVaR95}`); |
Template literal with variable interpolation in command context
| 214 | console.log(`Regime: ${dashboard.regime} (${dashboard.regimeSizeMultiplier}x)`); |
Template literal with variable interpolation in command context
| 215 | console.log(`Daily P&L: $${dashboard.dailyPnL} / $${dashboard.dailyLossLimit}`); |
Template literal with variable interpolation in command context
| 216 | console.log(`Drawdown: ${dashboard.currentDrawdown}% / ${dashboard.maxDrawdown}%`); |
Template literal with variable interpolation in command context
| 217 | console.log(`Concentration HHI: ${dashboard.concentrationHHI}`); |
Template literal with variable interpolation in command context
| 218 | console.log(`Kill switch: ${dashboard.killSwitchActive}`); |
Template literal with variable interpolation in command context
| 219 | console.log(`Warnings: ${dashboard.warnings}`); |
Install this skill with one command
/learn @alsk1992/risk