Better HN
topnewbestaskshowjobs
Log inSign up

gzurl

39 karma · joined Jul 14, 2022 (4y ago) · 17 submissions

Submissions

comment 1mo ago · link · parent

I went exactly through the same process. And that's why I developed agent-squad: https://github.com/gzurl/agent-squad

My conclusion was I had to elevate myself and make sure another agent reviews and tests the code (QA) under the supervision of a third agent (CTO) that defends my vision.

2.

Show HN: Agent Squad – Be the CEO of a Claude Code Agent Team(github.com ↗)

1 points · by gzurl · 1mo ago · discuss

comment 3y ago · link · parent

Actually, that is one of the Wasm key features: being a platform-independent binary not tied to any specific HW architecture.

Translating x86_64 code to arm64 requires more CPU cycles than JITting Wasm into arm64 or x86_64.

Buy even more: in the use case covered in this article, the PHP interpreter won't change so it can be AoT compiled upon deployment to the target architecture. No JIT compilation needed :-)

comment 3y ago · link · parent

SA-CORE-2020-013 is one of them.

comment 3y ago · link · parent

Indeed! As an example, SA-CORE-2020-013 can be mitigated with Wasm. An that one is classified as Critical.

comment 3y ago · link · parent

Yes, sure. WasmGPT this time :-)

comment 3y ago · link · parent

I think you missed this paragraph:

The Apache HTTP server and the Drupal packages remain unchanged. However, instead of loading the libphp.so extension module, it incorporates mod_wasm.so. In addition, instead of relying on the traditional PHP interpreter, it utilizes a PHP build in the WebAssembly binary format.

comment 3y ago · link · parent

Take a look at the linked article about how some PHP vulnerabilities can be mitigated with WebAssembly: https://wasmlabs.dev/articles/mitigating-php-vulnerabilities...

comment 3y ago · link · parent

This article explores how Drupal can benefit from the capabilities-based security model offered by WebAssembly, a portable binary format that allows execution of code in a safe and efficient manner. By deploying Drupal within a WebAssembly-based stack, it gains an additional security layer, protecting against a wide range of vulnerabilities, including those that may not be public yet but can be preemptively mitigated through these mechanisms.

10.

Hardening Drupal with WebAssembly(wasmlabs.dev ↗)

75 points · by gzurl · 3y ago · 51 comments

comment 3y ago · link · parent

I didn't know about pandoc. Really useful!

comment 3y ago · link · parent

Yes, exactly. We wrote an article here regarding PHP on Wasm that covers that: https://wasmlabs.dev/articles/mitigating-php-vulnerabilities...

13.

Mitigating PHP Vulnerabilities with WebAssembly(wasmlabs.dev ↗)

1 points · by gzurl · 3y ago · discuss

14.

Mod_WASM v0.10.0 with multi-module support(wasmlabs.dev ↗)

4 points · by gzurl · 3y ago · 1 comment

comment 4y ago · link · parent

Think in the minimum container you need to run some Python code (>300MB?). Now, compare that to just the Python interpreter compiled into Wasm (25MB). If you need deploy that into different nodes, that's a huge difference.

Also, Wasm modules don't have cold-starts as containers.

Regarding running untrusted code, ask the folks at AWS, Azure or Google Cloud dealing with that...

comment 4y ago · link · parent

https://github.com/vmware-labs/mod_wasm

comment 4y ago · link · parent

The "why" and the "how" here: https://wasmlabs.dev/articles/wordpress-in-the-browser/