Slim CSRF
E452847
Slim CSRF is a middleware package for the Slim PHP framework that provides protection against Cross-Site Request Forgery attacks.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Slim CSRF canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4555527 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Slim CSRF Context triple: [Slim Framework, ecosystem, Slim CSRF]
-
A.
CSP
CSP is the commonly used abbreviation for the Conference of the States Parties, the main decision-making body overseeing implementation of the Chemical Weapons Convention.
-
B.
Slim Framework
Slim Framework is a lightweight PHP micro-framework designed for building simple yet powerful web applications and APIs with minimal overhead.
-
C.
CAPTCHA
A CAPTCHA is an automated challenge–response test used on websites to distinguish human users from bots, typically by requiring tasks that are easy for people but hard for machines.
-
D.
CRAM-MD5
CRAM-MD5 is a challenge–response authentication mechanism that uses MD5 hashing to securely verify a user's identity without transmitting their password in plaintext.
-
E.
itsdangerous
itsdangerous is a Python library for securely signing and serializing data, commonly used in web applications to protect cookies and other trusted data.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Slim CSRF Target entity description: Slim CSRF is a middleware package for the Slim PHP framework that provides protection against Cross-Site Request Forgery attacks.
-
A.
CSP
CSP is the commonly used abbreviation for the Conference of the States Parties, the main decision-making body overseeing implementation of the Chemical Weapons Convention.
-
B.
Slim Framework
Slim Framework is a lightweight PHP micro-framework designed for building simple yet powerful web applications and APIs with minimal overhead.
-
C.
CAPTCHA
A CAPTCHA is an automated challenge–response test used on websites to distinguish human users from bots, typically by requiring tasks that are easy for people but hard for machines.
-
D.
CRAM-MD5
CRAM-MD5 is a challenge–response authentication mechanism that uses MD5 hashing to securely verify a user's identity without transmitting their password in plaintext.
-
E.
itsdangerous
itsdangerous is a Python library for securely signing and serializing data, commonly used in web applications to protect cookies and other trusted data.
- F. None of above. chosen
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
PHP middleware
ⓘ
security middleware ⓘ software library ⓘ |
| abbreviationOf | Slim Cross-Site Request Forgery middleware NERFINISHED ⓘ |
| category |
CSRF protection library
ⓘ
Slim Framework middleware ⓘ |
| configurationOption |
failureCallable
ⓘ
persistentTokenMode ⓘ storageKey ⓘ storageLimit ⓘ tokenNameKey ⓘ tokenValueKey ⓘ |
| documentationFormat | README on GitHub ⓘ |
| domain | web application security ⓘ |
| feature |
CSRF token generation
ⓘ
CSRF token validation ⓘ configurable persistent token mode ⓘ configurable storage key ⓘ configurable token length ⓘ custom failure handler support ⓘ form field token injection ⓘ token storage in session ⓘ |
| framework | Slim Framework NERFINISHED ⓘ |
| implements | CSRF token pair (name and value) ⓘ |
| license | MIT License ⓘ |
| programmingLanguage | PHP NERFINISHED ⓘ |
| providesProtectionAgainst | Cross-Site Request Forgery ⓘ |
| relatedTo |
OWASP CSRF prevention guidelines
NERFINISHED
ⓘ
Slim Framework NERFINISHED ⓘ |
| repositoryPlatform | GitHub NERFINISHED ⓘ |
| requires | PHP sessions ⓘ |
| securityProperty |
helps ensure request authenticity
ⓘ
mitigates CSRF attacks ⓘ |
| softwareType | middleware package ⓘ |
| storageMechanism | PHP $_SESSION superglobal ⓘ |
| supports |
HTTP DELETE requests
ⓘ
HTTP PATCH requests ⓘ HTTP POST requests ⓘ HTTP PUT requests ⓘ |
| targetEnvironment | server-side PHP applications ⓘ |
| tokenTransport |
HTTP headers
ⓘ
hidden form fields ⓘ |
| typicalUsage | added to Slim application middleware stack ⓘ |
| usedWith |
Slim 2
NERFINISHED
ⓘ
Slim 3 NERFINISHED ⓘ |
| validationStrategy | synchronizer token pattern ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: Slim CSRF Description of subject: Slim CSRF is a middleware package for the Slim PHP framework that provides protection against Cross-Site Request Forgery attacks.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.