Malicious Code Exfiltration in time-server-analyzer Package

time-server-analyzer Updated 03 Dec 2025

Summary

25/02/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191903: Malicious code in time-server-analyzer (PyPI). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The time-server-analyzer package, available on PyPI, is designed for analyzing and checking server time. However, it has been compromised by malicious actors who have embedded code that exfiltrates sensitive information. This vulnerability poses a significant risk to users who rely on this package for legitimate purposes.

Vulnerability Detail

The vulnerability originates from a campaign that includes packages like time-check-server and snapshot-photo, which appear benign but are designed to send sensitive data to a remote server. The malicious code is hidden within a dependency of the package, specifically in the client.py file, which has been altered to exfiltrate cloud credentials instead of just the date. This campaign has been active for at least two years, indicating a persistent threat to users of the affected packages.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall time-server-analyzer

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the time-server-analyzer package and look for alternative packages that provide similar functionality without the risk of malicious code. Additionally, users should monitor their cloud credentials and change them if they suspect they have been compromised.

Conclusion

The time-server-analyzer package has been compromised with malicious code that exfiltrates sensitive information. Users should take immediate action to update their packages and monitor for any signs of compromise. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.

See every vulnerability recorded for time-server-analyzer →

Share this vulnerability

FAQ

The time-server-analyzer package is a Python library used for analyzing and checking server time.

The malicious code sends sensitive information, such as cloud credentials, to a remote server disguised as a legitimate function.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you suspect that your credentials have been compromised, immediately change them and review your security practices.

Yes, users are encouraged to look for alternative packages that do not have a history of malicious activity.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall time-server-analyzer

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback