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

cactus-test-definitions

Latest version: v1.20.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: LachlanJW, mike.turner, org:anucentreforenergysystems
11 Stars
12 Forks
6 Versions
3.1K Downloads
Python Repo language

Scan summary

cactus-test-definitions was last scanned on 25 Nov 2026 at version 1.20.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 1.20.0.
  • Downloads: 3,056 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.20.0 LATEST 25 Nov 2026 No rules fired
1.19.3 11 Nov 2026 No rules fired
1.19.2 10 Nov 2026 No rules fired
1.19.1 6 Nov 2026 Not shown
1.19.0 5 Nov 2026 Not shown

No rules fired in 1.20.0

Findings

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

README

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

Cactus Test Definitions

This repository contains YAML test procedure definitions for use with the CSIP-AUS Client/Server Test Harnesses.

This repository also provides Python dataclasses to make it easier for Python code to work with these definitions. In addition, there are also helper functions for creating valid instances of these dataclasses directly from the YAML test procedure definition files.

Client Test Procedures can be found in the cactus_test_definitions/client/procedures/ directory

Server Test Procedures can be found in the cactus_test_definitions/server/procedures/ directory

Development / Testing

This repository also contains a small number of tests that verify that test definitions can be sucessfully converted to their equivalent python dataclasses.

First install the development and testing dependencies with,

# uv
uv sync --all-extras

# pip
python -m pip install --editable .[dev,test]

Once installed, run the tests with,

# uv
uv run pytest

# pip
pytest

Server Test Procedure Schema

See cactus_test_definitions/server/README.md

Client Test Procedure Schema

A TestProcedure is a YAML configuration that describes how a CSIP-Aus Client test case should be implemented by a server / compliance body. It's designed to be human readable but interpretable by a test harness for administering a test. At its most basic level, a TestProcedure is a series of a "events" that a client must trigger in sequence in order to demonstrate compliance.

Here is a minimalist definition of a test case

Description: Minimal Test Case Definition
Category: Explaining Schemas
Classes:
  - Descriptive Test Tag 1
  - Descriptive Test Tag 2
Preconditions: 
    # See definitions below for more info
    actions:
    checks:
Criteria:
    # See definitions below for more info
    checks:
Steps:
    # See definitions below for more info
    STEP_NAME:

For how to actually interpret and "run" these test cases against a CSIP-Aus Server implementation, please see cactus-runner for a reference implementation.

Steps/Events Schema

The most basic building block of a TestProcedure is a Step. Each Step will always define an Event which dictates some form of trigger based on client behavior (eg sending a particular request). When an Event is triggered, each of it's Action elements will fire which will in turn enable/disable additional Steps with new events and so on until the TestProcedure is complete. Event's can also define a set of Check objects (see doco below) that can restrict an Event from triggering if any Check is returning False/fail.

When a TestProcedure first starts, normally only a single Step will be active but more can be enabled/disabled in response to client behaviour.

Step Schema:

Steps:
  DESCRIPTIVE_TITLE_OF_STEP: # This is used to reference this step in other parts of this test procedure
    event: # 
      type:  # string identifier of the event type - see table below
      parameters: # Any parameters to modify the default behaviour of the event - see table below
      checks: # A list of Check definitions that will need to be true for this event to trigger - see section on Checks below 
    actions:
       # See action schema in the Action section below

These are the currently defined Event types that a Step can define

name params description
GET-request-received endpoint: str serve_request_first: bool/None Triggers when a client sends a GET request to the nominated endpoint. Will trigger BEFORE serving request to server unless serve_request_first is True in which case the event will be triggered AFTER the utility server has served the request (but before being proxied back to the device client).
POST-request-received endpoint: str serve_request_first: bool/None Triggers when a client sends a POST request to the nominated endpoint. Will trigger BEFORE serving request to server unless serve_request_first is True in which case the event will be triggered AFTER the utility server has served the request (but before being proxied back to the device client).
PUT-request-received endpoint: str serve_request_first: bool/None Triggers when a client sends a PUT request to the nominated endpoint. Will trigger BEFORE serving request to server unless serve_request_first is True in which case the event will be triggered AFTER the utility server has served the request (but before being proxied back to the device client).
DELETE-request-received endpoint: str serve_request_first: bool/None Triggers when a client sends a DELETE request to the nominated endpoint. Will trigger BEFORE serving request to server unless serve_request_first is True in which case the event will be triggered AFTER the utility server has served the request (but before being proxied back to the device client).
wait duration_seconds: str Triggers duration_seconds after being initially activated
proceed - Waits for a proceed signal to be sent from the Cactus UI (i.e. NOT from a client).

NOTE: The endpoint parameter used by the various -request-received events supports a rudimentary * wildcard. This will match a single "component" of the path (portion deliminated by / characters).

eg:

  • /edev/*/derp/456/derc will match /edev/123/derp/456/derc
  • /edev/* will NOT match /edev/123/derp/456/derc (the * will only match the 123 portion - not EVERYTHING)
Actions

These are the currently defined Action elements that can be included in a test. Action's can trigger at the beginning of a test (as a precondition) or whenever a Step's Event is triggered.

Action's are defined with the following schema, always as a list under an element called actions

actions: 
  - type: # string identifier of the action type - see table below
    parameters: # Any parameters to supply to the executed Action - see table below

This is an example of two Action elements that will enable a different Step and create a DERControl:

actions: 
  - type: enable-steps
    parameters:
      steps: NAME_OF_STEP_TO_ENABLE
  - type: create-der-control
    parameters:
      start: $now
      duration_seconds: 300
      opModExpLimW: 2000

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 cactus-test-definitions

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

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?

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229