Commit graph

1191 commits

Author SHA1 Message Date
galargh
39e2001d97 Merge remote-tracking branch 'origin/main' into pip-custom-registries 2025-12-22 13:27:04 +01:00
jassanw
3b6beb7f16 default to port 443 if port is null or empty 2025-12-19 18:49:58 -08:00
cherryace
bd19f477f7 Using port from req url when creating proxy request instead of hardcoded port 443 2025-12-19 17:57:33 -08:00
Sander Declerck
b571aad6a0
Add command to verify safe-chain is intercepting the package managers commands 2025-12-19 16:18:21 +01:00
Sander Declerck
53c59e35e9
Merge pull request #258 from thomasbecker/fix/connection-timeout-issue-228
fix: use true connection timeout instead of idle timeout
2025-12-19 11:05:53 +01:00
Sander Declerck
e88f3f9c7c
Merge pull request #260 from AikidoSec/demo-video
Add demo gif to readme again
2025-12-19 11:01:33 +01:00
Sander Declerck
120e12fd34
Merge pull request #259 from AikidoSec/configure-custom-npm-registries
Allow to configure custom/private npm registries
2025-12-19 10:42:51 +01:00
Sander Declerck
5fec230181
Also commit readme 2025-12-19 10:42:17 +01:00
Sander Declerck
1084abe179
Add demo gif to readme again 2025-12-19 10:38:05 +01:00
Reinier Criel
bbf5f8189b
Merge pull request #256 from AikidoSec/feature/pipx-2
Add PIPX support
2025-12-19 09:41:00 +01:00
Sander Declerck
9f93763b98
Handle code quality comments 2025-12-18 18:18:45 +01:00
Sander Declerck
deb0ad5428
Create a single emptyConfig object 2025-12-18 18:03:09 +01:00
Sander Declerck
e3aa2e15cb
Add npmjs.com to known registries too. 2025-12-18 17:59:15 +01:00
Sander Declerck
41cc24d1f5
Allow to configure custom/prinvate npm registries 2025-12-18 13:52:49 +01:00
Reinier Criel
287bd7a41f Remove redundant comment 2025-12-18 13:41:18 +01:00
Reinier Criel
6ce3791140 Fix check 2025-12-18 13:37:29 +01:00
Thomas Becker
878e549211 fix: use true connection timeout instead of idle timeout
socket.setTimeout() is an idle timeout in Node.js (node docs)[https://nodejs.org/api/net.html#socketsettimeouttimeout-callback]
- it fires after N ms of inactivity, not N ms after the connection attempt. This
caused false timeout errors after successful data transfers when connections
went idle for longer than the timeout period.

Replace with JS setTimeout() that:
- Fires N ms after connection attempt starts
- Gets cleared on successful connect
- Return 504 Gateway Timeout (more accurate than 502)

Also adds proper close event handlers for socket cleanup.

Fixes #228
2025-12-18 12:53:49 +01:00
Reinier Criel
28f34a8380 Fix env func 2025-12-18 12:09:28 +01:00
Reinier Criel
a1d348b768 Fix test 2025-12-18 11:45:43 +01:00
Reinier Criel
dbc7272fb4 Some cleanup 2025-12-18 10:43:27 +01:00
Reinier Criel
d2fc531c81 Fix tests and add command support 2025-12-18 10:33:31 +01:00
Reinier Criel
0925279521
Merge pull request #253 from AikidoSec/feature/circle-ci
Add Circle CI Pipeline Guidance
2025-12-18 09:20:42 +01:00
Sander Declerck
66abb29cf3
Merge pull request #254 from AikidoSec/use-new-install-script
Use new release script in GH workflows
2025-12-17 14:31:18 +01:00
Reinier Criel
b9de94f0f1 Merge branch 'main' into feature/pipx-2 2025-12-17 14:28:14 +01:00
Sander Declerck
2cb891b935
Use correct Windows install script 2025-12-17 14:12:39 +01:00
Sander Declerck
a1ec035d9c
Use Windows installation script 2025-12-17 14:09:45 +01:00
Sander Declerck
148eb21430
Use new release script in GH workflows 2025-12-17 14:07:58 +01:00
Reinier Criel
50ed2a9a7f Merge branch 'main' into feature/circle-ci 2025-12-17 14:02:07 +01:00
bitterpanda
fb618b4b22
Merge pull request #252 from AikidoSec/check-current-version-before-install
Check current safe-chain version in installation script
2025-12-17 13:54:46 +01:00
bitterpanda
7dd832dd9a
Merge pull request #249 from AikidoSec/fix-failing-download-in-install-script-beta
Add install script with hard-coded version to build output
2025-12-17 13:53:13 +01:00
Reinier Criel
8c929f65e2 Update README 2025-12-17 13:51:56 +01:00
Reinier Criel
5de43c1bf2 Some modifications 2025-12-17 13:26:14 +01:00
Reinier Criel
3c18ad76f7 Skeleton 2025-12-17 11:37:51 +01:00
Sander Declerck
0b38fcd74e
Use return instead of exit 2025-12-17 10:20:31 +01:00
Sander Declerck
2374c76192
Check current safe-chain version in installation script 2025-12-17 09:35:10 +01:00
Sander Declerck
e6cfa65ee2
Document release scripts 2025-12-16 16:09:57 +01:00
bitterpanda
9db8a2cc24
Merge pull request #250 from AikidoSec/bug/py-flag-warning
Emit deprecation warning when --include-python flag is used
2025-12-16 15:25:38 +01:00
Sander Declerck
aaa5a41af6
Replace version correctly 2025-12-16 15:19:50 +01:00
Reinier Criel
379cd20154 Fix linter issue 2025-12-16 15:05:03 +01:00
Sander Declerck
8b2ebdf49c
Add correct destination operand for cp uninstall scripts 2025-12-16 14:57:53 +01:00
Sander Declerck
dc14d5023f
Move files to release-artifacts dir 2025-12-16 14:53:35 +01:00
Reinier Criel
a47ea153da Simplify 2025-12-16 14:53:30 +01:00
Sander Declerck
2068ede045
Disable push to npm 2025-12-16 14:47:53 +01:00
Reinier Criel
037a83e1ff Print warning if deprecated --include-python flag is given 2025-12-16 14:47:53 +01:00
Sander Declerck
dddd41e891
Add correct scripts to the release 2025-12-16 14:35:16 +01:00
Sander Declerck
2c2159e512
Add install script with hard-coded version to build output 2025-12-16 14:34:24 +01:00
bitterpanda
6bb0cedf21
Merge pull request #247 from AikidoSec/standalone-binary-in-safe-chain-pipelines
Use the standalone binary in our own pipelines
2025-12-16 13:36:06 +01:00
Sander Declerck
b060cec580
Revert "Add safe-chain-test for verification"
This reverts commit 7b8a945875.
2025-12-16 13:35:41 +01:00
Sander Declerck
7b8a945875
Add safe-chain-test for verification 2025-12-16 13:34:14 +01:00
bitterpanda
3d7b1a7df5
Merge pull request #246 from AikidoSec/fix-powershell-install-script-path-separator
Fix path separator on Windows Powershell
2025-12-16 13:26:24 +01:00