Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ebabel-prevent-xss
Advanced tools
Changelog
1.0.1
Readme
Processes an input string to prevent Cross Site Scripting injection attacks (XSS). Returns a safe version of that input.
npm install --save ebabel-prevent-xss
const preventXss = require('ebabel-prevent-xss');
const result = preventXss('<script>alert("password: " + secret.password)</script>');
Fork this repository on Github, git clone
your repository, checkout the develop branch, and when you are done, submit a pull request from your repository develop branch to this repository develop branch.
npm install
npm test
An html coverage report is to be found in the coverage
folder.
npm run jsdoc
The generated documentation is to be found in the docs
folder.
FAQs
Processes an input string to prevent Cross Site Scripting injection attacks (XSS). Returns a safe version of that input.
The npm package ebabel-prevent-xss receives a total of 3 weekly downloads. As such, ebabel-prevent-xss popularity was classified as not popular.
We found that ebabel-prevent-xss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.