Skip to content

Audit enferno/static folder using retire js#198

Merged
tarekio merged 8 commits intomainfrom
js-scan-workflow
Sep 28, 2025
Merged

Audit enferno/static folder using retire js#198
tarekio merged 8 commits intomainfrom
js-scan-workflow

Conversation

@apodacaduron
Copy link
Contributor

@apodacaduron apodacaduron commented Sep 25, 2025

Jira Issue

  1. [Add links to jira issues]

Description

Issue

We have static JavaScript libraries in enferno/static/js/ that are manually maintained. The package.json exists but is rarely updated and not actively used, making it difficult to track vulnerabilities in our static libraries.

Solution

Add a GitHub Actions workflow (fe-js-audit.yml) to automatically scan our static JS libraries using Retire.js.

This ensures we catch known vulnerabilities in the libraries we actually use, independent of the outdated package.json.

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • New strings prepared for translations

API Changes (if applicable)

  • Permissions checked
  • Endpoint tests added

Additional Notes

[Any other relevant information]

@coderabbitai
Copy link

coderabbitai bot commented Sep 25, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch js-scan-workflow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

…ain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@apodacaduron apodacaduron self-assigned this Sep 25, 2025
@apodacaduron apodacaduron changed the title Audit enferno static folder using retire js Audit enferno/static folder using retire js Sep 25, 2025
@apodacaduron apodacaduron marked this pull request as ready for review September 26, 2025 18:25
@tarekio tarekio requested a review from level09 September 28, 2025 13:52
Copy link
Collaborator

@level09 level09 left a comment

Choose a reason for hiding this comment

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

This is great. since we can now scan our static libs, let's phase out and clean all npm/package.json related files.

@tarekio tarekio merged commit 9d3b693 into main Sep 28, 2025
9 checks passed
@tarekio tarekio deleted the js-scan-workflow branch September 28, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants