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

fennas

Latest version: v0.1.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: JA2070
2 Stars
0 Forks
1 Versions
Java Repo language

Scan summary

fennas was last scanned on 1 Dec 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 1 Dec 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 1 Dec 2026 No rules fired

No rules fired in 0.1.0

Findings

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

README

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

fennas

OpenAI and Anthropic clients for Python, already pointed at a Fennas gateway. Fennas is a policy and audit gateway for LLM traffic.

pip install "fennas[openai]"
pip install "fennas[anthropic]"

Install the extra for the SDK you use. Then import it as fennas. Python 3.10 or later.

import fennas

client = fennas.openai()
reply = client.chat.completions.create(model="qwen3", messages=[{"role": "user", "content": "Hi"}])

The address comes from the argument, then FENNAS_BASE_URL, then http://localhost:8080. The key comes from the argument, then FENNAS_API_KEY. The library reads no other variable, so OPENAI_API_KEY and ANTHROPIC_API_KEY never reach Fennas. async_openai() and async_anthropic() are the async clients.

Headers

data_class and user on a client are sent with every call. The user goes in X-Fennas-User, and is recorded when the tenant's userHeader names that header. For one call, fennas.headers() builds the headers, and dry_run asks for a cost estimate without calling the model. Costs and dry runs are for tenants with showCosts: true:

claude = fennas.anthropic(data_class="confidential", user="u-17")
claude.messages.create(
    model="claude-sonnet",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hi"}],
    extra_headers=fennas.headers(dry_run=True),
)

Receipt

fennas.receipt(raw) reads what Fennas said about a call from a raw response: trace_id, cost, cost_max and output_limited. The two costs are None unless the tenant has showCosts: true.

raw = claude.messages.with_raw_response.create(
    model="claude-sonnet", max_tokens=1024, messages=[{"role": "user", "content": "Hi"}]
)
print(fennas.receipt(raw).trace_id, raw.parse().content)

Refusal

fennas.refusal(error) reads why Fennas refused a call from the SDK's error: code, message, status, trace_id and retry_after. It returns None for an error that didn't come from Fennas.

try:
    client.chat.completions.create(model="qwen3", messages=[{"role": "user", "content": "Hi"}])
except Exception as error:
    why = fennas.refusal(error)
    if why is not None:
        print(why.code, why.trace_id)

The library retries nothing, logs nothing and decides nothing: a call made without it gets the same guards, budget and audit.

More

Source, documentation and the gateway itself: https://github.com/Jamal-Akhras/fennas

The client libraries are described in https://github.com/Jamal-Akhras/fennas/blob/main/docs/client-libraries.md

Licensed under the Apache License 2.0: https://github.com/Jamal-Akhras/fennas/blob/main/LICENSE

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 fennas

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229