T09 · Insecure Skill Coding Practices
- Location
index.js:34- Finding
Shell Command Injection Through Unvalidated Handler Parameters
- Content
View full analysis
- Remediation
View remediation
maximum) { throw new TypeError(`Expected an integer from ${minimum} to ${maximum}`); } return number; } const days = boundedInteger(params.days ?? params.days_back, 7, 1, 365); const maxActivities = boundedInteger( params.max ?? params.max_activities, 10, 1, 100 ); ``` ]]>
