
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
google-cloud-speech-webaudio
Advanced tools
Google Cloud speech recognition and synthesis integrated with WebAudio, fully functional in the browser.
Speech recognition and synthesis using the Google Cloud Speech APIs, running in the browser, integrated with the Web Audio API for microphone input and playback.
For now authorization only works with an API Key, you can create one at https://console.cloud.google.com/apis/credentials. Make sure you restrict it to only Cloud Speech-to-Text and Cloud Text-to-Speech APIs.
npm install google-cloud-speech-webaudio
import { GoogleSpeechRecognition } from 'google-cloud-speech-webaudio';
const GOOGLE_API_KEY = '...';
const speechRecognition = new GoogleSpeechRecognition(GOOGLE_API_KEY);
// start recording microphone audio to a buffer.
// on first run it will request microphone permission.
await speechRecognition.startListening();
// stop recording your audio, send the buffer to Google for transcription
const result = await speechRecognition.stopListening();
import { GoogleSpeechSynthesis } from 'google-cloud-speech-webaudio';
const GOOGLE_API_KEY = '...';
const speechSynthesis = new GoogleSpeechSynthesis(GOOGLE_API_KEY);
// make the API call and play the produced speech audio buffer
await speechSynthesis.speak('hello world');
Andrei Gheorghe
FAQs
Google Cloud speech recognition and synthesis integrated with WebAudio, fully functional in the browser.
The npm package google-cloud-speech-webaudio receives a total of 5 weekly downloads. As such, google-cloud-speech-webaudio popularity was classified as not popular.
We found that google-cloud-speech-webaudio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.