
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@speechkit/speechkit-audio-player
Advanced tools
A web player component that can play audio from https://speechkit.io
A library that can be used for playing podcasts from https://speechkit.io.
Firstly, clone this repo to your local machine:
git clone https://github.com/SpeechKit/speechkit-audio-player
Next, open the speechkit-audio-player
directory or the directory you cloned to and run npm install
to install all dependencies.
You can now run npm start
to begin serving on local host and you will find test pages within the /example
directory.
To make changes, create a new branch from develop. Make sure you use the following format:
fix/sk-[task-number] - for a bug fix
feat/sk-[task-number] - for a feature
Where [task-number] represents the issue number in Trello.
Push your branch up to GitHub frequently and once you have completed work on the feature/fix, create a pull request against develop, making sure you also update the version in the package.json, eg 3.14.16
.
The next step is to deploy this version to staging for testing.
yarn build:stage
s3/speechkit-js
bucketdist
folder into the folder you createdOnce testing is complete, the next step is to make a pull request from develop to master.
If everything looks good, merge into master and push the branch up, at which point CircleCI will automatically deploy to npmjs.org. The new version may take some time to appear due to caching. For an urgent release, the caches may be purged (see links below).
We use JSDelivr for CDN. You can point your source to: https://cdn.jsdelivr.net/npm/@speechkit/speechkit-audio-player@VERSION/dist/speechkit.js
Example: https://cdn.jsdelivr.net/npm/@speechkit/speechkit-audio-player@1/dist/speechkit.js
After you have deployed a new version to JSDelivr, @latest and all other tags may take up to 24 hours to update. In the case that you need files to update sooner, you can purge the cache using the URLs below:
Purge Player:
https://purge.jsdelivr.net/npm/@speechkit/speechkit-audio-player@latest/dist/speechkit-player.js
Purge Ghost:
https://purge.jsdelivr.net/npm/@speechkit/speechkit-audio-player@latest/dist/speechkit-ghost.js
FAQs
A web player component that can play audio from https://speechkit.io
We found that @speechkit/speechkit-audio-player 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.