Skip to content

fix: unify __taint_sink parameter name to 'o' (was mixing 'data')#158

Open
ZiyaoZh wants to merge 1 commit into
alipay:mainfrom
ZiyaoZh:fix/unify-taint-sink-param-name
Open

fix: unify __taint_sink parameter name to 'o' (was mixing 'data')#158
ZiyaoZh wants to merge 1 commit into
alipay:mainfrom
ZiyaoZh:fix/unify-taint-sink-param-name

Conversation

@ZiyaoZh
Copy link
Copy Markdown

@ZiyaoZh ZiyaoZh commented Apr 17, 2026

fix: unify __taint_sink parameter name to 'o' across inconsistent cases

Some test cases used 'data' while the majority used 'o' as the parameter name
for the __taint_sink function. This caused inconsistent behavior when
static analysis tools expect a unified naming pattern.

Unified all occurrences to use 'o' to improve consistency and reduce
false negatives/positives in automated analysis.

Affected files:

  • sast-js/.../constructor_extends_003_T.js
  • sast-js/.../constructor_extends_004_F.js
  • sast-js/.../cross_class_003_T.js
  • sast-js/.../cross_class_004_F.js
  • sast-js/.../cross_class_005_T.js
  • sast-js/.../cross_class_006_F.js
  • sast-js/.../cross_class_007_T.js
  • sast-js/.../cross_class_008_F.js
  • sast-python2/.../constructor_extends_003_T.py
  • sast-python2/.../constructor_extends_004_F.py
  • sast-python3/.../constructor_extends_003_T.py
  • sast-python3/.../constructor_extends_004_F.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant