Sander Declerck
3958fcfcef
Parse cli args in ultimate installation
2026-01-19 14:06:43 +01:00
Sander Declerck
673783ceab
Uninstall safe-chain agent if it's there, before re-installing
2026-01-19 14:00:09 +01:00
Sander Declerck
c4941e25ed
Fix linting
2026-01-19 13:55:41 +01:00
Sander Declerck
4851e582f6
Improve updating existing agent install
2026-01-19 13:54:32 +01:00
Sander Declerck
6a3c7b938b
Overwrite the agent if it's already installed.
2026-01-19 13:48:33 +01:00
Sander Declerck
2c0245b020
Start and stop safe-chain agent's Windows service.
2026-01-19 13:28:16 +01:00
Sander Declerck
879b37e164
Add ultimate installer for Windows
2026-01-19 12:47:57 +01:00
Reinier Criel
f358709ab2
Merge pull request #282 from uriel-ecosia/command-not-found
...
Propagate command-not-found errors when invoking wrapped commands
2026-01-15 18:38:30 +01:00
Sander Declerck
05f7c8f877
Merge pull request #293 from AikidoSec/min-package-age-exclusion
...
Min package age exclusion
2026-01-15 16:08:33 +01:00
Sander Declerck
6c814ff82f
Only allow wildcards for scoped packages (@scope/*)
2026-01-15 15:13:00 +01:00
Reinier Criel
b6b880d21a
Merge pull request #287 from AikidoSec/bug/win32-command-parsing-beta
...
Fix double dash argument forwarding on Win32 PowerShell
2026-01-14 20:09:56 +01:00
Sander Declerck
884cb6e026
Allow trailing * for wildcard matching
2026-01-14 17:51:41 +01:00
Sander Declerck
6815b62019
Allow to exclude packages from the minimum package age
2026-01-14 17:41:23 +01:00
bitterpanda
5898fc851a
Merge pull request #292 from AikidoSec/retry-malware-db-download
...
Retry downloading the malware database 3 times
2026-01-14 15:58:39 +01:00
bitterpanda
9d55afbf85
Update packages/safe-chain/src/api/aikido.js
2026-01-14 15:33:09 +01:00
Sander Declerck
6f4eaf5234
Don't swallow error on retry
2026-01-14 15:31:37 +01:00
Sander Declerck
a5d545f29b
Handle pr comments
2026-01-14 14:55:11 +01:00
Sander Declerck
8d2655a4bf
Add tests for malware db retry
2026-01-14 14:41:06 +01:00
Sander Declerck
d83a381231
Retry downloading the malware database 3 times
2026-01-14 14:02:27 +01:00
Reinier Criel
045fc1519b
Merge pull request #288 from slootjes/patch-1
...
Add Bitbucket Pipelines example
2026-01-13 21:16:01 +01:00
Reinier Criel
b592da7431
Merge pull request #290 from AikidoSec/feature/logging-for-min-package-age
...
Include package name in logging when minimum package age is not met
2026-01-13 19:52:14 +01:00
bitterpanda
c38f1bcb3e
Update packages/safe-chain/src/registryProxy/interceptors/npm/modifyNpmInfo.js
2026-01-13 19:33:00 +01:00
Reinier Criel
f678ff8dd1
Include package name in logging when minimum package age is not met
2026-01-13 10:09:59 -08:00
Robert Slootjes
b25d405972
Add Bitbucket Pipelines example
2026-01-13 08:19:10 +01:00
Reinier Criel
340e9a90a5
Remove comment
2026-01-12 15:13:34 -08:00
Reinier Criel
9a902af917
Fix some logic
2026-01-12 15:12:19 -08:00
Reinier Criel
19652c49c9
Attempted fix for powershell swallowing '--'
2026-01-12 14:53:23 -08:00
Sander Declerck
31b5f73197
Merge pull request #285 from AikidoSec/logging-as-env-variable
...
Allow to configure loglevel through an env variable
2026-01-12 12:41:13 +01:00
Sander Declerck
595f269f62
Add comment about backwards compat.
2026-01-12 11:20:25 +01:00
Sander Declerck
20994c1834
Document to configure loglevel through env variables.
2026-01-12 11:01:54 +01:00
Sander Declerck
3573ef2bc5
Allow to configure loglevel through an env variable
2026-01-12 10:50:06 +01:00
Sander Declerck
6d2d943e18
Merge pull request #284 from AikidoSec/troubleshooting-packagemanager-cache
...
Add a section about troubleshooting when the package is already in the cache
2026-01-09 09:28:39 +01:00
Uriel Corfa
0ce0a87557
Add the same handler for fish
2026-01-08 10:01:13 +01:00
Uriel Corfa
4e894dd0fd
init-posix: preserve arguments when exec'ing the original_cmd
2026-01-08 09:56:59 +01:00
Sander Declerck
6a70898e7b
Remove "optional" from "Clean local installation artifacts"
2026-01-08 08:01:48 +01:00
Sander Declerck
59f8b55bda
Add a section about troubleshooting when the package is already in the cache
2026-01-08 08:00:26 +01:00
Uriel Corfa
3bfca9e296
Propagate command-not-found errors when invoking wrapped commands
...
Before this change, if a package manager was not installed, safe-chain still
sets the function and when invoked, the wrapper will invoke safe-chain, which
will exit with error code 127 when it fails to invoke the wrapped command. As an
example (with a shell prompt that shows $? when non-zero):
```
$ type -f pip
bash: type: pip: not found
1$ pip
127$
```
With this patch, the wrapper first checks for the existence of the wrapped
command (ignoring functions), and if no such command exists, it instructs the
shell to invoke it anyway. This results in the shell failing to find the
command, and reporting an error as if the wrapper function wasn't there:
```
$ source init-posix.sh
$ type -f pip
bash: type: pip: not found
1$ pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
127$
```
2026-01-07 17:18:48 +01:00
Sander Declerck
4a63f976ae
Merge pull request #280 from AikidoSec/fix-broken-compatibility-in-install-beta
...
Fix broken compatibility in install
2026-01-07 14:40:36 +01:00
Sander Declerck
43eda4fadf
Add deprecation message to powershell version as well
2026-01-07 14:20:16 +01:00
Sander Declerck
6820e1e76c
Fix broken compatibility in install
2026-01-07 14:09:18 +01:00
Sander Declerck
094d1416ca
Merge pull request #272 from graemechapman/patch-1
...
fix: Allow running commands if safe-chain npm package is not installed
2026-01-07 12:03:19 +01:00
Sander Declerck
b215474271
Merge pull request #273 from AikidoSec/docker-standalone-exec
...
Safe-chain standalone binaries for docker
2026-01-07 12:01:33 +01:00
Sander Declerck
b2a5336556
Use latest build of safe-chain in CI again
2026-01-07 11:39:22 +01:00
Sander Declerck
7a4b7057bc
Test on gh actions
2026-01-07 09:40:40 +01:00
Sander Declerck
8fc3727b88
Merge branch 'docker-standalone-exec' into docker-standalone-exec-beta
2026-01-07 08:55:34 +01:00
Sander Declerck
b19d67f853
Add linuxstatic artifact to release
2026-01-07 08:55:20 +01:00
Sander Declerck
17d567d0bb
Merge branch 'docker-standalone-exec' into docker-standalone-exec-beta
2026-01-07 08:49:18 +01:00
Sander Declerck
ffaf7b60b6
Merge branch 'main' into docker-standalone-exec
2026-01-07 08:48:30 +01:00
bitterpanda
0a7b096abf
Merge pull request #277 from AikidoSec/add-troubleshooting-docs
...
Add troubleshooting docs
2026-01-06 16:07:51 +01:00
Sander Declerck
504b3ca596
Update Conflicting Installations note
2026-01-06 16:04:15 +01:00