摘要:Transmission spectroscopy of transiting exoplanets is a proven technique that can yield information on the composition and structure of a planet's atmosphere. However, transmission spectra may be compromised by inhomogeneities in the stellar photosphere. The sub-Neptune-sized habitable zone planet K2-18b has water absorption detected in its atmosphere using data from the Hubble Space Telescope (HST). Herein, we examine whether the reported planetary atmospheric signal seen from HST transmission spectroscopy of K2-18b could instead be induced by time-varying starspots. We built a time-variable spectral model of K2-18 that is designed to match the variability amplitude seen in K2 photometric data, and we used this model to simulate 1000 HST data sets that follow the K2-18b observation strategy. More than 1% of these provide a better fit to the data than the best-fitting exoplanet atmosphere model. After resampling our simulations to generate synthetic HST observations, we find that 40% of random draws would produce an atmospheric detection at a level at least as significant as that seen in the actual HST data of K2-18b. This work illustrates that the inferred detection of an atmosphere on K2-18b may alternatively be explained by stellar spectral contamination due to the inhomogeneous photosphere of K2-18. We do not rule out a detection of water in the planet's atmosphere, but we provide a plausible alternative that should be considered and conclude that more observations are needed to fully rule out stellar contamination.