prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "import Handlebars from 'handlebars';\nimport Model from '../../models/Model';\nimport NcPluginMgrv2 from './NcPluginMgrv2';\nimport Column from '../../models/Column';\nimport Hook from '../../models/Hook';\nimport Filter from '../../models/Filter';\nimport HookLog from '../../models/HookLog';\nimport { HookLogType...
[ 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [78, 1795, 271], "buggy_code_start_loc": [69, 37, 10], "filenames": ["packages/noco-docs/content/en/developer-resources/webhooks.md", "packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts", "packages/nocodb/src/lib/meta/helpers/webhookHelpers.ts"], "fixing_code_end_loc": [72, 1794...
1,756
Determine whether the {function_name} code is vulnerable or not.
[ "import Handlebars from 'handlebars';\nimport Model from '../../models/Model';\nimport NcPluginMgrv2 from './NcPluginMgrv2';\nimport Column from '../../models/Column';\nimport Hook from '../../models/Hook';\nimport Filter from '../../models/Filter';\nimport HookLog from '../../models/HookLog';\nimport { HookLogType...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [78, 1795, 271], "buggy_code_start_loc": [69, 37, 10], "filenames": ["packages/noco-docs/content/en/developer-resources/webhooks.md", "packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts", "packages/nocodb/src/lib/meta/helpers/webhookHelpers.ts"], "fixing_code_end_loc": [72, 1794...
1,756
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (C) 2007-2016 Open Information Security Foundation\n *\n * You can copy, redistribute or modify this Program under the terms of\n * the GNU General Public License version 2 as published by the Free\n * Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6887], "buggy_code_start_loc": [4761], "filenames": ["src/stream-tcp.c"], "fixing_code_end_loc": [6888], "fixing_code_start_loc": [4762], "message": "An issue was discovered in Suricata 5.0.0. It is possible to bypass/evade any tcp based signature by overlapping a TCP segment with a fake FIN pac...
1,757
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (C) 2007-2016 Open Information Security Foundation\n *\n * You can copy, redistribute or modify this Program under the terms of\n * the GNU General Public License version 2 as published by the Free\n * Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6887], "buggy_code_start_loc": [4761], "filenames": ["src/stream-tcp.c"], "fixing_code_end_loc": [6888], "fixing_code_start_loc": [4762], "message": "An issue was discovered in Suricata 5.0.0. It is possible to bypass/evade any tcp based signature by overlapping a TCP segment with a fake FIN pac...
1,757
Determine whether the {function_name} code is vulnerable or not.
[ "package db", "import (\n\t\"database/sql\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"", "\t\"github.com/camptocamp/terraboard/config\"\n\t\"github.com/camptocamp/terraboard/internal/terraform/addrs\"\n\t\"github.com/camptocamp/terraboard/internal/terraform/states\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [378], "buggy_code_start_loc": [373], "filenames": ["db/db.go"], "fixing_code_end_loc": [380], "fixing_code_start_loc": [373], "message": "SQL Injection in GitHub repository camptocamp/terraboard prior to 2.2.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredActio...
1,758
Determine whether the {function_name} code is vulnerable or not.
[ "package db", "import (\n\t\"database/sql\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"", "\t\"github.com/camptocamp/terraboard/config\"\n\t\"github.com/camptocamp/terraboard/internal/terraform/addrs\"\n\t\"github.com/camptocamp/terraboard/internal/terraform/states\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [378], "buggy_code_start_loc": [373], "filenames": ["db/db.go"], "fixing_code_end_loc": [380], "fixing_code_start_loc": [373], "message": "SQL Injection in GitHub repository camptocamp/terraboard prior to 2.2.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredActio...
1,758
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of the TYPO3 CMS project.\n *\n * It is free software; you can redistribute it and/or modify it under\n * the terms of the GNU General Public License, either version 2\n * of the License, or any later version.\n *\n * For the full copyright and license information, please read the\n * LICE...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1093], "buggy_code_start_loc": [516], "filenames": ["typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js"], "fixing_code_end_loc": [1093], "fixing_code_start_loc": [516], "message": "TYPO3 is an open source web content management system. Prior to versions 8.7.47 ...
1,759
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of the TYPO3 CMS project.\n *\n * It is free software; you can redistribute it and/or modify it under\n * the terms of the GNU General Public License, either version 2\n * of the License, or any later version.\n *\n * For the full copyright and license information, please read the\n * LICE...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1093], "buggy_code_start_loc": [516], "filenames": ["typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js"], "fixing_code_end_loc": [1093], "fixing_code_start_loc": [516], "message": "TYPO3 is an open source web content management system. Prior to versions 8.7.47 ...
1,759
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */", "#include \"common.h\"", "#include \"git2/types.h\"\n#include \"git2/errors.h\"\n#include...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [447, 830], "buggy_code_start_loc": [440, 766], "filenames": ["src/transports/smart_pkt.c", "src/transports/smart_protocol.c"], "fixing_code_end_loc": [447, 818], "fixing_code_start_loc": [440, 765], "message": "The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allo...
1,760
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */", "#include \"common.h\"", "#include \"git2/types.h\"\n#include \"git2/errors.h\"\n#include...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [447, 830], "buggy_code_start_loc": [440, 766], "filenames": ["src/transports/smart_pkt.c", "src/transports/smart_protocol.c"], "fixing_code_end_loc": [447, 818], "fixing_code_start_loc": [440, 765], "message": "The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allo...
1,760
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */\n#include \"git2.h\"\n#include \"git2/odb_backend.h\"", "#include \"smart.h\"\n#include \"ref...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [447, 830], "buggy_code_start_loc": [440, 766], "filenames": ["src/transports/smart_pkt.c", "src/transports/smart_protocol.c"], "fixing_code_end_loc": [447, 818], "fixing_code_start_loc": [440, 765], "message": "The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allo...
1,760
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */\n#include \"git2.h\"\n#include \"git2/odb_backend.h\"", "#include \"smart.h\"\n#include \"ref...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [447, 830], "buggy_code_start_loc": [440, 766], "filenames": ["src/transports/smart_pkt.c", "src/transports/smart_protocol.c"], "fixing_code_end_loc": [447, 818], "fixing_code_start_loc": [440, 765], "message": "The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allo...
1,760
Determine whether the {function_name} code is vulnerable or not.
[ "/* \n * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)\n * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; eit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1768], "buggy_code_start_loc": [1441], "filenames": ["pjnath/src/pjnath/stun_msg.c"], "fixing_code_end_loc": [1768], "fixing_code_start_loc": [1440], "message": "PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as S...
1,761
Determine whether the {function_name} code is vulnerable or not.
[ "/* \n * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)\n * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; eit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1768], "buggy_code_start_loc": [1441], "filenames": ["pjnath/src/pjnath/stun_msg.c"], "fixing_code_end_loc": [1768], "fixing_code_start_loc": [1440], "message": "PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as S...
1,761
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n . .o8 oooo\n .o8 \"888 `888\n .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n 888 888 888 888 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [246, 21], "buggy_code_start_loc": [235, 21], "filenames": ["src/controllers/tickets.js", "src/helpers/utils/index.js"], "fixing_code_end_loc": [252, 26], "fixing_code_start_loc": [236, 22], "message": "Reflected XSS on ticket filter function in GitHub repository polonel/trudesk prior to 1.2.2. T...
1,762
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n . .o8 oooo\n .o8 \"888 `888\n .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n 888 888 888 888 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [246, 21], "buggy_code_start_loc": [235, 21], "filenames": ["src/controllers/tickets.js", "src/helpers/utils/index.js"], "fixing_code_end_loc": [252, 26], "fixing_code_start_loc": [236, 22], "message": "Reflected XSS on ticket filter function in GitHub repository polonel/trudesk prior to 1.2.2. T...
1,762
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [246, 21], "buggy_code_start_loc": [235, 21], "filenames": ["src/controllers/tickets.js", "src/helpers/utils/index.js"], "fixing_code_end_loc": [252, 26], "fixing_code_start_loc": [236, 22], "message": "Reflected XSS on ticket filter function in GitHub repository polonel/trudesk prior to 1.2.2. T...
1,762
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [246, 21], "buggy_code_start_loc": [235, 21], "filenames": ["src/controllers/tickets.js", "src/helpers/utils/index.js"], "fixing_code_end_loc": [252, 26], "fixing_code_start_loc": [236, 22], "message": "Reflected XSS on ticket filter function in GitHub repository polonel/trudesk prior to 1.2.2. T...
1,762
Determine whether the {function_name} code is vulnerable or not.
[ "define( [\n\t\"./core\",\n\t\"./core/isAttached\",\n\t\"./var/flat\",\n\t\"./var/isFunction\",\n\t\"./var/push\",\n\t\"./var/rcheckableType\",\n\t\"./core/access\",\n\t\"./manipulation/var/rtagName\",\n\t\"./manipulation/var/rscriptType\",\n\t\"./manipulation/wrapMap\",\n\t\"./manipulation/getAll\",\n\t\"./manipul...
[ 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "define( [\n\t\"./core\",\n\t\"./core/isAttached\",\n\t\"./var/flat\",\n\t\"./var/isFunction\",\n\t\"./var/push\",\n\t\"./var/rcheckableType\",\n\t\"./core/access\",\n\t\"./manipulation/var/rtagName\",\n\t\"./manipulation/var/rscriptType\",\n\t\"./manipulation/wrapMap\",\n\t\"./manipulation/getAll\",\n\t\"./manipul...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint no-multi-str: \"off\" */", "var FILEPATH = \"/test/data/testinit.js\",\n\tactiveScript = [].slice.call( document.getElementsByTagName( \"script\" ), -1 )[ 0 ],\n\tparentUrl = activeScript && activeScript.src ?\n\t\tactiveScript.src.replace( /[?#].*/, \"\" ) + FILEPATH.replace( /[^/]+/g, \"..\" ) + \"/\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint no-multi-str: \"off\" */", "var FILEPATH = \"/test/data/testinit.js\",\n\tactiveScript = [].slice.call( document.getElementsByTagName( \"script\" ), -1 )[ 0 ],\n\tparentUrl = activeScript && activeScript.src ?\n\t\tactiveScript.src.replace( /[?#].*/, \"\" ) + FILEPATH.replace( /[^/]+/g, \"..\" ) + \"/\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\" dir=\"ltr\" id=\"html\">\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n\t<t...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\" dir=\"ltr\" id=\"html\">\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n\t<t...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"ajax\", {\n\tafterEach: function() {\n\t\tjQuery( document ).off( \"ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess\" );\n\t\tmoduleTeardown.apply( this, arguments );\n\t}\n} );", "( function() {\n\tQUnit.test( \"Unit Testing Environment\", function( assert ) {\n\t\tassert.expect( ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"ajax\", {\n\tafterEach: function() {\n\t\tjQuery( document ).off( \"ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess\" );\n\t\tmoduleTeardown.apply( this, arguments );\n\t}\n} );", "( function() {\n\tQUnit.test( \"Unit Testing Environment\", function( assert ) {\n\t\tassert.expect( ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"attributes\", {\n\tafterEach: moduleTeardown\n} );", "function bareObj( value ) {\n\treturn value;\n}", "function functionReturningObj( value ) {\n\treturn function() {\n\t\treturn value;\n\t};\n}", "function arrayFromString( value ) {\n\treturn value ? value.split( \" \" ) : [];\n}", "/*\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"attributes\", {\n\tafterEach: moduleTeardown\n} );", "function bareObj( value ) {\n\treturn value;\n}", "function functionReturningObj( value ) {\n\treturn function() {\n\t\treturn value;\n\t};\n}", "function arrayFromString( value ) {\n\treturn value ? value.split( \" \" ) : [];\n}", "/*\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"basic\", { afterEach: moduleTeardown } );", "if ( jQuery.ajax ) {\nQUnit.test( \"ajax\", function( assert ) {\n\tassert.expect( 4 );", "\tvar done = assert.async( 3 );", "\tjQuery.ajax( {\n\t\ttype: \"GET\",\n\t\turl: url( \"mock.php?action=name&name=foo\" ),\n\t\tsuccess: function( msg ) {\n...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"basic\", { afterEach: moduleTeardown } );", "if ( jQuery.ajax ) {\nQUnit.test( \"ajax\", function( assert ) {\n\tassert.expect( 4 );", "\tvar done = assert.async( 3 );", "\tjQuery.ajax( {\n\t\ttype: \"GET\",\n\t\turl: url( \"mock.php?action=name&name=foo\" ),\n\t\tsuccess: function( msg ) {\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"core\", {\n\tbeforeEach: function() {\n\t\tthis.sandbox = sinon.sandbox.create();\n\t},\n\tafterEach: function() {\n\t\tthis.sandbox.restore();\n\t\treturn moduleTeardown.apply( this, arguments );\n\t}\n} );", "QUnit.test( \"Basic requirements\", function( assert ) {\n\tassert.expect( 7 );\n\tass...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"core\", {\n\tbeforeEach: function() {\n\t\tthis.sandbox = sinon.sandbox.create();\n\t},\n\tafterEach: function() {\n\t\tthis.sandbox.restore();\n\t\treturn moduleTeardown.apply( this, arguments );\n\t}\n} );", "QUnit.test( \"Basic requirements\", function( assert ) {\n\tassert.expect( 7 );\n\tass...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "if ( jQuery.css ) {", "QUnit.module( \"css\", { afterEach: moduleTeardown } );", "QUnit.test( \"css(String|Hash)\", function( assert ) {\n\tassert.expect( 42 );", "\tassert.equal( jQuery( \"#qunit-fixture\" ).css( \"display\" ), \"block\", \"Check for css property \\\"display\\\"\" );", "\tvar $child, div,...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "if ( jQuery.css ) {", "QUnit.module( \"css\", { afterEach: moduleTeardown } );", "QUnit.test( \"css(String|Hash)\", function( assert ) {\n\tassert.expect( 42 );", "\tassert.equal( jQuery( \"#qunit-fixture\" ).css( \"display\" ), \"block\", \"Check for css property \\\"display\\\"\" );", "\tvar $child, div,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"data\", { afterEach: moduleTeardown } );", "QUnit.test( \"expando\", function( assert ) {\n\tassert.expect( 1 );", "\tassert.equal( jQuery.expando !== undefined, true, \"jQuery is exposing the expando\" );\n} );", "QUnit.test( \"jQuery.data & removeData, expected returns\", function( assert )...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"data\", { afterEach: moduleTeardown } );", "QUnit.test( \"expando\", function( assert ) {\n\tassert.expect( 1 );", "\tassert.equal( jQuery.expando !== undefined, true, \"jQuery is exposing the expando\" );\n} );", "QUnit.test( \"jQuery.data & removeData, expected returns\", function( assert )...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"deprecated\", { afterEach: moduleTeardown } );", "\nQUnit[ jQuery.fn.bind ? \"test\" : \"skip\" ]( \"bind/unbind\", function( assert ) {\n\tassert.expect( 4 );", "\tvar markup = jQuery(\n\t\t\"<div><p><span><b>b</b></span></p></div>\"\n\t);", "\tmarkup\n\t\t.find( \"b\" )\n\t\t.bind( \"click\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"deprecated\", { afterEach: moduleTeardown } );", "\nQUnit[ jQuery.fn.bind ? \"test\" : \"skip\" ]( \"bind/unbind\", function( assert ) {\n\tassert.expect( 4 );", "\tvar markup = jQuery(\n\t\t\"<div><p><span><b>b</b></span></p></div>\"\n\t);", "\tmarkup\n\t\t.find( \"b\" )\n\t\t.bind( \"click\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.width ) {\n\treturn;\n}", "QUnit.module( \"dimensions\", { afterEach: moduleTeardown } );", "function pass( val ) {\n\treturn val;\n}", "function fn( val ) {\n\treturn function() {\n\t\treturn val;\n\t};\n}", "/*\n\t======== local reference =======\n\tpass and fn can be ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.width ) {\n\treturn;\n}", "QUnit.module( \"dimensions\", { afterEach: moduleTeardown } );", "function pass( val ) {\n\treturn val;\n}", "function fn( val ) {\n\treturn function() {\n\t\treturn val;\n\t};\n}", "/*\n\t======== local reference =======\n\tpass and fn can be ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "// Can't test what ain't there\nif ( !jQuery.fx ) {\n\treturn;\n}", "var oldRaf = window.requestAnimationFrame,\n\thideOptions = {\n\t\tinline: function() { jQuery.style( this, \"display\", \"none\" ); },\n\t\tcascade: function() { this.className = \"hidden\"; }\n\t};", "QUnit.module( \"eff...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "// Can't test what ain't there\nif ( !jQuery.fx ) {\n\treturn;\n}", "var oldRaf = window.requestAnimationFrame,\n\thideOptions = {\n\t\tinline: function() { jQuery.style( this, \"display\", \"none\" ); },\n\t\tcascade: function() { this.className = \"hidden\"; }\n\t};", "QUnit.module( \"eff...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"event\", {\n\tbeforeEach: function() {\n\t\tdocument.body.focus();\n\t},\n\tafterEach: moduleTeardown\n} );", "QUnit.test( \"null or undefined handler\", function( assert ) {\n\tassert.expect( 4 );", "\t// Supports Fixes bug #7229\n\ttry {\n\t\tjQuery( \"#firstp\" ).on( \"click\", null );\n\t\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"event\", {\n\tbeforeEach: function() {\n\t\tdocument.body.focus();\n\t},\n\tafterEach: moduleTeardown\n} );", "QUnit.test( \"null or undefined handler\", function( assert ) {\n\tassert.expect( 4 );", "\t// Supports Fixes bug #7229\n\ttry {\n\t\tjQuery( \"#firstp\" ).on( \"click\", null );\n\t\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"manipulation\", {\n\tafterEach: moduleTeardown\n} );", "// Ensure that an extended Array prototype doesn't break jQuery\nArray.prototype.arrayProtoFn = function() {\n};", "function manipulationBareObj( value ) {\n\treturn value;\n}", "function manipulationFunctionReturningObj( value ) {\n\tre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"manipulation\", {\n\tafterEach: moduleTeardown\n} );", "// Ensure that an extended Array prototype doesn't break jQuery\nArray.prototype.arrayProtoFn = function() {\n};", "function manipulationBareObj( value ) {\n\treturn value;\n}", "function manipulationFunctionReturningObj( value ) {\n\tre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.offset ) {\n\treturn;\n}", "var supportsFixedPosition, supportsScroll, alwaysScrollable,", "\tforceScroll = supportjQuery( \"<div/>\" ).css( { width: 2000, height: 2000 } ),", "\tcheckSupport = function( assert ) {", "\t\t// Only run once\n\t\tcheckSupport = false;", "...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.offset ) {\n\treturn;\n}", "var supportsFixedPosition, supportsScroll, alwaysScrollable,", "\tforceScroll = supportjQuery( \"<div></div>\" ).css( { width: 2000, height: 2000 } ),", "\tcheckSupport = function( assert ) {", "\t\t// Only run once\n\t\tcheckSupport = false;"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"selector\", { afterEach: moduleTeardown } );", "/**\n * This test page is for selector tests that require jQuery in order to do the selection\n */", "QUnit.test( \"element\", function( assert ) {\n\tassert.expect( 7 );", "\tvar fixture = document.getElementById( \"qunit-fixture\" );", "\tas...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"selector\", { afterEach: moduleTeardown } );", "/**\n * This test page is for selector tests that require jQuery in order to do the selection\n */", "QUnit.test( \"element\", function( assert ) {\n\tassert.expect( 7 );", "\tvar fixture = document.getElementById( \"qunit-fixture\" );", "\tas...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"traversing\", { afterEach: moduleTeardown } );", "QUnit.test( \"find(String)\", function( assert ) {\n\tassert.expect( 1 );\n\tassert.equal( jQuery( \"#foo\" ).find( \".blogTest\" ).text(), \"Yahoo\", \"Basic selector\" );\n} );", "QUnit.test( \"find(String) under non-elements\", function( asse...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "QUnit.module( \"traversing\", { afterEach: moduleTeardown } );", "QUnit.test( \"find(String)\", function( assert ) {\n\tassert.expect( 1 );\n\tassert.equal( jQuery( \"#foo\" ).find( \".blogTest\" ).text(), \"Yahoo\", \"Basic selector\" );\n} );", "QUnit.test( \"find(String) under non-elements\", function( asse...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.wrap ) { // no wrap module\n\treturn;\n}", "QUnit.module( \"wrap\", {\n\tafterEach: moduleTeardown\n} );", "// See test/unit/manipulation.js for explanation about these 2 functions\nfunction manipulationBareObj( value ) {\n\treturn value;\n}", "function manipulationFunctio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "( function() {", "if ( !jQuery.fn.wrap ) { // no wrap module\n\treturn;\n}", "QUnit.module( \"wrap\", {\n\tafterEach: moduleTeardown\n} );", "// See test/unit/manipulation.js for explanation about these 2 functions\nfunction manipulationBareObj( value ) {\n\treturn value;\n}", "function manipulationFunctio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [240, 255, 53, 2591, 1683, 202, 1360, 1734, 997, 142, 780, 2488, 2787, 2887, 789, 279, 939, 379], "buggy_code_start_loc": [36, 254, 52, 2459, 96, 39, 26, 16, 430, 141, 345, 608, 156, 91, 8, 95, 200, 77], "filenames": ["src/manipulation.js", "test/data/testinit.js", "test/localfile.html", "test/un...
1,763
Determine whether the {function_name} code is vulnerable or not.
[ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project name=\"easyXDM\" default=\"build\" basedir=\".\">\n\t<property file=\"build.properties\"/>\n\t<property file=\"build.secret.properties\"/>\n\t<property name=\"project.build.artifactdir\" value=\"./artifacts/\"/>\n\t<property name=\"project.build.publishdir\" val...
[ 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project name=\"easyXDM\" default=\"build\" basedir=\".\">\n\t<property file=\"build.properties\"/>\n\t<property file=\"build.secret.properties\"/>\n\t<property name=\"project.build.artifactdir\" value=\"./artifacts/\"/>\n\t<property name=\"project.build.publishdir\" val...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "/*jslint evil: true, browser: true, immed: true, passfail: true, undef: true, newcap: true*/\r\n/*global easyXDM, window, escape, unescape, debug */\r\n//\r\n// easyXDM\r\n// http://easyxdm.net/\r\n// Copyright(c) 2009-2011, Øyvind Sean Kinsey, oyvind@kinsey.no.\r\n//\r\n// Permission is hereby granted, free of ch...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "/*jslint evil: true, browser: true, immed: true, passfail: true, undef: true, newcap: true*/\r\n/*global easyXDM, window, escape, unescape, debug */\r\n//\r\n// easyXDM\r\n// http://easyxdm.net/\r\n// Copyright(c) 2009-2011, Øyvind Sean Kinsey, oyvind@kinsey.no.\r\n//\r\n// Permission is hereby granted, free of ch...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype HTML>\n<html>\n <head>\n <title>Changes</title>\n </head>\n <body>\n <ul>", "", " <li>\n 2.4.18 21.09.13\n <br/>\n Removed two sets of XSS vulnerabilities:\n <br/>\n - XSS due to lack of valid...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype HTML>\n<html>\n <head>\n <title>Changes</title>\n </head>\n <body>\n <ul>", " <li>\n 2.4.19 18.01.14\n <br/>\n Removed XSS vulnerability:\n <br/>\n - XSS due to lack of validation in name.html ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype html>\n<html>\n <head>\n <title></title>\n <meta http-equiv=\"CACHE-CONTROL\" content=\"PUBLIC\"/>\n <meta http-equiv=\"EXPIRES\" content=\"Sat, 01 Jan 2050 00:00:00 GMT\"/>\n </head>\n <body>\n <script type=\"text/javascript\">\n \n function sendMessage...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype html>\n<html>\n <head>\n <title></title>\n <meta http-equiv=\"CACHE-CONTROL\" content=\"PUBLIC\"/>\n <meta http-equiv=\"EXPIRES\" content=\"Sat, 01 Jan 2050 00:00:00 GMT\"/>\n </head>\n <body>\n <script type=\"text/javascript\">\n \n function sendMessage...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 60, 7, 26], "buggy_code_start_loc": [7, 60, 7, 26], "filenames": ["build.xml", "src/Fn.js", "src/changes.html", "src/name.html"], "fixing_code_end_loc": [8, 64, 15, 30], "fixing_code_start_loc": [7, 61, 8, 27], "message": "Cross-site scripting (XSS) vulnerability in name.html in easyXDM befor...
1,764
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1299], "buggy_code_start_loc": [1299], "filenames": ["tensorflow/core/framework/tensor.cc"], "fixing_code_end_loc": [1303], "fixing_code_start_loc": [1300], "message": "TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when the parameter `summarize`...
1,765
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1299], "buggy_code_start_loc": [1299], "filenames": ["tensorflow/core/framework/tensor.cc"], "fixing_code_end_loc": [1303], "fixing_code_start_loc": [1300], "message": "TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when the parameter `summarize`...
1,765
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# config, objects\nrequire_once( dirname(__FILE__).'/../../../functions/functions.php' );", "# initialize objects\n$Database\t= new Database_PDO;\n$Result\t\t= new Result;\n$User\t\t= new User ($Database);\n# verify that user is logged in\n$User->check_user_session();", "// process input values", "$tc...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [19, 5], "buggy_code_start_loc": [13, 5], "filenames": ["app/tools/ip-calculator/bw-calculator-result.php", "misc/CHANGELOG"], "fixing_code_end_loc": [19, 10], "fixing_code_start_loc": [13, 6], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to 1.5.1....
1,766
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# config, objects\nrequire_once( dirname(__FILE__).'/../../../functions/functions.php' );", "# initialize objects\n$Database\t= new Database_PDO;\n$Result\t\t= new Result;\n$User\t\t= new User ($Database);\n# verify that user is logged in\n$User->check_user_session();", "// process input values", "$tc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [19, 5], "buggy_code_start_loc": [13, 5], "filenames": ["app/tools/ip-calculator/bw-calculator-result.php", "misc/CHANGELOG"], "fixing_code_end_loc": [19, 10], "fixing_code_start_loc": [13, 6], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to 1.5.1....
1,766
Determine whether the {function_name} code is vulnerable or not.
[ "== 1.6.0", " Enhancements, changes:\n ----------------------------\n + php8.1 compatibility (php8.x support is work-in-progress);", "", "\n== 1.5.0", " New features:\n ------------\n + Mark subnet as isPool to allocate network and broadcast addresses;\n + Optionally hide section subnet...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [19, 5], "buggy_code_start_loc": [13, 5], "filenames": ["app/tools/ip-calculator/bw-calculator-result.php", "misc/CHANGELOG"], "fixing_code_end_loc": [19, 10], "fixing_code_start_loc": [13, 6], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to 1.5.1....
1,766
Determine whether the {function_name} code is vulnerable or not.
[ "== 1.6.0", " Enhancements, changes:\n ----------------------------\n + php8.1 compatibility (php8.x support is work-in-progress);", "\n Security Fixes:\n ----------------------------\n + XSS (reflected) in 'bw-calulator-result.php';", "\n== 1.5.0", " New features:\n ------------\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [19, 5], "buggy_code_start_loc": [13, 5], "filenames": ["app/tools/ip-calculator/bw-calculator-result.php", "misc/CHANGELOG"], "fixing_code_end_loc": [19, 10], "fixing_code_start_loc": [13, 6], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to 1.5.1....
1,766
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nclass erLhcoreClassChatWorkflow {\r\n\r\n /**\r\n * Message for timeout\r\n */\r\n public static function timeoutWorkflow(erLhcoreClassModelChat & $chat)\r\n {\r\n $operator = $chat->auto_responder->auto_responder->operator;\r\n $name_support = $operator != '' ? $operato...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nclass erLhcoreClassChatWorkflow {\r\n\r\n /**\r\n * Message for timeout\r\n */\r\n public static function timeoutWorkflow(erLhcoreClassModelChat & $chat)\r\n {\r\n $operator = $chat->auto_responder->auto_responder->operator;\r\n $name_support = $operator != '' ? $operato...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nheader ( 'content-type: application/json; charset=utf-8' );\n$definition = array(\n 'msg' => new ezcInputFormDefinitionElement(\n ezcInputFormDefinitionElement::REQUIRED, 'unsafe_raw'\n )\n);", "$form = new ezcInputForm( INPUT_POST, $definition );", "if (trim($form->msg) != '')\...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nheader ( 'content-type: application/json; charset=utf-8' );\n$definition = array(\n 'msg' => new ezcInputFormDefinitionElement(\n ezcInputFormDefinitionElement::REQUIRED, 'unsafe_raw'\n )\n);", "$form = new ezcInputForm( INPUT_POST, $definition );", "if (trim($form->msg) != '')\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$Module = array( \"name\" => \"Chat\");", "$ViewList = array();", "$ViewList['adminchat'] = array(\n 'params' => array('chat_id'),\n 'uparams' => array('remember','arg'),\n 'functions' => array( 'use' ),\n 'multiple_arguments' => array('arg')\n);", "$ViewList['getchatdata'] = array(\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$Module = array( \"name\" => \"Chat\");", "$ViewList = array();", "$ViewList['adminchat'] = array(\n 'params' => array('chat_id'),\n 'uparams' => array('remember','arg'),\n 'functions' => array( 'use' ),\n 'multiple_arguments' => array('arg')\n);", "$ViewList['getchatdata'] = array(\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\ntry {\r\n erLhcoreClassRestAPIHandler::validateRequest();\r\n\r\n if (!erLhcoreClassRestAPIHandler::hasAccessTo('lhchat', 'use')) {\r\n throw new Exception('You do not have permission. `lhchat`, `use` is required.');\r\n }\r\n\r\n $definition = array(\r\n 'chat_id' => new ezc...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\ntry {\r\n erLhcoreClassRestAPIHandler::validateRequest();\r\n\r\n if (!erLhcoreClassRestAPIHandler::hasAccessTo('lhchat', 'use')) {\r\n throw new Exception('You do not have permission. `lhchat`, `use` is required.');\r\n }\r\n\r\n $definition = array(\r\n 'chat_id' => new ezc...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [877, 70, 715, 130], "buggy_code_start_loc": [877, 69, 715, 106], "filenames": ["lhc_web/lib/core/lhchat/lhchatworkflow.php", "lhc_web/modules/lhchat/addmsgadmin.php", "lhc_web/modules/lhchat/module.php", "lhc_web/modules/lhrestapi/addmsgadmin.php"], "fixing_code_end_loc": [884, 75, 718, 137], "f...
1,767
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"trudesk\",\n \"version\": \"1.2.0\",\n \"private\": true,\n \"engines\": {\n \"node\": \">=16.0.0\"\n },\n \"bin\": \"./app.js\",\n \"scripts\": {\n \"start\": \"node ./app\",\n \"build\": \"grunt build\",\n \"test\": \"mocha --recursive\",\n \"lint\": \"standard | snazzy\",\n...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"trudesk\",\n \"version\": \"1.2.0\",\n \"private\": true,\n \"engines\": {\n \"node\": \">=16.0.0\"\n },\n \"bin\": \"./app.js\",\n \"scripts\": {\n \"start\": \"node ./app\",\n \"build\": \"grunt build\",\n \"test\": \"mocha --recursive\",\n \"lint\": \"standard | snazzy\",\n...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n# yarn lockfile v1", "\n\"@ampproject/remapping@^2.1.0\":\n version \"2.1.2\"\n resolved \"https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34\"\n integrity sha512-hoyByceqwKirw7w3Z7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n# yarn lockfile v1", "\n\"@ampproject/remapping@^2.1.0\":\n version \"2.1.2\"\n resolved \"https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34\"\n integrity sha512-hoyByceqwKirw7w3Z7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 523, 24, 15886], "buggy_code_start_loc": [86, 454, 16, 2546], "filenames": ["package.json", "src/controllers/accounts.js", "src/helpers/utils/index.js", "yarn.lock"], "fixing_code_end_loc": [88, 527, 36, 15799], "fixing_code_start_loc": [87, 454, 17, 2545], "message": "Sensitive Data Exposur...
1,768
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * \"Real\" compatible demuxer.\n * Copyright (c) 2000, 2001 Fabrice Bellard\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * v...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1227], "buggy_code_start_loc": [1226], "filenames": ["libavformat/rmdec.c"], "fixing_code_end_loc": [1231], "fixing_code_start_loc": [1226], "message": "In libavformat/rmdec.c in FFmpeg 3.3.3, a DoS in ivr_read_header() due to lack of an EOF (End of File) check might cause huge CPU consumption. ...
1,769
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * \"Real\" compatible demuxer.\n * Copyright (c) 2000, 2001 Fabrice Bellard\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * v...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1227], "buggy_code_start_loc": [1226], "filenames": ["libavformat/rmdec.c"], "fixing_code_end_loc": [1231], "fixing_code_start_loc": [1226], "message": "In libavformat/rmdec.c in FFmpeg 3.3.3, a DoS in ivr_read_header() due to lack of an EOF (End of File) check might cause huge CPU consumption. ...
1,769
Determine whether the {function_name} code is vulnerable or not.
[ "//For jQuery 1.3.2", "dojo.provide(\"dojox.jq\");\ndojo.require(\"dojo.NodeList-traverse\");\ndojo.require(\"dojo.NodeList-manipulate\");\ndojo.require(\"dojo.io.script\");", "/*\nTo get jquery tests to pass:\n- add spaces between span>form selectors, other ones like one,two\n- .last() instead of :last\n- $(\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [459], "buggy_code_start_loc": [458], "filenames": ["jq.js"], "fixing_code_end_loc": [459], "fixing_code_start_loc": [458], "message": "In affected versions of dojox (NPM package), the jqMix method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject propertie...
1,770
Determine whether the {function_name} code is vulnerable or not.
[ "//For jQuery 1.3.2", "dojo.provide(\"dojox.jq\");\ndojo.require(\"dojo.NodeList-traverse\");\ndojo.require(\"dojo.NodeList-manipulate\");\ndojo.require(\"dojo.io.script\");", "/*\nTo get jquery tests to pass:\n- add spaces between span>form selectors, other ones like one,two\n- .last() instead of :last\n- $(\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [459], "buggy_code_start_loc": [458], "filenames": ["jq.js"], "fixing_code_end_loc": [459], "fixing_code_start_loc": [458], "message": "In affected versions of dojox (NPM package), the jqMix method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject propertie...
1,770
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-3/JG/trunk/administrator/components/com_joomgallery/helpers/config.php $\n// $Id: config.php 4267 2013-05-10 11:41:59Z erftralle $\n/****************************************************************************************\\\n** JoomGallery 3 ...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-3/JG/trunk/administrator/components/com_joomgallery/helpers/config.php $\n// $Id: config.php 4267 2013-05-10 11:41:59Z erftralle $\n/****************************************************************************************\\\n** JoomGallery 3 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-3/JG/trunk/administrator/components/com_joomgallery/tables/joomgalleryconfig.php $\n// $Id: joomgalleryconfig.php 4267 2013-05-10 11:41:59Z erftralle $\n/****************************************************************************************\\\n** J...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-3/JG/trunk/administrator/components/com_joomgallery/tables/joomgalleryconfig.php $\n// $Id: joomgalleryconfig.php 4267 2013-05-10 11:41:59Z erftralle $\n/****************************************************************************************\\\n** J...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?>\n<form action=\"index.php\" method=\"post\" id=\"adminForm\" name=\"adminForm\" class=\"form-inline\">\n<?php if(!empty($this->sidebar)): ?>\n <div id=\"j-sidebar-container\" class=\"span2\">\n <?php echo $this->sidebar; ?>\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?>\n<form action=\"index.php\" method=\"post\" id=\"adminForm\" name=\"adminForm\" class=\"form-inline\">\n<?php if(!empty($this->sidebar)): ?>\n <div id=\"j-sidebar-container\" class=\"span2\">\n <?php echo $this->sidebar; ?>\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [474, 416, 341], "buggy_code_start_loc": [340, 416, 335], "filenames": ["administrator/components/com_joomgallery/helpers/config.php", "administrator/components/com_joomgallery/tables/joomgalleryconfig.php", "administrator/components/com_joomgallery/views/config/tmpl/default.php"], "fixing_code_e...
1,771
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Simple DirectMedia Layer\n Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>", " This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.", " Permission is granted to an...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [975], "buggy_code_start_loc": [950], "filenames": ["src/video/SDL_pixels.c"], "fixing_code_end_loc": [975], "fixing_code_start_loc": [950], "message": "There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP fi...
1,772
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Simple DirectMedia Layer\n Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>", " This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.", " Permission is granted to an...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [975], "buggy_code_start_loc": [950], "filenames": ["src/video/SDL_pixels.c"], "fixing_code_end_loc": [975], "fixing_code_start_loc": [950], "message": "There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP fi...
1,772
Determine whether the {function_name} code is vulnerable or not.
[ "services.factory('IClickToCallFormFactory', ['$http','$q',function ($http, $q) {\n\t\n\tthis.getHash = function(){\n\t\tvar deferred = $q.defer();\t\t\n\t\t$http.get(WWW_DIR_JAVASCRIPT + 'theme/gethash').then(function(data) {\n\t\t\tdeferred.resolve(data.data);\n\t\t},function(){\n\t\t\tdeferred.reject('error');\n...
[ 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93, 3, 8, 9], "buggy_code_start_loc": [93, 2, 7, 8], "filenames": ["lhc_web/design/defaulttheme/js/admintheme.form.angular.js", "lhc_web/design/defaulttheme/tpl/lhkernel/validation_error.tpl.php", "lhc_web/design/defaulttheme/tpl/lhtheme/admin/form.tpl.php", "lhc_web/design/defaulttheme/tpl/lhth...
1,773
Determine whether the {function_name} code is vulnerable or not.
[ "services.factory('IClickToCallFormFactory', ['$http','$q',function ($http, $q) {\n\t\n\tthis.getHash = function(){\n\t\tvar deferred = $q.defer();\t\t\n\t\t$http.get(WWW_DIR_JAVASCRIPT + 'theme/gethash').then(function(data) {\n\t\t\tdeferred.resolve(data.data);\n\t\t},function(){\n\t\t\tdeferred.reject('error');\n...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93, 3, 8, 9], "buggy_code_start_loc": [93, 2, 7, 8], "filenames": ["lhc_web/design/defaulttheme/js/admintheme.form.angular.js", "lhc_web/design/defaulttheme/tpl/lhkernel/validation_error.tpl.php", "lhc_web/design/defaulttheme/tpl/lhtheme/admin/form.tpl.php", "lhc_web/design/defaulttheme/tpl/lhth...
1,773
Determine whether the {function_name} code is vulnerable or not.
[ "<?php if (isset($errors)) : ?>", "<div data-alert class=\"alert alert-danger alert-dismissible fade show\">", "<?php if (!isset($hideErrorButton)) : ?>\n<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n</button>\n<?php endif;?>...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93, 3, 8, 9], "buggy_code_start_loc": [93, 2, 7, 8], "filenames": ["lhc_web/design/defaulttheme/js/admintheme.form.angular.js", "lhc_web/design/defaulttheme/tpl/lhkernel/validation_error.tpl.php", "lhc_web/design/defaulttheme/tpl/lhtheme/admin/form.tpl.php", "lhc_web/design/defaulttheme/tpl/lhth...
1,773
Determine whether the {function_name} code is vulnerable or not.
[ "<?php if (isset($errors)) : ?>", "<div data-alert class=\"alert alert-danger alert-dismissible fade show\" ng-non-bindable>", "<?php if (!isset($hideErrorButton)) : ?>\n<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n</button>...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93, 3, 8, 9], "buggy_code_start_loc": [93, 2, 7, 8], "filenames": ["lhc_web/design/defaulttheme/js/admintheme.form.angular.js", "lhc_web/design/defaulttheme/tpl/lhkernel/validation_error.tpl.php", "lhc_web/design/defaulttheme/tpl/lhtheme/admin/form.tpl.php", "lhc_web/design/defaulttheme/tpl/lhth...
1,773