Skip to content

LunaroptAI2#6

Open
KalCola wants to merge 28 commits intoLunaroptAIfrom
main
Open

LunaroptAI2#6
KalCola wants to merge 28 commits intoLunaroptAIfrom
main

Conversation

@KalCola
Copy link
Owner

@KalCola KalCola commented Mar 1, 2026

No description provided.

dependabot bot and others added 19 commits February 28, 2026 14:33
Bumps the npm_and_yarn group with 1 update in the / directory: [lodash-es](https://github.com/lodash/lodash).


Updates `lodash-es` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the npm_and_yarn group with 1 update in the / directory: [webpack](https://github.com/webpack/webpack).


Updates `webpack` from 5.97.1 to 5.105.3
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack@v5.97.1...v5.105.3)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.105.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Add a security policy document outlining supported versions and vulnerability reporting.

Signed-off-by: KalCola <colacal43@gmail.com>
This workflow triggers APIsec scans for the project on push, pull request, or scheduled events, and uploads the results in SARIF format.

Signed-off-by: KalCola <colacal43@gmail.com>
This workflow integrates EthicalCheck for automated API security testing, including steps for running tests and uploading results.

Signed-off-by: KalCola <colacal43@gmail.com>
This workflow automates mobile security scanning using MobSF on pushes and pull requests to the main branch, as well as on a scheduled basis.

Signed-off-by: KalCola <colacal43@gmail.com>
This workflow scans dependency manifest files for known vulnerabilities in pull requests and blocks merging if vulnerable packages are detected.

Signed-off-by: KalCola <colacal43@gmail.com>
…rn-1516ec8d75

chore(deps): bump webpack from 5.97.1 to 5.105.3 in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [qs](https://github.com/ljharb/qs).


Updates `qs` from 6.13.0 to 6.14.2
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the npm_and_yarn group with 1 update in the / directory: [ajv](https://github.com/ajv-validator/ajv).


Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.6...v6.14.0)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: KalCola <colacal43@gmail.com>
…rn-14dc0ebc5a

chore(deps): bump qs from 6.13.0 to 6.14.2 in the npm_and_yarn group across 1 directory
…rn-f1bf2b0a19

chore(deps): bump ajv from 6.12.6 to 6.14.0 in the npm_and_yarn group across 1 directory
…rn-ab4d8f00f8

chore(deps): bump lodash-es from 4.17.21 to 4.17.23 in the npm_and_yarn group across 1 directory
…pdates

Bumps the npm_and_yarn group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) | `7.26.7` | `7.28.6` |
| [brace-expansion](https://github.com/juliangruber/brace-expansion) | `1.1.11` | `1.1.12` |
| [estree-util-value-to-estree](https://github.com/remcohaszing/estree-util-value-to-estree) | `3.3.2` | `3.5.0` |
| [qs](https://github.com/ljharb/qs) | `6.13.0` | `6.14.2` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `3.14.1` | `3.14.2` |
| [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) | `2.0.7` | `2.0.9` |
| [image-size](https://github.com/image-size/image-size) | `1.2.0` | `1.2.1` |
| [lodash](https://github.com/lodash/lodash) | `4.17.21` | `4.17.23` |
| [mdast-util-to-hast](https://github.com/syntax-tree/mdast-util-to-hast) | `13.2.0` | `13.2.1` |
| [node-forge](https://github.com/digitalbazaar/forge) | `1.3.1` | `1.3.3` |
| [on-headers](https://github.com/jshttp/on-headers) | `1.0.2` | `1.1.0` |
| [prismjs](https://github.com/PrismJS/prism) | `1.29.0` | `1.30.0` |



Updates `@babel/helpers` from 7.26.7 to 7.28.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.6/packages/babel-helpers)

Updates `brace-expansion` from 1.1.11 to 1.1.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12)

Updates `estree-util-value-to-estree` from 3.3.2 to 3.5.0
- [Release notes](https://github.com/remcohaszing/estree-util-value-to-estree/releases)
- [Commits](remcohaszing/estree-util-value-to-estree@v3.3.2...v3.5.0)

Updates `qs` from 6.13.0 to 6.14.2
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.2)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

Updates `http-proxy-middleware` from 2.0.7 to 2.0.9
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.7...v2.0.9)

Updates `image-size` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](image-size/image-size@v1.2.0...v1.2.1)

Updates `lodash` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

Updates `mdast-util-to-hast` from 13.2.0 to 13.2.1
- [Release notes](https://github.com/syntax-tree/mdast-util-to-hast/releases)
- [Commits](syntax-tree/mdast-util-to-hast@13.2.0...13.2.1)

Updates `node-forge` from 1.3.1 to 1.3.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.3.3)

Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](jshttp/on-headers@v1.0.2...v1.1.0)

Updates `prismjs` from 1.29.0 to 1.30.0
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/v2/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.29.0...v1.30.0)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.28.6
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: estree-util-value-to-estree
  dependency-version: 3.5.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: image-size
  dependency-version: 1.2.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: mdast-util-to-hast
  dependency-version: 13.2.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: prismjs
  dependency-version: 1.30.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…rn-4ae71e3962

chore(deps): bump the npm_and_yarn group across 1 directory with 12 updates
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: KalCola <colacal43@gmail.com>
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the project's foundational health by introducing a formal security policy and performing a large-scale update of its npm dependencies. The dependency refresh aims to leverage the latest features, bug fixes, and security patches from various libraries, thereby modernizing the codebase and mitigating risks associated with outdated packages. This ensures the project remains robust, secure, and aligned with current development standards.

Highlights

  • Security Policy Addition: A new SECURITY.md file was added to the repository, providing clear guidelines on the project's security policy, supported versions, and procedures for reporting vulnerabilities.
  • Comprehensive Dependency Updates: Numerous npm dependencies across the project have been updated to their latest stable versions. This includes significant version bumps for core packages like @mermaid-js/parser, langium, marked, package-manager-detector, es-module-lexer, and webpack, ensuring improved compatibility, performance, and security.
  • Dependency Tree Optimization: Several direct and nested dependencies, such as @antfu/utils, kolorist, local-pkg, and regenerator-runtime, were removed, contributing to a leaner and more efficient dependency graph. Additionally, redundant nested ajv and schema-utils instances within webpack's node_modules were eliminated.
Changelog
  • SECURITY.md
    • Added a new security policy document outlining supported versions and vulnerability reporting procedures.
  • package-lock.json
    • Updated @antfu/install-pkg from 1.0.0 to 1.1.0.
    • Removed @antfu/utils dependency.
    • Updated @babel/* packages to newer versions (e.g., @babel/code-frame from 7.26.2 to 7.29.0).
    • Updated @chevrotain/* packages from 11.0.3 to 11.1.2.
    • Updated @iconify/utils from 2.3.0 to 3.1.0, streamlining its internal dependencies.
    • Updated @mermaid-js/parser from 0.3.0 to 1.0.0.
    • Updated acorn from 8.14.0 to 8.16.0 and added acorn-import-phases.
    • Updated ajv from 8.17.1 to 8.18.0.
    • Added baseline-browser-mapping dependency.
    • Updated body-parser from 1.20.3 to 1.20.4, including nested dependency updates.
    • Updated browserslist from 4.24.4 to 4.28.1, along with its related dependencies.
    • Updated caniuse-lite from 1.0.30001699 to 1.0.30001774.
    • Updated chevrotain from 11.0.3 to 11.1.2.
    • Updated compression from 1.7.5 to 1.8.1.
    • Updated core-js-pure from 3.40.0 to 3.48.0.
    • Updated dagre-d3-es from 7.0.11 to 7.0.13.
    • Updated dayjs from 1.11.13 to 1.11.19.
    • Updated dompurify from 3.2.4 to 3.3.1.
    • Updated electron-to-chromium from 1.5.96 to 1.5.302.
    • Updated enhanced-resolve from 5.18.1 to 5.20.0.
    • Updated es-module-lexer from 1.6.0 to 2.0.0.
    • Updated express from 4.21.2 to 4.22.1.
    • Updated js-yaml from 4.1.0 to 4.1.1.
    • Updated katex from 0.16.21 to 0.16.33.
    • Removed kolorist and local-pkg dependencies.
    • Updated langium from 3.0.0 to 4.2.1, including new engine requirements.
    • Updated loader-runner from 4.3.0 to 4.3.1.
    • Updated lodash and lodash-es from 4.17.21 to 4.17.23.
    • Updated marked from 13.0.3 to 16.4.2, with updated Node.js engine requirement.
    • Updated mermaid from 11.4.1 to 11.12.3, including numerous sub-dependency updates.
    • Updated mlly from 1.7.4 to 1.8.0.
    • Updated node-forge from 1.3.1 to 1.3.3.
    • Updated node-releases from 2.0.19 to 2.0.27.
    • Updated on-headers from 1.0.2 to 1.1.0.
    • Updated package-manager-detector from 0.2.9 to 1.6.0.
    • Updated prismjs from 1.29.0 to 1.30.0.
    • Updated qs from 6.13.0 to 6.14.2.
    • Updated raw-body from 2.5.2 to 2.5.3, including nested dependency updates.
    • Removed regenerator-runtime dependency.
    • Updated schema-utils from 4.3.0 to 4.3.3.
    • Updated tapable from 2.2.1 to 2.3.0.
    • Updated terser-webpack-plugin from 5.3.11 to 5.3.16.
    • Updated tinyexec from 0.3.2 to 1.0.2.
    • Updated ufo from 1.5.4 to 1.6.3.
    • Updated update-browserslist-db from 1.1.2 to 1.2.3.
    • Updated vscode-uri from 3.0.8 to 3.1.0.
    • Updated watchpack from 2.4.2 to 2.5.1.
    • Updated webpack from 5.97.1 to 5.105.3, including numerous sub-dependency updates and removal of several nested ajv and schema-utils packages.
    • Updated webpack-sources from 3.2.3 to 3.3.4.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/dependency-review.yml
    • .github/workflows/ethicalcheck.yml
    • .github/workflows/mobsf.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a SECURITY.md file and updates project dependencies. The new security policy file is a good addition, but it currently contains placeholder text from a template. It's important to fill this out with your project's specific details for supported versions and the vulnerability reporting process to ensure users and contributors have clear guidance.

Comment on lines +5 to +13
Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

Choose a reason for hiding this comment

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

medium

The 'Supported Versions' section contains placeholder text and example versions. Please update this section to reflect the actual versions of your project that are currently supported with security updates. This is crucial for users to know which versions are safe to use.

Comment on lines +17 to +21
Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

Choose a reason for hiding this comment

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

medium

The 'Reporting a Vulnerability' section contains placeholder instructions. It's important to provide clear guidelines for users on how to report security vulnerabilities. Please replace the placeholder text with your project's specific reporting process, including contact details, expected response timelines, and what to expect after a report is made.

This workflow sets up a CI process for Node.js applications, including installation of dependencies, building the code, and running tests across multiple Node.js versions.

Signed-off-by: KalCola <colacal43@gmail.com>
@KalCola KalCola temporarily deployed to github-pages March 1, 2026 00:26 — with GitHub Pages Inactive
@KalCola KalCola temporarily deployed to github-pages March 1, 2026 00:35 — with GitHub Pages Inactive
Copy link
Owner Author

@KalCola KalCola left a comment

Choose a reason for hiding this comment

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

u

Signed-off-by: KalCola <colacal43@gmail.com>
@KalCola KalCola temporarily deployed to github-pages March 1, 2026 01:50 — with GitHub Pages Inactive
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: KalCola <colacal43@gmail.com>
Signed-off-by: KalCola <colacal43@gmail.com>
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: KalCola <colacal43@gmail.com>
Signed-off-by: KalCola <colacal43@gmail.com>
@KalCola KalCola temporarily deployed to github-pages March 1, 2026 02:12 — with GitHub Pages Inactive
Comment on lines +12 to +21
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-gpr:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI about 14 hours ago

In general, the fix is to define an explicit permissions block that restricts the GITHUB_TOKEN for the build job (or globally at the workflow root) to the minimal privileges needed. Since build only checks out the code, sets up Node, installs dependencies, and runs tests, it should only require read access to the repository contents.

The safest, least-invasive fix that preserves current behavior is to add permissions: contents: read specifically to the build job. This mirrors the minimal starting point suggested by CodeQL, avoids altering the already-correct permissions on the publish-gpr job, and does not change any steps or their behavior. Concretely, in .github/workflows/npm-publish-github-packages.yml, under jobs.build and alongside runs-on: ubuntu-latest, add a permissions block with contents: read.

No new methods, imports, or external definitions are required, as this is purely a YAML workflow configuration change.

Suggested changeset 1
.github/workflows/npm-publish-github-packages.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml
--- a/.github/workflows/npm-publish-github-packages.yml
+++ b/.github/workflows/npm-publish-github-packages.yml
@@ -10,6 +10,8 @@
 jobs:
   build:
     runs-on: ubuntu-latest
+    permissions:
+      contents: read
     steps:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
EOF
@@ -10,6 +10,8 @@
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Copilot is powered by AI and may make mistakes. Always verify output.
Signed-off-by: KalCola <colacal43@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant