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

swarmauri-signing-ssh

Latest version: v0.11.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: cobycloud
107 Stars
58 Forks
1 Versions
20 Downloads
Python Repo language

Scan summary

swarmauri-signing-ssh was last scanned on 30 Nov 2026 at version 0.11.0. 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.11.0.
  • Downloads: 20 downloads.

Versions

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

No rules fired in 0.11.0

Findings

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

README

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

swarmauri_signing_ssh


Overview

Summary

An OpenSSH-based signer implementing the ISigning interface for detached signatures over raw bytes and canonicalized envelopes.

Features:

  • Detached signatures powered by OpenSSH ssh-keygen -Y for Ed25519, RSA and ECDSA keys.
  • Accepts private keys from filesystem paths or in-memory PEM blobs.
  • JSON canonicalization built in with optional CBOR canonicalization via cbor2.
  • Envelope helpers for canonicalized signing and verification workflows.
Why This Package

swarmauri_signing_ssh isolates this responsibility: OpenSSH-based signer for Swarmauri. Its package source exposes SshEnvelopeSigner, allowing consumers to select this package without treating adjacent packages as part of its public contract.

When to Use

Choose swarmauri_signing_ssh when your integration needs openSSH-based signer for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.

Features
  • SshEnvelopeSigner: Create and verify OpenSSH detached signatures.
Non-Goals

swarmauri_signing_ssh owns openSSH-based signer for Swarmauri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.


Getting Started

Prerequisites
  • OpenSSH ssh-keygen (v8.2 or newer with -Y support) must be available on PATH.
  • Install the optional cbor extra (swarmauri_signing_ssh[cbor]) to enable CBOR canonicalization.
Installation
uv
uv add swarmauri_signing_ssh
uv add swarmauri_signing_ssh
uv add "swarmauri_signing_ssh[cbor]"
pip
python -m pip install swarmauri_signing_ssh
pip install swarmauri_signing_ssh

Enable CBOR canonicalization when desired:

pip install "swarmauri_signing_ssh[cbor]"
Poetry
poetry add swarmauri_signing_ssh
poetry add swarmauri_signing_ssh
poetry add swarmauri_signing_ssh -E cbor
Quick Start
Example

Source: docs/readme/quick_start.py.

import asyncio
import subprocess
import tempfile
from pathlib import Path

from swarmauri_signing_ssh import SshEnvelopeSigner


async def main() -> bool:
    signer = SshEnvelopeSigner()

    with tempfile.TemporaryDirectory() as tmpdir:
        tmpdir_path = Path(tmpdir)
        priv_path = tmpdir_path / "id_ed25519"
        subprocess.run(
            ["ssh-keygen", "-t", "ed25519", "-N", "", "-f", str(priv_path)],
            check=True,
            stdout=subprocess.DEVNULL,
            stderr=subprocess.DEVNULL,
        )
        pubkey_line = (
            priv_path.with_suffix(".pub").read_text(encoding="utf-8").strip()
        )

        key = {
            "kind": "path",
            "priv": str(priv_path),
            "identity": "readme-demo",
        }
        payload = b"hello ssh signatures"

        signatures = await signer.sign_bytes(key, payload)
        return await signer.verify_bytes(
            payload,
            signatures,
            opts={"pubkeys": [pubkey_line], "identity": "readme-demo"},
        )


if __name__ == "__main__":  # pragma: no cover - README execution path
    print(asyncio.run(main()))
Expected Result

The example demonstrates the documented swarmauri_signing_ssh source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.


Usage

Common Workflows

Source: docs/readme/usage.py.

import asyncio
import subprocess
import tempfile
from pathlib import Path

from swarmauri_signing_ssh import SshEnvelopeSigner


async def main() -> bool:
    signer = SshEnvelopeSigner()

    with tempfile.TemporaryDirectory() as tmpdir:
        tmpdir_path = Path(tmpdir)
        priv_path = tmpdir_path / "id_ed25519"
        subprocess.run(
            ["ssh-keygen", "-t", "ed25519", "-N", "", "-f", str(priv_path)],
            check=True,
            stdout=subprocess.DEVNULL,
            stderr=subprocess.DEVNULL,
        )
        pubkey_line = (
            priv_path.with_suffix(".pub").read_text(encoding="utf-8").strip()
        )

        key = {
            "kind": "path",
            "priv": str(priv_path),
            "identity": "readme-demo",
        }
        payload = b"hello ssh signatures"

        signatures = await signer.sign_bytes(key, payload)
        return await signer.verify_bytes(
            payload,
            signatures,
            opts={"pubkeys": [pubkey_line], "identity": "readme-demo"},
        )


if __name__ == "__main__":  # pragma: no cover - README execution path
    print(asyncio.run(main()))

Supported key references

Provide the signer with a KeyRef dictionary:

  • {"kind": "path", "priv": "/path/to/id_ed25519", "identity": "optional"} references a private key on disk.
  • {"kind": "pem", "priv": "-----BEGIN OPENSSH PRIVATE KEY-----..."} accepts an OpenSSH private key as text/bytes. The key material is written to a secure temporary file for signing.

The signer derives the corresponding public key line, fingerprint (kid) and algorithm token automatically.

Verification options

  • Pass one or more OpenSSH public key lines via opts["pubkeys"] when calling verify_bytes or verify_envelope. Verification fails immediately when the list is missing or empty.
  • Override the namespace used by ssh-keygen -Y through opts["namespace"] (defaults to "file").
  • Supply the expected signer identity with opts["identity"]. Identities default to signer{i} based on index order.
  • Restrict acceptable signatures via the require mapping. Supported keys are "algs", "kids" and "min_signers".

README example: sign and verify an SSH signature

Running the script prints True once verification succeeds.

Envelope workflows

Use sign_envelope / verify_envelope alongside canonicalize_envelope to operate on structured payloads. JSON canonicalization is always available; enable the cbor extra to emit canonical CBOR bytes.

RSA keys default to sha256 hashing but accept hashalg="sha512" via either the key reference or opts. All signatures are detached (features include "detached_only"), and multiple signatures can be verified in a single call.

Configuration

Configure swarmauri_signing_ssh through the APIs in package source; its manifest describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.

Error Handling

The inspected swarmauri_signing_ssh source raises FileNotFoundError, RuntimeError, TypeError, ValueError. Handle these at the calling boundary and consult the implementation for the triggering conditions.

Best Practices

Use the explicit swarmauri_signing_ssh imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing SshEnvelopeSigner; an import or successful installation alone does not establish its runtime guarantees.


Package Boundary

What It Owns

swarmauri_signing_ssh is located in standards and owns openSSH-based signer for Swarmauri. Source-declared APIs include SshEnvelopeSigner. The manifest records its direct dependency boundary.

Public API and Import Surfaces

Import namespace: swarmauri_signing_ssh.

Source-declared exports or types: SshEnvelopeSigner.

Inspect package source for exact signatures; this inventory does not designate every internal module as stable.

Entry Points
  • peagen.plugins.signings → ssh → swarmauri_signing_ssh:SshEnvelopeSigner
  • swarmauri.signings → SshEnvelopeSigner → swarmauri_signing_ssh:SshEnvelopeSigner

The signer registers under the swarmauri.signings entry point as SshEnvelopeSigner.

Injected Dependencies

The direct installation dependencies of swarmauri_signing_ssh are swarmauri-core, swarmauri-base. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in package source.

Protocol Consumers

No direct package-manifest dependency on swarmauri_signing_ssh was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.

Extensions

For swarmauri_signing_ssh, use the source-declared public interfaces (SshEnvelopeSigner) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.


Operations and Readiness

Operational Requirements

Operate swarmauri_signing_ssh according to its actual entry points and collaborators. The dependency and Python requirements in the manifest are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.

Health and Observability

This README does not establish a standalone health endpoint for swarmauri_signing_ssh. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.

Security and Resource Limits

Apply the input, credential, and resource constraints implemented in package source. The swarmauri_signing_ssh README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.

Compatibility

This source version of swarmauri_signing_ssh declares Python >=3.10,<3.15. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.


Verification

Tests

Run python -m pytest tests/unit/test_readme_sources.py from the swarmauri_signing_ssh package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:

The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.

Certification Status

No external certification is asserted for swarmauri_signing_ssh by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.

Evidence

The README standards CI records mechanical documentation results for its tested commit. The package source and example sources support the package-boundary description; external runtime behavior requires its own test evidence.


FAQ

Why

Why select this package? swarmauri_signing_ssh provides openSSH-based signer for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.

How

How do I start? Install or synchronize the environment under Getting Started, follow the maintained example for swarmauri_signing_ssh, and consult package source for the exact types and signatures involved.

When

When should I validate an upgrade? Recheck swarmauri_signing_ssh whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.


Documentation and Related Packages

More Documentation

The repository contribution guide, package source, and manifest provide the supporting context for swarmauri_signing_ssh. The README policy defines the common document structure.

Related Packages
  • swarmauri_base: Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
  • swarmauri_core: Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
Project Links

Contributing

How to Contribute

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

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 swarmauri-signing-ssh

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

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