Safari / Spotify Web Player Bug: random sounds automatically plays in fast-forward w/out interaction

https://streamable.com/y16s4q

Plan

Free/

Country

 

Device

MacBook Pro M1

Operating System

Tahoe OS 26

 

My Question or Issue

Hi everyone,

I need some deep technical help with a very specific and alarming audio behavior on Spotify Web Player using Safari on macOS.

The Issue:

Even when I am completely idle on the Spotify homepage and do not click anything, Spotify automatically starts playing random, highly accelerated, and glitchy audio snippets in the background. When this happens, Safari’s standard "This tab is playing audio" speaker icon appears normally on the right side of the address bar, meaning Safari genuinely detects a legitimate active audio stream from the webpage.

The audio sounds like a chaotic, fast-forwarded burst (like an "Alvin and the Chipmunks" time-stretch effect) that forces an audio buffer into the browser completely unprompted.

The Suspicious Background:

I recently made the mistake of sharing my Spotify ⁠sp_dc⁠ and ⁠sp_key⁠ session tokens with a third-party music downloader tool. I highly suspect my session has been hijacked and my account is being used as part of a background stream-farming botnet (to simulate fake plays). It seems like an automated background script is trying to force media playback tokens through Safari's Web Audio API.

What happens technically:

Safari normally blocks autoplay and restricts background tab execution unless there is a physical user gesture (a click). However, whatever has hijacked the session seems to bypass this or trick Safari into thinking it's a legitimate user-initiated playback. When Safari tries to enforce its power-saving policy, the audio buffer piles up, and then it dumps the accumulated fast-forwarded audio burst all at once, with the address bar speaker icon staying active.

What I've tried:

 Cleared Spotify's local storage, site data, and unregistered Service Workers via Safari DevTools.

 Deleted all cookies (⁠sp_dc⁠ included).

 Changed sample rates in Audio MIDI Setup (44.1 kHz / 48 kHz).

 Toggled Web Audio Experimental Features / Feature Flags.

Despite clearing local data, as soon as I log back into Spotify, this automatic, weird fast-forward playback restarts on the homepage without any interaction from my side.

Is it possible that a persistent malware/infostealer has infected my local Safari/macOS proxy settings, or is this a known exploit where compromised ⁠sp_dc⁠ tokens force hidden background playback that messes up the Web Audio graph? How can I completely block Safari from allowing a tab to self-trigger audio playback without human input?

Thank you!

Child Item
Child Item
Child Item

Accepted answers

All comments

Hey there @biyclesss,

 

Thanks for reaching out on the Community! And kudos for including details about the troubleshooting you've tried.

 

Just to confirm, does this only occur on the Web Player when using Safari? Any difference if you're using another browser or an incognito window?

 

It's also worth trying with a different internet connection (if you haven't already), to see if it behaves the same way. And if you're using any VPN, make sure to switch it off, as it could interfere with the service. If possible, you can also download the Spotify desktop app to your Mac, to check if it works better for you.

 

On another note, as you mention sharing your Spotify details with a 3rd party tool, we can recommend following all steps listed under Still have access to your account? on this page. This is to ensure that you're the only one with access. As we can't guarantee the performance or security of 3rd party services, feel free to have a look at this article as well, for more info on how to protect your account.

 

Let us know how you get on!

Thanks for the quick response and the guidance on securing my account!

To answer your questions and share my latest findings:

1. Browsers & Incognito: This issue happens strictly on Safari. It works completely fine on other browsers like Chrome, and the issue persists even when I try it in Safari’s Private/Incognito window.

2. Different User Accounts: I did a deeper test and created a completely new/ different user profile on my Mac. Surprisingly, the exact same accelerated audio glitch happens on that fresh user profile as well, which rules out any user-specific local Safari cache or extensions.

3. Network & VPN: I am not using any VPN or proxy configuration. I also tried switching to a different internet connection (using my phone's cellular hotspot), but the behavior remained identical on the homepage.

I have already initiated the account security steps you recommended, signed out of all devices, and changed my password. However, as soon as I log back into the Web Player on Safari, this weird background "buffer catch-up" playback still triggers automatically on the homepage without any user interaction.

Since it only occurs on Safari across all user accounts, it really feels like a conflict between Safari's aggressive background tab-sleeping policy (AudioContext throttling) and the Web Playback SDK.

Any further technical insights from the team on how to fix this Web Audio sync issue on Safari would be amazing.

Thanks again!

Hey again @biyclesss!

 

Thanks for following up with more info - we appreciate it 🙂

 

We looked further into this, but we couldn't find any recent reports similar to what you're describing. Considering the amount of steps you've already tried, and since it only occurs with Safari, it's possible that it's related to your current setup. Your report has been noted, but as a heads-up, we’re unable to confirm if or when the behavior your experiencing using the Web Player & Safari will be resolved in this case.

 

We can suggest keeping both the browser and the device up-to-date, and to use another browser (when possible) in the meantime! You can also get in touch with Apple, to double-check the current device settings.

 

We're always just a post away if you need anything else!

I can confirm this behavior on Safari Version 26.5.2 (21624.2.5.11.8)
There are at least three soundfiles played at the same time.

It stops playing the random streams, when I leave the page in the background
but restarts the extra soundstreams when returning to the spotify tab.

+1 
Same behaviour in Safari. Very annoying. Restarted MacBook and Safari, logged in and out of Spotify multiple time, cleared the cache. Nothing helps so far. 

Child Item
Child Item