╭────────────── Recommendation ───────────────╮
│ ✅ No package requires immediate attention. │
╰─────────────────────────────────────────────╯
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Explanations for JS ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Reachable Flows
Below are several data flows identified by depscan, including reachable ones. Use the tips provided to strengthen your application’s security posture.
#1 Function formvalue ↩
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#1123 formvalue() ↩ ║
║ ├── ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#289 stripTags(s) ↩ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#290 typeof(s) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#293 dom.elem(s) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#295 x.querySelectorAll('br') ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/form.js#299 x.innerText ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#2 argument section_id ↩ to the function renderWidget10
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#4841 renderWidget10(section_id) ↩ ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid(section_id) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1759 section_id == null ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1764 ♦ 'cbid.%s.%s.%s'.format() ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1021 option() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#212 append(obj) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1027 return obj ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#2029 title || this.option ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#3 argument input ↩ to the function validate_custom_tlv_string_format can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#920 validate_custom_tlv_string_format(input) ↩ ║
║ Tags: validation ║
║ ║
║ ├── package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#921 !input ║
║ ├── package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#922 parse_custom_tlv_string(input) ║
║ ├── package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#864 parse_custom_tlv_string(input) ↩ ║
║ ├── package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#867 input.match(pattern) ║
║ ├── package/feeds/luci/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#869 !match ║
║ └── ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#4 argument section_id ↩ to the function renderWidget2
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#3972 renderWidget2(section_id) ↩ ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid(section_id) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1759 section_id == null ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1764 ♦ 'cbid.%s.%s.%s'.format() ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1021 option() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#212 append(obj) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1027 return obj ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#2029 title || this.option ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#2028 ♦ new TypeError() ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#5 Function getUIElement1 ↩
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1809 getUIElement1() ↩ ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1764 ♦ 'cbid.%s.%s.%s'.format() ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1021 option() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#212 append(obj) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1027 return obj ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#4262 title || this.option ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#6 argument option ↩ to the function formvalue
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1123 formvalue(option) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1131 o.option == option ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1132 func.call(o, section_id) ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1933 isValid(section_id) ↩ ║
║ │ Tags: validation ║
║ │ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1947 getValidationError(section_id) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1159 getUIElement(section_id) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1164 o.getUIElement(section_id) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1168 return rv ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1949 elem.getValidationError() ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#4262 error ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#7 argument input ↩ to the function validate_custom_tlv_string_format can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#920 validate_custom_tlv_string_format(input) ↩ ║
║ Tags: validation ║
║ ║
║ ├── feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#921 !input ║
║ ├── feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#922 parse_custom_tlv_string(input) ║
║ ├── feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#864 parse_custom_tlv_string(input) ↩ ║
║ ├── feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#867 input.match(pattern) ║
║ ├── feeds/luci/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js#869 !match ║
║ └── ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#8 argument option ↩ to the function getUIElement
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1159 getUIElement(option) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1165 o.option == option ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1166 o.getUIElement(section_id) ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1949 elem.getValidationError() ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#4262 error ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#9 argument deplist ↩ to the function transformDepList
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1651 transformDepList(deplist) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1652 deplist ?? this.deps ║
║ ├── ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid(section_id) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1759 section_id == null ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1764 ♦ 'cbid.%s.%s.%s'.format() ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1021 option() ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#212 append(obj) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1027 return obj ║
║ └── package/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#2014 title || this.option ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#10 argument deplist ↩ to the function transformDepList
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1651 transformDepList(deplist) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1652 deplist ?? this.deps ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#289 stripTags(s) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#290 typeof(s) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#289 stripTags() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1758 cbid() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1764 ♦ 'cbid.%s.%s.%s'.format() ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1021 option() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#212 append(obj) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#1027 return obj ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/form.js#2014 title || this.option ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#11 argument pane ↩ to the function getActiveTabId
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4288 getActiveTabId(pane) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4214 panes[0] ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4216 panes ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4294 setActiveTabId(pane) ↩ ║
║ ├── ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4257 getPathForPane(pane) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4261 pane ? pane.parentNode : null ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4262 node != null ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4265 node.hasAttribute('data-tab') ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4266 node.getAttribute('data-tab') ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4268 path.unshift(node.getAttribute('data-section-id')) ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4271 path.join('/') ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4585 baseclass.singleton(/* @lends LuCI.ui.changes.prototype */ { ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4791 UI.prototype ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#12 argument errmsg ↩ to the function cbi_validate_form can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-base/htdocs/luci-static/resources/cbi.js#359 cbi_validate_form(errmsg) ↩ ║
║ Tags: validation ║
║ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/cbi.js#369 !validator() && errmsg ║
║ └── package/feeds/luci/luci-base/htdocs/luci-static/resources/cbi.js#370 alert(errmsg) ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#13 argument pane ↩ to the function getPathForPane
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4257 getPathForPane(pane) ↩ ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4261 pane ? pane.parentNode : null ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4262 node != null ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4265 node.hasAttribute('data-tab') ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4266 node.getAttribute('data-tab') ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4268 path.unshift(node.getAttribute('data-section-id')) ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4271 path.join('/') ║
║ ├── ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4585 baseclass.singleton(/* @lends LuCI.ui.changes.prototype */ { ║
║ ├── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── package/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4846 UI.prototype ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#14 argument form ↩ to the function cbi_validate_form can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#359 cbi_validate_form(form) ↩ ║
║ Tags: validation ║
║ ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#367 form.cbi_validators ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#15 argument errmsg ↩ to the function cbi_validate_form can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#359 cbi_validate_form(errmsg) ↩ ║
║ Tags: validation ║
║ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#369 !validator() && errmsg ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#370 alert(errmsg) ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#16 argument form ↩ to the function cbi_validate_form can be used to reach packages with tags `validation`
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#359 cbi_validate_form(form) ↩ ║
║ Tags: validation ║
║ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#362 form.cbi_state ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/cbi.js#367 form.cbi_validators ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
◽ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
#17 argument sb ↩ to the function transformItem
╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1473 transformItem(sb) ↩ ║
║ ├── ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1485 saveValues(sb) ↩ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1528 new CustomEvent('cbi-dropdown-change', { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1169 sb.setAttribute('tabindex', 0) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1172 sb.setAttribute('more', '') ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1177 sb.setAttribute('empty', '') ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1185 sb.addEventListener('click', this.handleClick.bind(this)) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1186 sb.addEventListener('keydown', this.handleKeydown.bind(this)) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1187 sb.addEventListener('cbi-dropdown-close', this.handleDropdownClose.bind(this)) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1188 sb.addEventListener('cbi-dropdown-select', this.handleDropdownSelect.bind(this)) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1191 sb.addEventListener('touchstart', ev => ev.stopPropagation()) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#240 setUpdateEvents() ↩ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#284 setChangeEvents() ↩ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1218 dom.bindClassInstance(sb, this) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1220 return sb ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#931 UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#2039 UIDropdown.extend(/** @lends LuCI.ui.Combobox.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#2106 UIDropdown.extend(/** @lends LuCI.ui.ComboButton.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#4791 UI.prototype ║
╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#18 argument sb ↩ to the function transformItem
╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1473 transformItem(sb) ↩ ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1485 saveValues(sb) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1528 new CustomEvent('cbi-dropdown-change', { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1169 sb.setAttribute('tabindex', 0) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1172 sb.setAttribute('more', '') ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1177 sb.setAttribute('empty', '') ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1185 sb.addEventListener('click', this.handleClick.bind(this)) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1186 sb.addEventListener('keydown', this.handleKeydown.bind(this)) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1187 sb.addEventListener('cbi-dropdown-close', this.handleDropdownClose.bind(this)) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1188 sb.addEventListener('cbi-dropdown-select', this.handleDropdownSelect.bind(this)) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1191 sb.addEventListener('touchstart', ev => ev.stopPropagation()) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#240 setUpdateEvents() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#284 setChangeEvents() ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1218 dom.bindClassInstance(sb, this) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1220 return sb ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#931 UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#2039 UIDropdown.extend(/** @lends LuCI.ui.Combobox.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#2106 UIDropdown.extend(/** @lends LuCI.ui.ComboButton.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4846 UI.prototype ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#19 argument element ↩ to the function getScrollParent
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1224 getScrollParent(element) ↩ ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1226 getComputedStyle(element) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1233 getComputedStyle(parent) ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#1239 return parent ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#931 UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#2039 UIDropdown.extend(/** @lends LuCI.ui.Combobox.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#2106 UIDropdown.extend(/** @lends LuCI.ui.ComboButton.prototype */ { ║
║ ├── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── feeds/base/feeds/luci/luci-base/htdocs/luci-static/resources/ui.js#4791 UI.prototype ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#20 argument element ↩ to the function getScrollParent
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1224 getScrollParent(element) ↩ ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1226 getComputedStyle(element) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1233 getComputedStyle(parent) ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#1239 return parent ║
║ ├── ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#931 UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#2039 UIDropdown.extend(/** @lends LuCI.ui.Combobox.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#2106 UIDropdown.extend(/** @lends LuCI.ui.ComboButton.prototype */ { ║
║ ├── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#3663 baseclass.extend(/** @lends LuCI.ui.prototype */ { ║
║ └── feeds/luci/modules/luci-base/htdocs/luci-static/resources/ui.js#4791 UI.prototype ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Secure Design Tips
• Continuously fuzz the parser and validation functions with diverse payloads.
• Generate post-build SBOMs with OWASP blint by building this project for various architecture combinations. Re-run depscan with the --bom-dir argument to enhance the analysis.
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Explanations for C ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
#1 Parameter L ↩ to the method json_parse_set
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-lib-jsonc/src/jsonc.c#401 json_parse_set(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#403 luaL_checkudata(L, 1, LUCI_JSONC_PARSER) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#406 _lua_to_json(L, 2) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#384 _lua_to_json(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#394 _lua_to_json_rec(L, index, &s) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#294 _lua_to_json_rec(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#303 lua_gettop(L) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#305 lua_type(L, index) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#308 lua_topointer(L, index) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#311 _lua_test_array(L, index) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#211 _lua_test_array(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#216 lua_checkstack(L, 2) ║
║ ├── ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#341 lua_checkstack(L, 3) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#344 lua_pushnil(L) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#346 lua_next(L, index) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#348 lua_pushvalue(L, -2) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#349 lua_tostring(L, -1) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#353 _lua_to_json_rec(L, -2, seen) ║
║ │ Tags: json, library-call ║
║ │ ║
║ └── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#378 lua_tostring(L, index) ║
║ Tags: json, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#2 Parameter index ↩ to the method _lua_to_json_rec
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#294 _lua_to_json_rec(index) ↩ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#302 index < 0 ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#305 lua_type(L, index) ║
║ └── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#364 lua_toboolean(L, index) ║
║ Tags: json, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#3 Parameter L ↩ to the method json_parse_set
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#401 json_parse_set(L) ↩ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#403 luaL_checkudata(L, 1, LUCI_JSONC_PARSER) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#406 _lua_to_json(L, 2) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#384 _lua_to_json(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#394 _lua_to_json_rec(L, index, &s) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#294 _lua_to_json_rec(L) ↩ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#303 lua_gettop(L) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#305 lua_type(L, index) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#308 lua_topointer(L, index) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#311 _lua_test_array(L, index) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#211 _lua_test_array(L) ↩ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#216 lua_checkstack(L, 2) ║
║ ├── ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#320 lua_checkstack(L, 1) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#325 lua_rawgeti(L, index, i) ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#328 _lua_to_json_rec(L, -1, seen) ║
║ │ Tags: json, library-call ║
║ │ ║
║ └── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#378 lua_tostring(L, index) ║
║ Tags: json, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#4 Parameter index ↩ to the method _lua_to_json_rec
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#294 _lua_to_json_rec(index) ↩ ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#302 index < 0 ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#305 lua_type(L, index) ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#308 lua_topointer(L, index) ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#311 _lua_test_array(L, index) ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#211 _lua_test_array(L) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#216 lua_checkstack(L, 2) ║
║ ├── ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#320 lua_checkstack(L, 1) ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#325 lua_rawgeti(L, index, i) ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#328 _lua_to_json_rec(L, -1, seen) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#294 _lua_to_json_rec(L) ↩ ║
║ ├── feeds/base/feeds/luci/luci-lib-jsonc/src/jsonc.c#303 lua_gettop(L) ║
║ └── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#364 lua_toboolean(L, index) ║
║ Tags: json, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#5 Parameter s ↩ to the method match
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#6 Parameter obj ↩ to the method _json_to_lua
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-lib-jsonc/src/jsonc.c#147 _json_to_lua(obj) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#152 json_object_get_type(obj) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#165 json_object_array_length(obj) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#167 json_object_array_get_idx(obj, n) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#156 json_object_object_foreach(obj, key, val) ║
║ │ Tags: json, library-call ║
║ │ ║
║ └── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#158 _json_to_lua(L, val) ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#7 Parameter model ↩ to the method lookup_quirks
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1790 lookup_quirks(model) ↩ ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1801 match(db->model, model, &matching) ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#8 Parameter obj ↩ to the method _json_to_lua
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-lib-jsonc/src/jsonc.c#147 _json_to_lua(obj) ↩ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#152 json_object_get_type(obj) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#165 json_object_array_length(obj) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── package/feeds/luci/luci-lib-jsonc/src/jsonc.c#167 json_object_array_get_idx(obj, n) ║
║ │ Tags: json, library-call ║
║ │ ║
║ ├── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#156 json_object_object_foreach(obj, key, val) ║
║ │ Tags: json, library-call ║
║ │ ║
║ └── feeds/luci/libs/luci-lib-jsonc/src/jsonc.c#158 _json_to_lua(L, val) ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#9 Parameter init ↩ to the method dialog_inputbox
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-lib-nixio/axTLS/config/scripts/config/lxdialog/dialog.h#175 dialog_inputbox(init) ↩ ║
║ ├── scripts/config/nconf.c#766 &dialog_input_result ║
║ ├── scripts/config/nconf.c#780 dialog_input = dialog_input_result ║
║ ├── scripts/config/nconf.c#782 dialog_input += strlen(CONFIG_) ║
║ ├── scripts/config/nconf.c#784 sym_re_search(dialog_input) ║
║ ├── scripts/config/symbol.c#887 sym_re_search(pattern) ↩ ║
║ ├── scripts/config/symbol.c#897 strlen(pattern) ║
║ ├── scripts/config/symbol.c#899 regcomp(&re, pattern, REG_EXTENDED|REG_ICASE) ║
║ └── scripts/config/symbol.c#905 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#10 Parameter init ↩ to the method dialog_inputbox
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/luci/luci-lib-nixio/axTLS/config/scripts/config/lxdialog/inputbox.c#47 dialog_inputbox(init) ↩ ║
║ ├── package/feeds/luci/luci-lib-nixio/axTLS/config/scripts/config/lxdialog/inputbox.c#104 !init ║
║ ├── ║
║ ├── scripts/config/nconf.c#766 &dialog_input_result ║
║ ├── scripts/config/nconf.c#780 dialog_input = dialog_input_result ║
║ ├── scripts/config/nconf.c#782 dialog_input += strlen(CONFIG_) ║
║ ├── scripts/config/nconf.c#784 sym_re_search(dialog_input) ║
║ ├── scripts/config/symbol.c#887 sym_re_search(pattern) ↩ ║
║ ├── scripts/config/symbol.c#897 strlen(pattern) ║
║ ├── scripts/config/symbol.c#899 regcomp(&re, pattern, REG_EXTENDED|REG_ICASE) ║
║ └── scripts/config/symbol.c#905 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#11 Parameter regex ↩ to the method match
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1763 match(regex) ↩ ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1769 regcomp(&re, regex, REG_EXTENDED|REG_NOSUB) ║
║ ├── ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1801 db->model ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1796 db->firmware ║
║ └── package/feeds/packages/libatasmart/src/atasmart.strpool.c#1774 NULL ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#12 Parameter model ↩ to the method lookup_quirks
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1790 lookup_quirks(model) ↩ ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1801 match(db->model, model, &matching) ║
║ ├── feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#13 Parameter pattern ↩ to the method sym_re_search
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ scripts/config/symbol.c#887 sym_re_search(pattern) ↩ ║
║ ├── scripts/config/symbol.c#897 strlen(pattern) ║
║ ├── scripts/config/symbol.c#899 regcomp(&re, pattern, REG_EXTENDED|REG_ICASE) ║
║ └── scripts/config/symbol.c#905 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#14 Parameter regex ↩ to the method match
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1763 match(regex) ↩ ║
║ ├── feeds/base/feeds/packages/libatasmart/src/atasmart.strpool.c#1769 regcomp(&re, regex, REG_EXTENDED|REG_NOSUB) ║
║ ├── ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1801 db->model ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1796 db->firmware ║
║ └── package/feeds/packages/libatasmart/src/atasmart.strpool.c#1774 NULL ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#15 Parameter firmware ↩ to the method lookup_quirks
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1790 lookup_quirks(firmware) ↩ ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1811 match(db->firmware, firmware, &matching) ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#16 Parameter size ↩ to the method xrealloc
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ scripts/config/util.c#100 xrealloc(size) ↩ ║
║ ├── scripts/config/util.c#102 realloc(p, size) ║
║ ├── scripts/config/util.c#104 return p; ║
║ ├── scripts/config/nconf.gui.c#328 xrealloc(result, *result_len) ║
║ ├── scripts/config/nconf.gui.c#351 strncpy(result, init, *result_len) ║
║ ├── scripts/config/nconf.gui.c#385 strlen(result) ║
║ ├── scripts/config/nconf.gui.c#440 realloc(result, ║
║ ├── ║
║ ├── scripts/config/nconf.c#766 &dialog_input_result ║
║ ├── scripts/config/nconf.c#780 dialog_input = dialog_input_result ║
║ ├── scripts/config/nconf.c#782 dialog_input += strlen(CONFIG_) ║
║ ├── scripts/config/nconf.c#784 sym_re_search(dialog_input) ║
║ ├── scripts/config/symbol.c#887 sym_re_search(pattern) ↩ ║
║ ├── scripts/config/symbol.c#897 strlen(pattern) ║
║ ├── scripts/config/symbol.c#899 regcomp(&re, pattern, REG_EXTENDED|REG_ICASE) ║
║ └── scripts/config/symbol.c#905 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#17 Parameter firmware ↩ to the method lookup_quirks
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ package/feeds/packages/libatasmart/src/atasmart.strpool.c#1790 lookup_quirks(firmware) ↩ ║
║ ├── package/feeds/packages/libatasmart/src/atasmart.strpool.c#1811 match(db->firmware, firmware, &matching) ║
║ ├── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#18 Parameter s ↩ to the method match
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1763 match(s) ↩ ║
║ └── feeds/packages/libs/libatasmart/src/atasmart.strpool.c#1774 regexec(&re, s, 0, NULL, 0) ║
║ Tags: regex, library-call ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#19 Parameter sym ↩ to the method sym_calc_value
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ scripts/config/symbol.c#302 sym_calc_value(sym) ↩ ║
║ ├── scripts/config/symbol.c#308 !sym ║
║ ├── ║
║ ├── scripts/config/symbol.c#915 sym_calc_value(sym) ║
║ ├── scripts/config/symbol.c#902 sym->next ║
║ └── scripts/config/symbol.c#903 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
#20 Parameter sym ↩ to the method sym_calc_value
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ feeds/luci/libs/luci-lib-nixio/axTLS/config/scripts/config/symbol.c#206 sym_calc_value(sym) ↩ ║
║ ├── feeds/luci/libs/luci-lib-nixio/axTLS/config/scripts/config/symbol.c#212 !sym ║
║ ├── ║
║ ├── scripts/config/symbol.c#915 sym_calc_value(sym) ║
║ ├── scripts/config/symbol.c#902 sym->next ║
║ └── scripts/config/symbol.c#903 sym->name ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Secure Design Tips
• Enhance your unit and integration tests to cover the flows listed above.
• Continuously fuzz the parser and validation functions with diverse payloads.