Use the prompt library
This page outlines the features provided by the prompt library.
Go to the
Prompt librarytab.From there, you can access the following options:
Add a prompt to the library
To add a new entry to the prompt library, follow these steps:
Click on the
Addbutton.Populate the
Author,CategoryandPromptfields.Confirm by clicking on the
Okbutton.
Remove prompt(s) from the library
To remove one or multiple entries from the prompt library, follow these steps:
Select the entries you want to remove from the table.
Click on the
Removebutton.
Export the prompt library
To export the entire prompt library, follow these steps:
Click on the
Exportbutton.Choose the destination location and give a .json extension to the exported file.
It's important to give the exported file a .json extension for it to be recognised as a JSON file.
With the pre-populated built-in examples present by default within the Prompt library tab, the resulting JSON file should contain the following entries:
[
{
"id": "3ed5b678-c6fd-4a36-8365-1b3711e1ef7f",
"author": "Alexandre Teyar",
"category": "built-in_generic",
"text": "Analyze the HTTP request and response below for potential security vulnerabilities, specifically focusing on OWASP top 10 vulnerabilities such as SQL injection, XSS, CSRF, and other common web application security threats.\n\nFormat your response as a bullet list with each point listing a vulnerability name and a brief description, in the format and exclude irrelevant information:\n\n- Vulnerability Name: Brief description of vulnerability\n\n=== Request ===\n{REQUEST}\n\n=== Response ===\n{RESPONSE}",
"created": "2024-01-31T15:10:09.941425100Z"
},
{
"id": "f0f0b1f7-e9ea-40aa-93c6-6360d27e372d",
"author": "Alexandre Teyar",
"category": "built-in_biometric",
"text": "Analyse the HTTP request and response below for potential security vulnerabilities related to the biometric authentication process.\n\nFormat your response as a bullet list with each point listing a vulnerability name and a brief description, in the format and exclude irrelevant information:\n\n- Vulnerability Name: Brief description of vulnerability\n\n=== Request ===\n{REQUEST}\n\n=== Response ===\n{RESPONSE}",
"created": "2024-01-31T15:10:09.941425100Z"
},
{
"id": "b2f1e0e8-6f29-418f-a107-582f8d14a6c5",
"author": "Alexandre Teyar",
"category": "built-in_spa",
"text": "Analyse the HTTP request and response below for potential security vulnerabilities specific to the <SPA_FRAMEWORK_NAME> framework.\n\nFormat your response as a bullet list with each point listing a vulnerability name and a brief description, in the format and exclude irrelevant information:\n\n- Vulnerability Name: Brief description of vulnerability\n\n=== Request ===\n{REQUEST}\n\n=== Response ===\n{RESPONSE}",
"created": "2024-01-31T15:10:09.941425100Z"
}
]Import/Add entries to the prompt library
To import new entries to the prompt library, follow these steps:
Click on the
Importbutton.Choose the JSON file created in the Export the prompt library section.
Send prompt to the OpenAI API or Local LLM tabs
To send a prompt directly to the OpenAI API or the Local LLM tab, follow these steps:
Right-click on an entry from the table.
Choose an option from the
Send to OpenAI APIorSend to Local LLMoptions.
Last updated
Was this helpful?