Commit graph

48 commits

Author SHA1 Message Date
Sander Declerck
9c149f3bb3
Create and run build.js 2025-11-28 10:51:43 +01:00
Reinier Criel
cab3a0aba3 Add uv (Astral Python package manager) support
- Add uv package manager implementation following pip pattern
- Configure MITM proxy with CA bundle for PyPI packages
- Add shell integration (bash/zsh/fish/PowerShell)
- Conditional on --include-python flag
- Add 33 comprehensive E2E tests covering:
  - uv pip install/sync/compile commands
  - uv add for project dependencies
  - uv tool install for global tools
  - uv run --with for ephemeral dependencies
  - uv sync for project syncing
  - Malware blocking verification for all methods
- Update documentation and package.json
- Install uv in Docker test environment
2025-11-25 14:10:20 -08:00
Sander Declerck
c6bcd6f646
Add feature flag in setup for python support. 2025-11-14 14:12:44 +01:00
Reinier Criel
61a53b24fd Some cleanup 2025-11-06 13:24:00 -08:00
Reinier Criel
e88aede939 Remove some debug logging 2025-11-06 12:25:55 -08:00
Reinier Criel
9bd29056c6 Some cleanup 2025-11-06 11:02:03 -08:00
Reinier Criel
f400c5576a WIP 2025-11-06 08:32:25 -08:00
Reinier Criel
7cff2818e4 Fix Windows template 2025-11-05 15:40:54 -08:00
Reinier Criel
58a5e837f7 Add unit tests 2025-11-04 13:32:07 -08:00
Reinier Criel
6241c56fda Skeleton for CI support 2025-11-04 13:29:31 -08:00
Reinier Criel
548d416996 Merge remote-tracking branch 'origin/main' into feature/pypi 2025-11-03 06:49:53 -08:00
Hans Ott
e8e7c85c62 Revert "Introduce mistake that passes linter"
This reverts commit 1724e0b199.
2025-11-02 15:31:23 +01:00
Hans Ott
1724e0b199 Introduce mistake that passes linter 2025-11-02 15:31:02 +01:00
Hans Ott
0cfce2d436 Revert "Example of mistake"
This reverts commit b489fe822c.
2025-11-02 15:29:36 +01:00
Hans Ott
b489fe822c Example of mistake 2025-11-02 15:29:23 +01:00
Hans Ott
e164eb8b95 Reduce diff 2025-11-01 13:47:13 +01:00
Hans Ott
484cbcd960 Use @typedef {Object} X
When you write @typedef {Object} ScanResult, you’re telling both JSDoc and TypeScript’s parser that this typedef represents an object type, not just an abstract name. This is important because it makes tools like IDEs, linters, and TypeScript’s JSDoc inference more reliable. It avoids ambiguity, especially in cases where the typedef might later be confused with something like a primitive, union, or function type. The official TypeScript documentation and the JSDoc spec both show this form as the canonical one for object shapes.
2025-11-01 13:28:11 +01:00
Hans Ott
c88b1a624f Type check safe-chain package 2025-11-01 13:06:06 +01:00
Reinier Criel
ccd59a2f17 Clean up code 2025-10-28 09:45:24 -07:00
Reinier Criel
c2e632ead2 Add e2e test for malware blocking + python3 fix 2025-10-28 09:15:00 -07:00
Reinier Criel
3c109fb5fd Fix issue seen during Windows testing 2025-10-27 15:19:48 -07:00
Reinier Criel
a438175e8a Fix tests 2025-10-27 13:28:35 -07:00
Reinier Criel
57bbb06f39 Add redirecting for explicit python(3) commands 2025-10-27 13:00:18 -07:00
Reinier Criel
8f877742d0 Fix permissions issue with aikido-pip3 2025-10-27 11:48:30 -07:00
Reinier Criel
190607de92 Adapt per review 2025-10-27 09:23:47 -07:00
Reinier Criel
598ddc17fa Fix linting issue 2025-10-25 14:14:36 -07:00
Reinier Criel
f817bf887a Update documentation 2025-10-23 10:23:42 -07:00
Reinier Criel
f086aeb2be Skeleton 2025-10-22 06:59:32 -07:00
Reinier Criel
d0f2edec0a Skeleton 2025-10-21 15:25:12 -07:00
Sander Declerck
329405e8f2
Merge pull request #93 from AikidoSec/bun-wrapper
Wrap bun with safe-chain to block downloads of packages with malware
2025-10-08 16:27:56 +02:00
Sander Declerck
43dcba8802
Wrap bun with safe-chain to block downloads of packages with malware 2025-10-08 15:12:06 +02:00
Sander Declerck
cc4d20e380
Fix line explosion on Windows PowerShell 2025-10-02 15:15:04 +02:00
Sander Declerck
04cb001006
Merge pull request #78 from AikidoSec/fish-test-command-not-working
init-fish: split up if to prevent expanded args to break the condition
2025-09-24 15:47:12 +02:00
Sander Declerck
1514fb44c5
init-fish: split up if to prevent expanded args to break the condition 2025-09-24 14:51:32 +02:00
Sander Declerck
e38dcc1ea8
Clarify how path is modified in Azure Pipelines with a comment 2025-09-24 14:35:48 +02:00
Sander Declerck
b2ce8a2abb
Merge branch 'main' into non-interactive-terminal-support 2025-09-23 13:33:10 +02:00
Sander Declerck
bbc111c577
Add some unit tests on setup-ci 2025-09-19 11:56:05 +02:00
Sander Declerck
d1c0982942
Base safe-chain setupci implementation 2025-09-18 17:44:42 +02:00
Sander Declerck
91473838d2
Merge branch 'main' into setup-check-if-dir-exists 2025-09-18 10:27:00 +02:00
Sander Declerck
f7589160af
Merge pull request #61 from AikidoSec/respect-empty-lines-in-shell-startup-files
Don't remove empty lines in shell startup scripts. Fixes #58
2025-09-18 10:24:38 +02:00
Sander Declerck
93c23ee39f
Always use \n line endings for bash, zsh and fish 2025-09-18 08:05:11 +02:00
Sander Declerck
57ce17e7f5
Don't remove empty lines in shell startup scripts. Fixes #58 2025-09-17 16:42:10 +02:00
Sander Declerck
f793bb8467
Check if directory exists before creating a new shell startup file 2025-09-17 15:26:06 +02:00
Sander Declerck
ca8bc31311
Add a more descriptive comment for the cygwin test 2025-09-10 14:16:54 +02:00
Sander Declerck
32ba9d71b5
Cleanup test bash file for cygwin 2025-09-10 14:13:51 +02:00
Sander Declerck
6826728481
Add test for cygwin flow 2025-09-10 14:10:25 +02:00
Sander Declerck
0a6fd4cbb7
Add support for Cygwin on windows - fixes #31 2025-09-10 13:31:30 +02:00
Sander Declerck
7673d32912
Move safe-chain package to packages/safe-chain 2025-09-05 11:19:37 +02:00