last_layer logo

last_layer

arekusandr/last_layer

Ultra-fast low latency LLM prompt injection jailbreak detection

GraphCanon updated Sep 14, 2026 · GitHub synced Sep 14, 2026

30views this month

133 stars6 forksLast push Jul 26, 2024 Python MIT

Decision brief

An ultra-fast Python tool for detecting prompt injections and jailbreak attempts in large language models suitable for projects requiring rapid security evaluations, with low-latency performance.

Good fit when

  • When you need fast detection of potential security vulnerabilities due to unauthorized prompt manipulations in real-time scenarios involving LLMs
  • In situations where the immediate isolation or flagging of jailbreak attempts is crucial to maintain system integrity and user safety

Avoid when

  • If your application does not require ultra-low latency detection and can afford slower, potentially more comprehensive security evaluations
  • For environments that prefer a broader range of security features beyond prompt injection detection, as last_layer focuses specifically on this aspect with speed in mind

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (780d since push)
As of Sep 14, 2026
Provenance
Not a fork · Personal account
As of Sep 14, 2026
Security (OSV)
185 low (185 low)
As of Jul 15, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install last_layer
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Last Layer is an ultra-fast tool designed for low-latency detection of prompt injections and jailbreak attempts in large language models.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Sep 14, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 14, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 14, 2026)

```python from last_layer import scan_prompt, scan_llm
Source link

Tags

README

📦 Installation To install , simply run: ⛓️ Quick Start Import and use last layer in your project to scan prompts and responses from LLMs: ```python from last layer import scan prompt, scan llm License Distributed under the MIT License. See LICENSE for more information.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.