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

hawhodid

Latest version: v0.0.2

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: Tabisch
1 Versions
27 Downloads

Scan summary

hawhodid was last scanned on 30 Nov 2026 at version 0.0.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 30 Nov 2026.
  • Findings: No rules fired in version 0.0.2.
  • Downloads: 27 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.2 LATEST 30 Nov 2026 No rules fired

No rules fired in 0.0.2

Findings

Findings for v0.0.2. 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.0.2; other versions have their own rules, not their own score.

README

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

ha-whodid

Get userid from context objects, even if the context itself does not have a userid provided.

How it works

After creating the WhoDid instance, all events will be monitored. \ For every event, the context id is stored together with its user id and parent id (in a bounded cache, oldest entries are dropped first). \ Automations and scripts create a new context whose parent id points to the context that triggered them. getUserId follows this parent chain back to its root, so a user is found even through several automations/scripts in a row. \ If the root has neither a user nor a parent, the change came from a device or integration and None is returned right away.

getOrigin(context) returns the full picture: kind ("user", "system" for device/integration, or "unknown" if the chain could not be followed), user_id, and chain, the automations/scripts that were passed through.

All integrations using this package will share a single instance. \ This is done to save memory.

Example code

from hawhodid import WhoDid

  async def handle_servicecall(call: ServiceCall):
      whodidInstance = WhoDid(hass=call.hass)

      userid = await whodidInstance.getUserId(context=call.context)

      if userid == None:
          return

      origin = await whodidInstance.getOrigin(context=call.context)
      # Origin(kind="user", user_id="...", chain=["automation.b", "script.s"])

This best to put WhoDid(hass=hass) into the setup or async_setup function of your integration to ensure that all events from the beginning are accounted for.

Work in progress

This is a bare bones implementation, that i made for my own integrations. \ I only made this to prevent code duplication and reduce memory usage. \ If you need something for you or any bugs, just create an issue or provide a solution with a PR. \ Both are appreciated.

Releasing

  1. Bump version in pyproject.toml and merge to main.
  2. Either run the Tag main workflow (Actions tab, run on main), which tags main as v<version> and publishes it, or create a branch/tag named v<version> (e.g. v0.0.2) yourself.

The Publish to PyPI workflow runs only for those two cases, never on pushes or merges to main. It fails if the ref name does not match the pyproject.toml version. It uses the PYPI_PASSWORD secret (a PyPI API token).

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 hawhodid

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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