Skip to content

Foxhound: remove native_ property from TaintOperation#360

Merged
leeN merged 1 commit into
SAP:mainfrom
leeN:remove_is_native
Mar 30, 2026
Merged

Foxhound: remove native_ property from TaintOperation#360
leeN merged 1 commit into
SAP:mainfrom
leeN:remove_is_native

Conversation

@leeN
Copy link
Copy Markdown
Collaborator

@leeN leeN commented Mar 16, 2026

The native_ flag (and associated isNative()/setNative() API) was used to distinguish built-in JS functions from user-defined ones, but this distinction is not needed for taint tracking. Remove the flag, all constructor overloads that accepted it, and the 'builtin' property it exposed to JavaScript.

The native_ flag (and associated isNative()/setNative() API) was used to
distinguish built-in JS functions from user-defined ones, but this
distinction is not needed for taint tracking. Remove the flag, all
constructor overloads that accepted it, and the 'builtin' property it
exposed to JavaScript.
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Mar 16, 2026

CLA assistant check
All committers have signed the CLA.

@leeN
Copy link
Copy Markdown
Collaborator Author

leeN commented Mar 16, 2026

Merging this would require cooperation with the ZAP addon and the extensions.

@leeN leeN added enhancement New feature or request refactoring Improving Foxhound code quality requires downstream coordination This change might break the ZAP plugin or any extension, e.g., due to taint flow format changes.. labels Mar 17, 2026
@leeN leeN self-assigned this Mar 17, 2026
@leeN
Copy link
Copy Markdown
Collaborator Author

leeN commented Mar 17, 2026

Okay, the currently blessed extension does not seem to access the native property and neither does the Zap Addon.

So we should be good to merge, the only code using it is the old hand sanitizer flow_analyzer, but that is not something that works with modern Foxhound to begin with.

@leeN leeN merged commit 6f3822b into SAP:main Mar 30, 2026
10 checks passed
@tmbrbr tmbrbr mentioned this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactoring Improving Foxhound code quality requires downstream coordination This change might break the ZAP plugin or any extension, e.g., due to taint flow format changes..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants