Reinier Criel
7e88490bd1
Merge branch 'main' into feature/cleanup-shims
2025-12-12 08:03:12 -08:00
Sander Declerck
3d1e4b0489
Allow '0' for minimum package age setting.
2025-12-12 16:35:02 +01:00
Reinier Criel
5bab03991b
Merge pull request #236 from uriel-ecosia/uc-python-spawn
...
Fix `safe-chain python` exiting quietly
2025-12-12 07:26:18 -08:00
Sander Declerck
650dde4c84
Remove mac unit test runner
2025-12-12 15:51:48 +01:00
Uriel Corfa
cb9f3ee145
Do not rely on asynchronous import of child_process.
...
Importing child_process asynchronously causes loader errors when running the
binary dist:
$ ./dist/safe-chain python --safe-chain-logging=verbose
Safe-chain: Bypassing safe-chain for non-pip invocation: python
Failed to check for malicious packages: A dynamic import callback was not specified.
$
Relying on a regular import does not cause this issue. There is no obvious
reason for this import to be dynamic (in particular, there are no tests using
this to mock the spawn function), so let's simplify.
2025-12-12 09:09:52 +01:00
Uriel Corfa
db2c272aea
Add a unit test for shouldBypassSafeChain
2025-12-12 09:09:52 +01:00
Uriel Corfa
64d87ae1e1
Flush buffered logs before exiting
2025-12-12 09:09:50 +01:00
Reinier Criel
092df57695
Change order
2025-12-11 20:29:58 -08:00
Reinier Criel
2b0f8d9f0d
Skeleton
2025-12-11 15:13:15 -08:00
bitterpanda
4623f3eff8
Merge pull request #237 from AikidoSec/feature/adjust-docker-logging
...
test(e2e): capture docker build output instead of ignoring it
2025-12-11 23:49:11 +01:00
Reinier Criel
df66863ae5
Some tweaks
2025-12-11 13:08:23 -08:00
Reinier Criel
a9a7a37f6a
Fix flag
2025-12-11 10:57:18 -08:00
Reinier Criel
c385f9b371
Adapt DockerFile
2025-12-11 10:45:24 -08:00
Reinier Criel
2daddace31
Pipe output for better logging
2025-12-11 09:32:53 -08:00
Reinier Criel
7a9a6418a5
Better logging for e2e tests + allow buffering of logs
2025-12-11 09:06:50 -08:00
Reinier Criel
14bb6899d8
Merge pull request #223 from AikidoSec/feature/combine-certs
...
Combine cert with NODE_EXTRA_CA_CERTS if it already exists
2025-12-10 08:16:32 -08:00
Reinier Criel
bb44082d51
Merge branch 'main' into feature/combine-certs
2025-12-10 07:34:45 -08:00
Sander Declerck
2e212b950f
Merge pull request #231 from AikidoSec/uninstall-scripts
...
Add uninstall scripts
2025-12-10 14:16:29 +01:00
Sander Declerck
9c94fadfcc
Fix $env:USERPROFILE in pwsh script for unix
2025-12-10 13:55:08 +01:00
Sander Declerck
dace5f3845
PR comments: handle unix on pwsh, update readme, rename variable in unix script
2025-12-10 13:48:07 +01:00
galargh
833fa285aa
feat: allow python custom registries configuration
2025-12-10 13:27:18 +01:00
Sander Declerck
1b5814ecc2
Add uninstall scripts
2025-12-10 09:54:15 +01:00
Reinier Criel
0b28cb8fdb
Merge branch 'main' into feature/combine-certs
2025-12-09 14:31:05 -08:00
Sander Declerck
9444c7b4f6
Merge pull request #230 from AikidoSec/only-shortcircuit-timedout-imds-endpoints
...
Only short-circuit timed out imds endpoints
2025-12-09 16:38:30 +01:00
Sander Declerck
40650e7912
Add tests for: not shortcircuiting timeout on imds endpoint.
2025-12-09 15:46:37 +01:00
Sander Declerck
afc68618c6
Only timeout for imds endpoints
2025-12-09 15:25:19 +01:00
Reinier Criel
5d1807a551
Remove unnecessary change
2025-12-08 17:30:55 -08:00
Reinier Criel
23922dfb2d
Fix test issue
2025-12-08 16:53:07 -08:00
Reinier Criel
b84b410fd8
Fix linting issues
2025-12-08 15:36:37 -08:00
Reinier Criel
c51956b2db
Fix tests
2025-12-08 15:23:44 -08:00
Reinier Criel
d9fe775d11
Fix some issues
2025-12-08 15:18:06 -08:00
Reinier Criel
2bc6d249de
Some fixes
2025-12-08 13:38:38 -08:00
Reinier Criel
091e6ec5f8
Merge branch 'main' into feature/combine-certs
2025-12-08 09:42:10 -08:00
bitterpanda
cef2194427
Merge pull request #225 from AikidoSec/fix-url-in-output-logs
...
Fix undefined url in output logs
2025-12-08 13:00:22 +01:00
bitterpanda
0931b6a5fe
Merge pull request #224 from AikidoSec/only-audit-stats-in-verbose
...
Log audit stats as verbose, not as information
2025-12-08 11:56:55 +01:00
Sander Declerck
19aed47f02
Add typedef for MalwareBlockedEvent
2025-12-08 11:54:30 +01:00
Sander Declerck
4840b0f694
Fix undefined url in output logs
2025-12-08 11:50:57 +01:00
Sander Declerck
a7946377b4
Log audit stats as verbose, not as information
2025-12-08 11:37:37 +01:00
bitterpanda
9901cb8502
Merge pull request #100 from AikidoSec/test-on-win
...
Run unit tests on windows
2025-12-08 10:19:33 +01:00
Sander Declerck
6e09aa85c2
Merge branch 'main' into test-on-win
2025-12-08 09:49:52 +01:00
bitterpanda
b40a9dd6f5
Merge pull request #222 from AikidoSec/bug/clear-pip-cache
...
Clear pip/uv/poetry cache before e2e tests
2025-12-07 22:08:10 +01:00
Reinier Criel
2e9bae41f3
Add unit tests
2025-12-05 15:40:14 -08:00
Reinier Criel
d0c5f35707
Check input file
2025-12-05 15:31:19 -08:00
Reinier Criel
8aa0615293
Some improvements
2025-12-05 15:13:12 -08:00
Reinier Criel
7086cfa277
Combine NODE_EXTRA_CA_CERTS with Safe Chain's certificate bundle
2025-12-05 14:26:23 -08:00
Reinier Criel
fc88120fdc
Also for uv and poetry
2025-12-05 10:01:55 -08:00
Reinier Criel
85c4fcc96f
Make sure e2e test clears cache
2025-12-05 09:39:51 -08:00
Sander Declerck
19399b491b
Only upload artifact on linux
2025-12-05 18:10:41 +01:00
Sander Declerck
dfed1299c4
Overwrite artifact
2025-12-05 18:09:22 +01:00
Sander Declerck
46cbb4fd28
Ignore scripts when running npm ci on Windows
2025-12-05 18:06:16 +01:00