Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pyscinan

Latest version: v0.1.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: Skarbo
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

pyscinan was last scanned on 23 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 23 Nov 2026.
  • Findings: No rules fired in version 0.1.1.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 23 Nov 2026 No rules fired
0.1.0 23 Nov 2026 No rules fired

No rules fired in 0.1.1

Findings

Findings for v0.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

pyscinan

Async Python library for Saswell (Scinan platform) Wi-Fi thermostats.

  • Local: talks directly to the thermostat over your network (TCP port 2000). No cloud, instant push updates, heartbeat and automatic reconnect.
  • Cloud: the Saswell v2.0 API used by the Saswell "Thermostat" app.

Both clients fill the same ScinanDevice model. Used by the Scinan Saswell Thermostat Home Assistant integration.

Tested with the Saswell SAS920FHL-7W-WIFI (electric floor heating). Other thermostats using a Saswell Thermostat app (for example SAS922WHL-7W-S-WIFI and Prosmart PST50W) are known to work with the cloud API.

Install

pip install pyscinan

Requires Python 3.12 or newer.

Local

The thermostat must already be on your Wi-Fi (set it up with the Thermostat app). Give it a fixed IP address; it can't be discovered automatically.

import asyncio
from pyscinan import DeviceMode, ScinanLocalClient

async def main():
    async with ScinanLocalClient("192.168.1.50") as client:
        dev = client.device
        print(dev.device_id, dev.current_temperature, dev.target_temperature, dev.mode)

        client.add_listener(lambda: print("update:", dev.current_temperature, dev.target_temperature))

        await client.set_temperature(21.5)
        await client.set_mode(DeviceMode.COMFORT)
        await client.set_away(True)   # "off" on floor heating thermostats
        await asyncio.sleep(60)       # pushes arrive every 15 s and on every change

asyncio.run(main())

Every command returns the status the thermostat answers with. A command the thermostat ignores (for example power on the SAS920FHL) returns the unchanged status, so compare it with what you asked for.

Cloud

from pyscinan import ScinanCloudClient

async with ScinanCloudClient("email@example.com", "password") as cloud:
    devices = await cloud.update_devices()
    for dev in devices.values():
        print(dev.device_id, dev.name, dev.online, dev.target_temperature)
    await cloud.set_temperature(dev.device_id, 21.5)

Pass session= to reuse an aiohttp.ClientSession. Note that the Saswell cloud only supports plain HTTP.

Command line

pyscinan status 192.168.1.50
pyscinan listen 192.168.1.50 --seconds 60
pyscinan settemp 192.168.1.50 21.5
pyscinan away 192.168.1.50 on
pyscinan mode 192.168.1.50 1          # 0 Comfort, 1 Auto (schedule), 2 Day or night
pyscinan cloud-list email@example.com # password from $SCINAN_PASSWORD or a prompt
pyscinan --help

Protocol

See PROTOCOL.md for everything known about the local protocol and the cloud API.

Development

uv sync
uv run pytest
uv run ruff check .

The tests use a fake thermostat (TCP) and a fake cloud server, so no hardware or account is needed. scripts/hw_settings_test.py runs against a real thermostat and changes its settings (then restores them).

Disclaimer

Not affiliated with Saswell or Scinan. Use at your own risk.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases pyscinan

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229