Skip to content

iframe.contentWindow evasion can leak Object.apply in stack traces #318

@prescience-data

Description

@prescience-data

Similar to #209 there is instances in the wild searching for: Object.apply (<anonymous> in thrown error stack traces.

Real browser:

Error: Failed to execute 'createElement' on 'Document': The tag name provided ([redacted]) is not a valid name.
    at test.js?660921:2

Puppeteer with Extra Stealth 2.6.1

Error: Failed to execute 'createElement' on 'Document': The tag name provided ([redacted]) is not a valid name.
    at Object.apply (<anonymous>:80:31)
    at test.js?103622:2

Second case fails the vendor detection test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions