{"data":{"slug":"arekusandr-last-layer","name":"last_layer","tagline":"Ultra-fast low latency LLM prompt injection jailbreak detection","github_url":"https://github.com/arekusandr/last_layer","owner":"arekusandr","repo":"last_layer","owner_avatar_url":"https://avatars.githubusercontent.com/u/164400244?v=4","primary_language":"Python","stars":138,"forks":6,"topics":["chatgpt-prompts","jailbreak","large-language-models","llm-guard","llm-guardrails","llm-local","llm-security","prompt-engineering","security-tools"],"archived":false,"github_pushed_at":"2024-07-26T02:56:47+00:00","maintenance_label":"Dormant","stars_delta_30d":5,"url":"https://www.graphcanon.com/tools/arekusandr-last-layer","markdown_url":"https://www.graphcanon.com/tools/arekusandr-last-layer.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/arekusandr-last-layer","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=arekusandr-last-layer","description":"Ultra-fast, low latency LLM prompt injection/jailbreak detection ⛓️","homepage_url":"https://vibe-eval.com","license":"MIT","open_issues":14,"watchers":1,"ai_summary":"Last Layer is an ultra-fast tool designed for low-latency detection of prompt injections and jailbreak attempts in large language models.","readme_excerpt":"## 📦 Installation\n\nTo install `last_layer`, simply run:\n\n```shell\npip install last_layer\n```\n\n---\n\n## ⛓️ Quick Start\n\nImport and use last_layer in your project to scan prompts and responses from LLMs:\n\n```python\nfrom last_layer import scan_prompt, scan_llm\n\n---\n\n## License\n\nDistributed under the MIT License. See LICENSE for more information.","github_created_at":"2024-03-29T10:54:35+00:00","created_at":"2026-07-15T10:45:20.675947+00:00","updated_at":"2026-10-23T06:00:32.124017+00:00","categories":[{"slug":"evaluation-observability","name":"Evaluation & Observability","url":"https://www.graphcanon.com/categories/evaluation-observability","markdown_url":"https://www.graphcanon.com/categories/evaluation-observability.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/evaluation-observability"}],"tags":[{"slug":"chatgpt-prompts","name":"chatgpt-prompts"},{"slug":"jailbreak","name":"jailbreak"},{"slug":"large-language-models","name":"large-language-models"},{"slug":"llm-guard","name":"llm-guard"},{"slug":"llm-guardrails","name":"llm-guardrails"},{"slug":"llm-local","name":"llm-local"},{"slug":"llm-security","name":"llm-security"},{"slug":"prompt-engineering","name":"prompt-engineering"}],"trust":{"provenance":{"is_fork":false,"github_id":779234798,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-10-23T06:00:30.576Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":819,"last_release_at":"2024-04-12T12:56:22Z","stars_delta_30d":5,"open_issues_delta_30d":1},"security_summary":{"last_scan_at":"2026-07-15T10:45:24.023297+00:00","scan_profile":"deps","status":"findings","critical_count":0,"high_count":0,"medium_count":0,"low_count":185,"scanner":"osv@v1","scan_id":"c34dfaa5-8708-492f-b02a-34976879021a","pending_review_count":0}},"capability_facts":{"mcp":{"method":"github-tree-and-contents@2","reason":"No explicit MCP server declaration was found in the inspected manifests. Other layouts and implementations were not tested.","source":"repo_scan","status":"unknown","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.116Z","server_manifest":null},"scan":{"method":"github-tree-and-contents@2","source":"repo_scan","status":"complete","version":2,"coverage":{"scope":"bounded-repository-manifests","tree_complete":true,"selected_files":1,"candidate_files":1},"revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.116Z","observations":[{"path":"@revision","bytes":4896,"status":"present","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/commit/a60e528049e963117e42475fd2a6057d5cd3c4e8","http_status":200,"observed_at":"2026-10-23T06:00:31.334Z"},{"path":"@tree","bytes":6902,"status":"present","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","http_status":200,"observed_at":"2026-10-23T06:00:31.473Z"},{"path":"docker-compose.yml","reason":"not-listed-in-complete-tree","status":"not-found","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.473Z"},{"path":"Dockerfile","reason":"not-listed-in-complete-tree","status":"not-found","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.473Z"},{"path":"mcp.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.473Z"},{"path":"package.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.473Z"},{"path":"pyproject.toml","bytes":1138,"status":"present","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/blob/a60e528049e963117e42475fd2a6057d5cd3c4e8/pyproject.toml","http_status":200,"observed_at":"2026-10-23T06:00:31.601Z"},{"path":"server.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.473Z"}]},"has_cli":{"value":true,"method":"repository-declaration@2","source":"pyproject.toml:[tool.poetry.scripts]","status":"declared","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/blob/a60e528049e963117e42475fd2a6057d5cd3c4e8/pyproject.toml","observed_at":"2026-10-23T06:00:31.116Z"},"languages":{"value":["python"],"method":"github-tree-and-contents@2","source":"github.language+pyproject.toml","revision":"a60e528049e963117e42475fd2a6057d5cd3c4e8","source_url":"https://github.com/arekusandr/last_layer/tree/a60e528049e963117e42475fd2a6057d5cd3c4e8","observed_at":"2026-10-23T06:00:31.116Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-10-23T06:00:31.116Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["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"],"when_not_to_use":["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"],"source":"enrich:decision_facts","observed_at":"2026-07-16T21:30:13.782Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"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."}]}}