Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 2.26 KB

File metadata and controls

67 lines (51 loc) · 2.26 KB

Security Policy

This project is provided "as is" without warranty. Use at your own risk. See LICENSE file for details on reusage.

Supported Versions

Use this section to tell people about which versions of your project are currently being supported with security updates.

Version Supported
latest
< latest

External API Calls

  • Spotlight.js communicates with the following external services:
  • MDBList API (ratings data)
  • TMDb API (movie/episode metadata)
  • YouTube IFrame API (trailer playback)
  • SponsorBlock API (video segment skipping)
  • Wikidata SPARQL (metadata enrichment)
  • AniList GraphQL API (anime ratings)

Privacy Notice - These API calls may expose:

  • Movie/series titles
  • IMDb/TMDb IDs
  • User viewing preferences
  • Proxy Usage

The script can use CORS proxies for website fetches (Allociné/RT):

  • No default CORS is set up in this script, the user must paste it inside the code (see Readme)
  • Security Risk: Using third-party proxies can expose request data

Consider:

  • Self-hosting a CORS proxy since the public ones are heavily rate-limited or with an API Key
  • Removing proxy usage if unsure
  • Reviewing the PROXIES and DIRECT_DOMAINS configurations inside the Rating provider functions

Best Practices

For Users:

  • Review Code: This script runs in your browser - review it before use
  • HTTPS Only: Ensure Emby is running over HTTPS
  • Content Security Policy: Be aware this script loads external resources

For Contributors:

  • No Secrets: Never commit API keys, tokens, or credentials

Known Limitations

  • Client-Side Execution: All code runs in the user's browser
  • API Key Exposure: API keys in client-side code are visible to users
  • Third-Party APIs: Dependent on external service availability and security
  • CORS Proxies: May introduce additional security risks

Reporting a Vulnerability

If you discover a security vulnerability in Spotlight.js, please report it responsibly:

  • Do NOT create a public GitHub issue for security vulnerabilities
  • Send a detailed report via GitHub Security Advisories

Please provide:

  • Description of the vulnerability
  • Steps to reproduce the issue
  • Potential impact assessment
  • Suggested fix (if available)
  • Affected versions