T09 · Insecure Skill Coding Practices
- Location
scripts/index.js:45- Finding
Unvalidated Deployment Endpoint Can Expose API Credentials and Package Data
- Content
View full analysis
''); throw new Error(`Deploy trigger failed [${res.status}]: ${text}`); } const data = await res.json(); if (!data.uuid) throw new Error(`No uuid in response: ${JSON.stringify(data)}`); return data; } ``` ```js async function pollStatus(credentials, deploymentUuid) { const pollUrl = `${credentials.baseUrl}/deployments/${deploymentUuid}`; const TERMINAL = new Set([ 'COMPLETED', 'COM ...[truncated 2754 chars]- Remediation
View remediation
