Scan your whole stack
From OX Research Newsroom
Are you using fennas?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
fennas was last scanned on 1 Dec 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 1 Dec 2026 | No rules fired |
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.
The publisher’s own README, as collected from the registry.
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.
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),
)
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)
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.
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
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.