Commit graph

31 commits

Author SHA1 Message Date
dependabot[bot]
b7faebac86
chore(deps): bump actions/setup-python from 4 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 06:18:12 +00:00
Wendong-Fan
9446f8aa89 cicd security 2026-01-13 21:55:29 +08:00
Cole Murray
102a864d43 fix(security): prevent arbitrary code execution in CI workflow
SECURITY FIX: The previous CI workflow was vulnerable to arbitrary code
execution from fork PRs due to using `pull_request_target` with checkout
of untrusted PR code.

Attack vector:
- Attacker forks repo and adds malicious node_modules/.bin/markdownlint-cli
- Opens PR to trigger CI workflow
- npx executes attacker's script with repository write permissions
- Attacker can exfiltrate credentials, comment on PRs, or push code

Fix:
- Split workflow into two separate files
- ci.yml: Uses pull_request_target for commenting (no code checkout)
- lint-markdown.yml: Uses pull_request for linting (safe to checkout)

The pull_request trigger runs fork PRs with read-only permissions and
no access to repository secrets, making it safe to checkout and execute
PR code.

Additional improvements:
- Updated actions to latest versions (checkout@v4, github-script@v7, paths-filter@v3)
- Pin markdownlint-cli version to prevent supply chain attacks
- Added security comments explaining the rationale

Reference: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
2026-01-12 23:10:48 -08:00
Wendong-Fan
0375d7aa66 update cicd setting in workflows 2026-01-03 03:13:40 +08:00
罗鹏铖
19761dc23a
Add CodeQL analysis workflow configuration 2025-12-04 17:06:23 +08:00
sw3205933776
bc0267c0c3 update 2025-11-14 15:47:33 +08:00
sw3205933776
81cfacf341 update 2025-11-14 15:32:06 +08:00
sw3205933776
95e09cfc8e update 2025-09-17 15:25:12 +08:00
sw3205933776
cf6070a13f update 2025-09-17 15:23:10 +08:00
sw3205933776
4065f32607 update 2025-09-17 15:22:16 +08:00
sw3205933776
defe656c28 fix: add latest-x64-mac.yml to release artifacts for auto-update (#246) 2025-08-28 10:50:08 +08:00
Wendong-Fan
6057be8e9f fix: cd uv dependency 2025-08-28 09:59:17 +08:00
Wendong-Fan
d6cfbec9e2 enhance: Feature GitHub actions update #229 2025-08-27 19:59:04 +08:00
sw3205933776
ce68dabbac edit build config 2025-08-22 11:35:06 +08:00
sw3205933776
24a699414f edit build config 2025-08-21 15:09:27 +08:00
sw3205933776
9858ba9012 edit build config 2025-08-21 14:56:08 +08:00
sw3205933776
768519cd16 edit build config 2025-08-21 14:31:51 +08:00
sw3205933776
a022ba3297 edit build config 2025-08-20 17:28:48 +08:00
sw3205933776
bfbd6d359f edit build config 2025-08-20 16:09:16 +08:00
sw3205933776
4ca60865c7 edit build config 2025-08-20 15:17:03 +08:00
sw3205933776
931c178dcf edit build config 2025-08-20 14:59:43 +08:00
sw3205933776
dc73404011 edit build config 2025-08-20 14:35:24 +08:00
sw3205933776
a2bc5a6e49 edit build config 2025-08-20 11:56:36 +08:00
sw3205933776
11b7edee44 edit build config 2025-08-20 11:48:24 +08:00
sw3205933776
c8a2d4f9c1 edit build config 2025-08-20 11:24:01 +08:00
sw3205933776
b68f8176c3 fix:indentation in build.yml 2025-08-20 11:09:23 +08:00
sw3205933776
424cbbb38b Change UV installation method 2025-08-20 11:06:44 +08:00
sw3205933776
c8a7184c3a Setup Python in GitHub Actions 2025-08-20 11:01:17 +08:00
sw3205933776
30a19f72b0 Update Node.js version in GitHub Actions 2025-08-20 10:50:01 +08:00
sw3205933776
3bdbf3a56c update GitHub Actions workflow 2025-08-20 10:04:58 +08:00
puzhen
723df5a03e Initial commit of eigent-main 2025-08-12 01:16:39 +02:00