last_layer logo

last_layer

arekusandr/last_layer

Ultra-fast low latency LLM prompt injection jailbreak detection

GraphCanon updated Oct 23, 2026 · GitHub synced Oct 23, 2026

138 stars6 forksLast push Jul 26, 2024 Python MIT

Decision brief

Unverified catalog guidance: 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

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

Avoid when

  • Unverified catalog guidance: If your application does not require ultra-low latency detection and can afford slower, potentially more comprehensive security evaluations
  • Unverified catalog guidance: 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 (819d since push)
As of Oct 23, 2026
Provenance
Not a fork · Personal account
As of Oct 23, 2026
Security (OSV)
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

README installation instruction · observed Oct 23, 2026

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
Declared CLI entrypoint

Source: pyproject.toml:[tool.poetry.scripts] · Oct 23, 2026

MCP server
Unknown; MCP server not established by this scan

Source: repo_scan · Oct 23, 2026

Languages
python

Source: github.language+pyproject.toml · Oct 23, 2026

Categories

Compatibility

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

Documented Python runtime (not runtime-tested)Python

Source: README excerpt (readme_declaration_v2, Oct 23, 2026)

pip install last_layer
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.