Skip to content

Transfon Security RTD Module: initial release - #15894

Merged
patmmccann merged 1 commit into
prebid:masterfrom
brucedou:transfonSecurityRtd
Oct 29, 2026
Merged

patmmccann merged 1 commit into
prebid:masterfrom
brucedou:transfonSecurityRtd

Conversation

@brucedou

@brucedou brucedou commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Title: Transfon Security RTD Module: initial release

Type of change

  • Feature
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

Description of change

New RTD submodule, transfonSecurity, that checks each page view for bots and invalid traffic before the auction.

  • Adds ortb2.site.ext.data.tss_qs to global first party data: 1 valid traffic, 0 invalid traffic.
  • Sets the tss_qs key-value on every ad unit through getTargetingData.
  • Optional blockIvt removes all bid requests for invalid traffic. Off by default.
  • Fails open: without a verdict in time, the auction runs unchanged.

Maintainer: support@transfon.com

Module configuration

pbjs.setConfig({
  realTimeData: {
    auctionDelay: 500,
    dataProviders: [{
      name: 'transfonSecurity',
      waitForIt: true,
      params: {
        licenseId: 'b94d578d03', // test license
        blockIvt: false
      }
    }]
  }
});

External script

The module loads https://tag.waf360.com/tag/p/rtd.js with loadExternalScript (added to approvedLoadExternalScriptPaths.js), because the verdict depends on checks that only run in the browser. It is not loaded when the Transfon Security tag is already on the page, and if the loadExternalScript activity control blocks it, the auction runs unchanged.

Privacy

GVL ID 1370. Cookies are used only when accessDevice is allowed, and the page report is sent only when reportAnalytics is allowed. The storage disclosure ships with the module in metadata/disclosures/modules/.

Testing

24 unit tests; module coverage 100% functions, 98% lines, 96% branches. With the test license above, bidder requests carry site.ext.data.tss_qs and pbjs.getAdserverTargeting() includes tss_qs.

Other information

Docs PR: prebid/prebid.github.io#6881

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T01:13:22.399507Z 072e34d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: de6bf3914d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread metadata/modules/transfonSecurityRtdProvider.json Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from de6bf39 to c1bb6d0 Compare October 28, 2026 16:15
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1bb6d05bb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.md Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from c1bb6d0 to da0923e Compare October 28, 2026 16:46
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@brucedou
brucedou force-pushed the transfonSecurityRtd branch from da0923e to 4377e97 Compare October 28, 2026 17:00

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: da0923e038

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js
@brucedou
brucedou force-pushed the transfonSecurityRtd branch 2 times, most recently from 252c853 to 4c54429 Compare October 28, 2026 17:18
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4c54429f83

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch 2 times, most recently from 752663d to 0c4b6c4 Compare October 28, 2026 18:06
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c4b6c4f03

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from 0c4b6c4 to a5403de Compare October 28, 2026 18:22
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a5403de127

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch 2 times, most recently from 9f0843a to adaa861 Compare October 28, 2026 18:43
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adaa861d18

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from adaa861 to 8407e71 Compare October 28, 2026 19:01
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8407e7116a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch 2 times, most recently from 0ec451d to b2283a8 Compare October 28, 2026 19:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e5445a1f81

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from e5445a1 to d82386f Compare October 28, 2026 23:46
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d82386f532

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from d82386f to 66d3115 Compare October 29, 2026 00:07
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 66d3115c4e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@brucedou
brucedou force-pushed the transfonSecurityRtd branch from d04c1b1 to a537768 Compare October 29, 2026 00:32
@brucedou
brucedou marked this pull request as draft October 29, 2026 00:33
@brucedou
brucedou marked this pull request as ready for review October 29, 2026 00:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a537768a29

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from a537768 to 072e34d Compare October 29, 2026 00:57
@brucedou

Copy link
Copy Markdown
Contributor Author

@codex review

@github-actions

Copy link
Copy Markdown

Whoa there partner! This project is migrating to typescript. Consider changing the new JS files to TS, with well-defined types for what interacts with the prebid public API (for example: bid params and configuration). Thanks!

  • modules/transfonSecurityRtdProvider.js

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

This PR introduces changes that may not work on all browsers. According to Babel, the following polyfills may be needed, and they are not automatically included:

  • Changes to modules/transfonSecurityRtdProvider.js may need:
    • es.array.push
    • es.iterator.constructor
    • es.iterator.map
    • es.iterator.reduce
    • es.weak-map.get-or-insert
    • es.weak-map.get-or-insert-computed
    • esnext.iterator.constructor
    • esnext.iterator.map
    • esnext.iterator.reduce
    • esnext.weak-map.get-or-insert
    • esnext.weak-map.get-or-insert-computed

The best way to address this is to provide good test coverage, as normal PR checks run unit tests on older browsers.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 072e34d769

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
Comment thread modules/transfonSecurityRtdProvider.js Outdated
@barecheck

barecheck Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 91.76%

Your code coverage diff: 0.02% ▴

Uncovered files and lines
FileLines
modules/transfonSecurityRtdProvider.js107, 111, 296-299, 452-453

@brucedou
brucedou force-pushed the transfonSecurityRtd branch from 072e34d to 77a354d Compare October 29, 2026 01:51
@brucedou
brucedou force-pushed the transfonSecurityRtd branch from 77a354d to e3a9ccf Compare October 29, 2026 02:09
@brucedou
brucedou requested a review from patmmccann October 29, 2026 02:17
@patmmccann patmmccann added feature and removed core labels Oct 29, 2026
@patmmccann
patmmccann merged commit 3804f32 into prebid:master Oct 29, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants