Add security enhancements: linting infrastructure and ReDoS prevention#22
Merged
Conversation
Owner
cjcsecurity
commented
Dec 9, 2025
- Add ESLint with security plugins (eslint-plugin-security, eslint-plugin-no-unsanitized)
- Add package.json with linting dependencies (ESLint, web-ext)
- Add automated lint workflow for CI/CD
- Update .gitignore to exclude package-lock.json and web-ext-artifacts
- Fix ReDoS vulnerabilities in regex patterns (IPv4, IPv6, domain validation)
- Prevent object injection by using explicit color mapping
- Remove unused variable to clean up code
- Add ESLint with security plugins (eslint-plugin-security, eslint-plugin-no-unsanitized) - Add package.json with linting dependencies (ESLint, web-ext) - Add automated lint workflow for CI/CD - Update .gitignore to exclude package-lock.json and web-ext-artifacts - Fix ReDoS vulnerabilities in regex patterns (IPv4, IPv6, domain validation) - Prevent object injection by using explicit color mapping - Remove unused variable to clean up code - Delete obsolete OSINT-Extension-ChromeStore-v1.3.1 directory
Owner
Author
|
The failing web-ext lint test is reporting Firefox compatibility issues (MANIFEST_FIELD_UNSUPPORTED for service_worker) which is expected since this is a Chrome-only extension using Manifest V3 syntax. All security checks pass (CodeQL, dependency review, npm audit, ESLint) and the code quality improvements in this PR are valuable - adding ESLint security plugins, fixing ReDoS vulnerabilities, and implementing automated linting. The tabGroups API warnings are also Firefox-related and the code already has proper fallback handling. Safe to merge as the lint failure is purely about Firefox compatibility for a Chrome-only extension, not a code quality or security issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.