T09 · Insecure Skill Coding Practices
- Location
scripts/transcribe.sh:66- Finding
ElevenLabs API Key Exposed Through Process Command-Line Arguments
- Content
View full analysis
- Remediation
View remediation
"$HEADER_FILE" CURL_ARGS=( -s -X POST "https://api.elevenlabs.io/v1/speech-to-text" -H "@$HEADER_FILE" -F "file=@$FILE" -F "model_id=scribe_v2" -F "diarize=$DIARIZE" -F "tag_audio_events=$TAG_EVENTS" ) ``` The temporary file must remain readable only by the invoking user and must always be deleted after the request. ]]>
