diff --git "a/benchmark/task4_hacker_exploit_labeling/val.jsonl" "b/benchmark/task4_hacker_exploit_labeling/val.jsonl"
deleted file mode 100644--- "a/benchmark/task4_hacker_exploit_labeling/val.jsonl"
+++ /dev/null
@@ -1,1933 +0,0 @@
-{"id": "a1435fa9372f0e2dc0d3", "text": "[Forced Browsing] Remote 0click exfiltration of Safari user's IP address\n\n> NOTE! Thanks for submitting a report! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!\n\n**Summary:** A malicious actor when embedding content into Twitter content (for example, see this ████) can lookup the IP address of a user without the user consenting to loading the 3rd party domain.\n\n**Description:** When the user loads the page and doesn't click on any content Safari preloads the ad target domain (in this case ██████████). Using that, without the user tapping on the link, my server receives a TCP connection where I extract the IP and hostname of the victim. Using that information, I can lookup their approximate address, maybe spoof an IP in their city and spearphish one of their accounts, find their telco or ISP provider and use their twitter name to take over their account, many things are possible.\n\nThe problem is caused by use of remote domain links with preconnect.\n\n\n\n\nI recommend a mitigation of removing preload and preconnect for 3rd party domains.\n\nThis has huge privacy and security implications. I can remotely extract a targeted user's IP address by sending them a email, text message, or just tweeting at them. They are not aware it happened, it doesn't show up in their browser history because the user doesn't tap on the 3rd party link.\n\nOnce you have mitigated this issue I will need to notify Apple.\n\n## Steps To Reproduce:\n\n(Add details for how we can reproduce the issue)\n\n 1. I send a targeted user a link to a tweet such as https://twitter.com/██████/status/███████\n2. They use Safari to open the link\n3. When the user mouses over the image on a mac (or scrolls the screen on an iPhone) Safari will connect to ████.\n4. My server lists out incoming TCP connections.\n\n## Impact:\n\nSilently exfiltrating a user's IP address remotely opens them up to lots of attacks. You may see an egg, but I see a gateway to spear phishing the user by initiating regular MITM attack (showing the login request from the same location as the user), I see it been useful to do an account takeover via their ISP or telco. I see it useful to know when a user is at home or at work, in some cases I can tell they work at a certain company. In the case of a popular streamer it opens them up to DDOS attacks by just clicking on a \"safe\" tweet. There are huge possibilities for doxxing individuals using this exploit.\n\nYou can also target an individual (for example an individual you know is in America somewhere) through twitter ads by adding 99 twitter handles from Japan, then the target twitter handle. That way, you know when your ad is shown if it is the target because they won't be in Japan.\n\nThe only thing to bring down the impact of this attack is it is macOS and iOS Safari only. But if you don't think this attack has high severity I can demonstrate more use cases.\n\n## Supporting Material/References:\n\n * List any additional material (e.g. screenshots, logs, etc.)\n\nHere is a simple C server for logging incoming connections.\n\n```\n#include \n/* --- server.c --- */\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n\nint main(int argc, char *argv[])\n{\n\tint listenfd = 0, connfd = 0;\n\tstruct sockaddr_in serv_addr;\n\n\tchar sendBuff[1025];\n\ttime_t ticks;\n\n\t/* creates an UN-named socket inside the kernel and returns\n\t * an integer known as socket descriptor\n\t * This function takes domain/family as its first argument.\n\t * For Internet family of IPv4 addresses we use AF_INET\n\t */\n\tlistenfd = socket(AF_INET, SOCK_STREAM, 0);\n\tmemset(&serv_addr, '0', sizeof(serv_addr));\n\tmemset(sendBuff, '0', sizeof(sendBuff));\n\n\tserv_addr.sin_family = AF_INET;\n\tserv_addr.sin_addr.", "label": 1, "label_name": "vulnerability_discussion", "cve_ids": [], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2022-06-15", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "fd3faab96745c5605b5c", "text": "[Privilege Escalation] EC2 subdomain takeover at http://████████/\n\nThere is a dangling DNS A record that points to an EC2 instance that no longer exists, I was able to claim the EC2 instance and host content on http://███████/.\n\n## Steps To Reproduce:\n\n 1. Visit http://█████████/██████████.html and view the PoC: ██████\n\n\n## Suggested Remediation Steps\n\n Remove the A record pointing to the current ec2 instance. \n\n## Impact\n\nHosting content on http://█████/ and potentionally fully bypassing web protections like CORS (in cases of `████████`) or redirecting users to malicious pages.\n\n## Impact\n\nHosting content on http://██████/ and potentionally fully bypassing web protections like CORS (in cases of `██████████`) or redirecting users to malicious pages,\n\n## System Host(s)\n██████\n\n## Affected Product(s) and Version(s)\n\n\n## CVE Numbers\n\n\n## Steps to Reproduce\nVisit http://██████████/█████.html and view the PoC: █████\n\n## Suggested Mitigation/Remediation Actions\nRemove the A record pointing to the current ec2 instance.", "label": 0, "label_name": "non_exploit_noise", "cve_ids": [], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2022-02-14", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "3729708a8fa739738f41", "text": "[Business Logic Errors] CVE-2022-32207: Unpreserved file permissions\n\n## Summary:\nCurl fails to preserve file permissions when writing:\n- `CURLOPT_COOKIEJAR` database\n- `CURLOPT_ALTSVC` database\n- `CURLOPT_HSTS` database\n\nInstead the permissions is always reset to 0666 & ~umask if the file is updated.\n\nAs a result a file that was before protected against read access by other users becomes other user readable (as long as umask doesn't have bit 2 set).\nOut of these files only the `CURLOPT_COOKIEJAR` is likely to contain sensitive information.\n\nIn addition curl will replace softlink to the database with locally written database, or if the application is run privileged, specifying `\"/dev/null\"` as a file name can lead to system overwriting the special file and result in inoperable system.\n\nThis is CWE-281: Improper Preservation of Permissions\n\n## Steps To Reproduce:\n\n 1. `umask 022`\n 2. `install -m 600 /dev/null cookie.db`\n 3. `curl -b cookie.db -c cookie.db https://google.com`\n 4. `ls -l cookie.db`\n\nAt least for `CURLOPT_COOKIEJAR` this vulnerability was introduced in https://github.com/curl/curl/commit/b834890a3fa3f525cd8ef4e99554cdb4558d7e1b - this change was introduced to fix a issue https://github.com/curl/curl/issues/4914\n\n## Fix recommendations\n\nIf a file file is created and moved over a the old one, only do this if the file is regular file. Anything else is likely going to end up causing unexpected behaviour, outright failing, or if the user has high enough permissions, damage to the operating system.\n\nSafe cloning of file permissions can only be achieved if the owner / group of the file match the current user (else group permissions might be incorrect). Hence creating a new file and moving it over the old one should IMO only be attempted if the file user and group match that of the previous file.\n\nIf a method of creating a new file is still desired, something like this could be attempted to cover the most use cases:\n\n ```\n /* If old file is a regular file attempt creating a new file with same ownership */\n struct stat st;\n if (stat(filename, &st) != -1 && S_ISREG(st.st_mode)) {\n FILE *file;\n int fd;\n struct stat nst;\n fd = open(tempstore, O_CREAT | O_EXCL, 0700);\n if (fd == -1)\n goto fail;\n if (fstat(fd, &nst) == -1 ||\n nst.st_uid != st.st_uid || nst.st_gid != st.st_gid) {\n /* newly created file doesn't have same ownership, we can't proceed safely */\n close(fd);\n unlink(tempstore);\n goto fail; // or perhaps try direct write instead?\n }\n /* use same mode as old file */\n if (fchmod(fd, st.st_mode) == -1) {\n close(fd);\n unlink(tempstore);\n goto fail;\n }\n file = fdopen(fd, FOPEN_WRITETEXT);\n if (!file) {\n close(fd);\n unlink(tempstore);\n goto fail;\n }\n /* write to file */\n /* if successful move file over filename etc */\n }\n else {\n /* use direct file write */\n }\n ```\n\n## Impact\n\nLeak of sensitive information", "label": 1, "label_name": "vulnerability_discussion", "cve_ids": ["CVE-2022-32207"], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2022-06-27", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "ced4695ce3cd956062d5", "text": "[Path Traversal] [CVE-2020-3452] on ███████\n\nThe following subdomain is vulnerable to CVE-2020-3452, which is an unauthenticated file read in Cisco ASA & Cisco Firepower.\n\n# URL:\nhttps://████/\n\n# Vulnerable URL:\nhttps://███/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../\n██████████\n\n# Resources:\nhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86\n\n## Impact\n\nThe vulnerability could allow an unauthenticated, remote attacker to conduct directory traversal attacks and read sensitive files on a targeted system.\n\n## System Host(s)\n███\n\n## Affected Product(s) and Version(s)\n\n\n## CVE Numbers\nCVE-2020-3452\n\n## Steps to Reproduce\n* Go to https://██████/+CSCOE+/logon.html\n* Intercept the request with Burpsuite\n* Send the request to Repeater\n* Change the URL path to the following `/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../as` an example to read \"/+CSCOE+/portal_inc.lua\" file.\n* You will get the portal_inc.lua file\n\n## Suggested Mitigation/Remediation Actions", "label": 2, "label_name": "actionable_exploit", "cve_ids": ["CVE-2020-3452"], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2022-04-07", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "67372289d9a433efb183", "text": "greetings, I am looking for a laptop that has a build in wifi that has the capability of monitor/injection . I purchased a ALFFA AWUs036ACS wifi adapter and for the love god i cannot figure why it is not working with Kali Linux. I have search online for solutions but none so far has helped. So i am so frustrated that i would rather buy a laptop that has Kali with a working wifi out of the box", "label": 0, "label_name": "non_exploit_noise", "cve_ids": [], "source": "hackersploit", "forum_id": "hackersploit", "timestamp": "2023-10-29", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "4c7e8a6257bbfebf7529", "text": "[Code Injection] Synthetics Recorder: Code injection when recording website with malicious content\n\n## Summary\n\nHello team! Synthetics recorder has a `quote` function to escape user-controlled input, but in one particular scenario the escaping isn't enough and a malicious website can inject arbitrary code in the recorder session.\n\n## Description\n\nThe `waitForNavigation` event calls `quote` within the context of a multi-line comment (`/* ... */`) so we can break out of that without using the escaped characters ([reference](https://github.com/elastic/synthetics-recorder/blob/v0.0.1-beta.3/electron/syntheticsGenerator.ts#L217=))\n\nIn a normal situation the code generated looks like this for a navigation event to `https://example.com`\n\n```javascript\n page.waitForNavigation(/*{ url: 'https://example.com' }*/),\n```\n\nbut it's possible to escape out of the comment without using single quotes (which would be escaped) with a specially crafted URL like `https://example.com?q=*/require(`child_process`).exec(`touch$IFS/tmp/haxx`)/*`\n\n```javascript\n page.waitForNavigation(/*{ url: 'https://example.com?q=*/require(`child_process`).exec(`touch$IFS/tmp/dee-see`)/*' }*/),\n```\n\nThe syntax highlighting here on HackerOne helps visualizing how that works. `$IFS` is used because spaces get encoded to `%20`.\n\nIt's possible to have code execution when the victim uses the `test` feature inside of the synthetic recorder but the code we're allowed to use is fairly limited because the `require` function isn't available. The maximum impact is when the user saves the recorded session as a project and executes it using the synthetic runner.\n\n## Steps To Reproduce\n\n### Preparation\n\nInstall the synthetics recorder (See https://github.com/elastic/synthetics-recorder/, I'm following the instructions to run it in development mode (`nvm install; nvm use; npm install; npm run dev`) but you could also download the binary on the releases page)\n\n### Reproduction\n\n1. Start Synthetics Recorder and enter `http://deesee.xyz:4567` in the text box where it says \"Enter a Starting URL\"\n1. Click \"Start Recording\"\n1. A browser has opened, this website is a modified clone of my blog. Click the GitLab icon in the top right\n\n {F1820934}\n\n1. Close the browser window\n\n In a normal Synthetics Recorder session there would be much more steps to record but here we only did what's necessary to trigger the issue.\n\n1. Click the \"Export\" button and you'll see this code\n\n ```javascript\n step('Go to http://deesee.xyz:4567/', async () => {\n await page.goto('http://deesee.xyz:4567/');\n await Promise.all([\n page.waitForNavigation(/*{ url: 'https://gitlab.com/dee-see?query=*/require(`child_process`).exec(`touch$IFS/tmp/dee-see`)/*' }*/),\n page.click('[aria-label=\"GitLab\"] svg')\n ]);\n });\n ```\n\n We can see the payload is in place. It's fairly obvious because we only recorded one step, but in a long recording session it would be buried deeper.\n\n1. Click the \"Export\" button and save the file in a directory\n1. In that directory run `npm init -y; npm install @elastic/synthetics; npx @elastic/synthetics .`\n1. When the tests finished running observe that the `touch /tmp/dee-see` command ran\n\nThose last steps seem contrived, but that's how a synthetics test suite is setup and how a developer would make sure the session they just recorded would be integrated into their builds and whatnot.\n\n## Supporting Material/References:\n\n{F1820942}\n\n## CVSS\n\nConfidentiality and Integrity impact are High because of the arbitrary command execution. I also included Availability impact because those commands can shut down the system. I will concede though that Attack Complexity could be \"very high\" if that existed on the Attack Complexity scale. :)\n\n## Impact\n\nSomeone with control over the website's content can run arbitrary code where ever the synthetics recorded session will be re-executed.\n\nDeveloper computers and CI systems come to mind. The most realistic attack scenario would be privilege escalation from within a company.", "label": 1, "label_name": "vulnerability_discussion", "cve_ids": [], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2023-04-08", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "628965d7b308c6d9fa1f", "text": "It’s awesome that you’re diving into the world of Penetration Testing and tackling those CTF challenges. They can be mind-bending, right?", "label": 0, "label_name": "non_exploit_noise", "cve_ids": [], "source": "hackthebox", "forum_id": "hackthebox", "timestamp": "2023-10-09", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "51dc3d429d4301b21444", "text": "[Information Disclosure] The dashboard is exposed in https://███\n\n**Description:**\nAt first, hello, after searching in sub-domains, the dashboard was accessed by Google Dorking Which is supposed to be protected\nhttps://█████████l/arsys/forms/arpcp/ARPC%3AWeb%3AHier%3ADashboard/Default+Admin+View/?F536871388=1&mode=Submit&cacheid=c66791da\n\n## References\nhttps://owasp.org/www-project-top-ten/2017/A3_2017-Sensitive_Data_Exposure\n\n## Impact\n\nCWE-200\nhttps://cwe.mitre.org/data/definitions/200.html\n\n## System Host(s)\n█████████l\n\n## Affected Product(s) and Version(s)\nwebsite\n\n## CVE Numbers\nCVE-2020-7130\n\n## Steps to Reproduce\nAfter searching in Google dorking on a file extension or endpoint jspDashboard found in the URL\nhttps://████████l/arsys/forms/arpcp/ARPC%3AWeb%3AHier%3ADashboard/Default+Admin+View/?F536871388=1&mode=Submit&cacheid=c66791da \n██████\n\n==Note==\n that it is leaked, you can log out and bypass it by typing anything in the ```username``` box\n\n## Suggested Mitigation/Remediation Actions\nCollect sensitive information on a local server and protect endpoints\n\n\n---------------------------------------\nWith best regards and love\nToni...", "label": 2, "label_name": "actionable_exploit", "cve_ids": ["CVE-2020-7130"], "source": "hackerone", "forum_id": "hackerone", "timestamp": "2022-09-06", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "9949d3af940bda6f8f08", "text": "use the command tasklist as indicated in the question. you got the rest right (almost)", "label": 0, "label_name": "non_exploit_noise", "cve_ids": [], "source": "hackthebox", "forum_id": "hackthebox", "timestamp": "2022-12-29", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "8acb9d8f9e08ac3f1b3e", "text": "Hi, How did you get the result of Harry is 1337?. What method did you used?", "label": 0, "label_name": "non_exploit_noise", "cve_ids": [], "source": "hackthebox", "forum_id": "hackthebox", "timestamp": "2022-03-28", "split": "val", "label_source": "weak_cve_metadata_plus_actionability_terms"}
-{"id": "78faf5e23069ae8cb2b1", "text": "[Open Redirect] Open Redirect on www.redditinc.com via `failed` query param\n\nhello dear support\n\nI have found the issue on https://www.redditinc.com/ama\n\nHTTP request \n\nPOST /ama HTTP/1.1\nContent-Type: multipart/form-data; boundary=----------YWJkMTQzNDcw\nCookie: CRAFT_CSRF_TOKEN=958b77eaad06452d68f0be48c5edf5b0d928b51a6c4afbb5f2f95397f18b43e2a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A40%3A%22jZdkLxGgRNVPWIF2OyxH-Lig9pTukLSS8OxYOVST%22%3B%7D;OptanonAlertBoxClosed=2021-07-12T01:35:46.350Z;OptanonConsent=isIABGlobal=false&datestamp=Mon+Jul+12+2021+04%3A35%3A46+GMT%2B0300+(Arabian+Standard+Time)&version=6.13.0&hosts=&consentId=71f221d5-8a57-4a90-9844-0a863bfc837d&interactionCount=2&landingPath=NotLandingPage&groups=C0001%3A1%2CC0002%3A1%2CC0004%3A1\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Encoding: gzip,deflate\nContent-Length: 1508\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4298.0 Safari/537.36\nHost: www.redditinc.com\nConnection: Keep-alive\n\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"action\"\n\nzendesk/default/submit\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"agreement\"\n\nyes\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"description\"\n\n555\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"email\"\n\nsample@email.tst\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"email_confirm\"\n\nsample@email.tst\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"failed\"\n\nhttp://xfs.bxss.me\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"name\"\n\npHqghUme\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"organization\"\n\nAcunetix\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"participants\"\n\npHqghUme\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"redirect\"\n\n74bcbfb4f9c047fb4e467dd203ca3b30f2b31216551ab9db2bf44911c029d506thank-you/ama-form-step-1\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"subject\"\n\nAMA Request\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"success\"\n\nthank-you/ama-form-step-1\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"ticket_form_id\"\n\n360000307211\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"timeframe\"\n\nnext-week\n------------YWJkMTQzNDcw\nContent-Disposition: form-data; name=\"timezone\"\n\n(GMT-05:00) Eastern Time (US & Canada)\n------------YWJkMTQzNDcw--\n===============================================================\n\nvuln here :Content-Disposition: form-data; name=\"failed\"\n\nhttp://xfs.bxss.me\n------------YWJkMTQzNDcw\n\nCSRF PoC\n\n \n \n \n