Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
firefox-modheader
Advanced tools
This is the simplified, packaged extension for using ModHeader in Selenium WebDriver. For the Chrome version, look for chrome-modheader instead.
npm install firefox-modheader
const { getExtension, getAddHeaderUrl } = require('firefox-modheader');
const options = new firefox.Options();
options.addExtensions(getExtension());
const driver = await new Builder()
.forBrowser('firefox')
.setFirefoxOptions(options)
.build();
await driver.get(getAddHeaderUrl('HeaderName', 'HeaderValue'));
All APIs are URL-based. Please make sure to URL encode your name and value properly.
You can use the getAddHeaderUrl()
and getClearHeadersUrl()
functions to
craft these URLs. Be sure to do driver.get()
, and be mindful that these
will change the URL of the WebDriver.
https://webdriver.bewisse.com/add?{name1}={value1}&{name2}={value2}&...
e.g., https://webdriver.bewisse.com/add?Test=1
https://webdriver.bewisse.com/clear
https://webdriver.bewisse.com/load?profile={exported_profile_in_json}
exported_profile_in_json can be obtained from the regular ModHeader extension using ... -> Export Profile.
FAQs
Packaged ModHeader extension for Firefox WebDriver.
The npm package firefox-modheader receives a total of 25,851 weekly downloads. As such, firefox-modheader popularity was classified as popular.
We found that firefox-modheader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.