duncanbeevers

Joined 15 years ago

Karma
7
Submissions
6
Member since
May 5
[ my public key: https://keybase.io/duncanbeevers; my proof: https://keybase.io/duncanbeevers/sigs/IIANw8lTvo4PiTqxXe1Trtv1uaFcKM0_24924tsVmoI ]
View on Hacker News

Recent submissions

Comment · 11 months ago
Lavamoat purports to do this. https://lavamoat.github.io/

There has been some promising prior research such as BreakApp attempting to mitigate unusual supply-chain compromises such as denial-of-service attacks targeting the CPU via pathological regexps or other logic-bomb-flavored payloads.

Comment · 1 year ago
There's a great paper implementing this idea in the node.js ecosystem; [BreakApp: Automated, Flexible Application Compartmentalization](https://ic.ese.upenn.edu/pdf/breakapp_ndss2018.pdf) which modifies the `require` signature to allow specifying a security scope in which the module can be run.

It doesn't quite work at the capabilities level, but it does provide some novel protections against unusual supply-chain attacks such as denial-of-service attacks which may otherwise require no special capabilities.

Comment · 5 years ago
Ink may be the tool you're looking for.

https://vadimdemedes.com/posts/ink-3

It lets you write React CLI apps using a flexbox layout engine, and is used by a number of high-profile node projects.

Comment · 12 years ago
One of the reasons I added this support was so we could use the parser on our client-side handlebars templates to identify glyph usages and build the smallest possible custom fonts.
Comment · 13 years ago
Nope. You can attach a handler to window.onerror manually that pushes its error to the notifier, but errors handled this way won't have a stack trace.
Comment · 15 years ago
Reminds me of node-chainsaw: https://github.com/substack/node-chainsaw

Also, my own node-ContextChain https://github.com/duncanbeevers/node-ContextChain

Both of these libraries take the approach of wrapping the underlying object rather than modifying it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton