https://www.lunasec.io logo
Join Slack
Powered by
# general
  • s

    Slackbot

    04/20/2022, 1:50 PM
    This message was deleted.
    k
    • 2
    • 1
  • f

    Free Wortley

    04/21/2022, 5:46 PM
    Thanks, Kam!
  • f

    Free Wortley

    04/22/2022, 1:10 AM
    Yo @alex thanks for joining
    👋 1
  • b

    breadchris

    04/29/2022, 2:09 AM
    hello
  • b

    breadchris

    04/29/2022, 2:09 AM
    i am human
  • i

    Ian Littman

    05/02/2022, 6:41 PM
    o/ Saw the BF post. Our stack’s primarily PHP with a little bit of Golang and a bunch of Next.js for front-end stuff. The PHP bits I expect won’t be supported by y’all’s tooling, but happy to have another set of eyes on dependency security and such, as another test case (I think we’re in a decent spot, with slimmed-down Alpine images and ECR container scanning and such).
  • b

    breadchris

    05/02/2022, 6:49 PM
    hey @Ian Littman! If you are using PHP composer for your dependency management, then our tool will collect and analyze those dependencies. And for sure we will be able to validate your go and js packages. 👍
  • f

    Free Wortley

    05/02/2022, 6:51 PM
    Thanks for joining in @Ian Littman. We're definitely not PHP wizards but like Chris said we are able to scan Composer manifests and show all known CVEs
    ✅ 1
  • i

    Ian Littman

    05/02/2022, 7:39 PM
    Definitely using composer. Was basically a question of “hey do y’all support composer or is it not a priority yet”
    💯 1
  • d

    Donald Pinckney

    05/06/2022, 3:20 AM
    So I've heard from @Free Wortley and @Forrest Allison that you guys are working on streaming changes from NPM’s couch DB. I'm also trying to work on that, and I have a few questions. Right now, I'm able to stream changes (roughly like this: https://github.com/npm/registry-follower-tutorial) from replicate.npmjs.com, and then could potentially setup downloading of tarballs, etc. However, one big problem is that replicate.npmjs.com only includes non-scoped packages, whereas registry.npmjs.com includes both (https://stackoverflow.com/questions/64491597/difference-between-npmjs-replicate-and-npmjs-registry), so with this method I'm missing out on a whole bunch of data. However, there doesn't appear to be a way to stream changes from registry.npmjs.com. Though periodically scraping registry.npmjs.com is a possibility. I'm wondering how you guys have been thinking about this, or if I'm missing anything. Thanks!
  • f

    Free Wortley

    05/06/2022, 5:15 PM
    @Donald Pinckney I think I used slim.npmjs.com as the upstream
  • f

    Free Wortley

    05/06/2022, 5:17 PM
    Also I had to use a weird bastardized combination of Couch and PouchDB to make it actually go. And a round robin of HTTP proxies to make it bypass CloudFlare rate limits 😅
  • f

    Free Wortley

    05/06/2022, 5:17 PM
    I'll go throw the DB blob in S3 for you and send that over. That'll save you a few days or weeks lol
  • f

    Forrest Allison

    05/06/2022, 5:18 PM
    Can we also share the scripts themselves @Free Wortley?
  • f

    Free Wortley

    05/06/2022, 5:19 PM
    Yes but they're ugly AF 😅
  • f

    Forrest Allison

    05/06/2022, 5:19 PM
    Still might be useful
  • d

    Donald Pinckney

    05/06/2022, 5:34 PM
    Ah, interesting. So what is the difference between slim, and the other 2?
  • d

    Donald Pinckney

    05/06/2022, 5:35 PM
    And yeah, I unfortunately don't have any prior experience with PouchDB
  • f

    Free Wortley

    05/06/2022, 9:44 PM
    Ah, interesting. So what is the difference between slim, and the other 2?
    @Donald Pinckney I believe Slim doesn't include the package zip but it does include scoped packages. I definitely was able to match the same number of packages as what's listed on the main NPM site haha
  • d

    Donald Pinckney

    05/06/2022, 9:44 PM
    Ah ok cool
  • f

    Free Wortley

    05/06/2022, 9:54 PM
    @Donald Pinckney It's
    <http://skimdb.npmjs.org|skimdb.npmjs.org>
    sorry haha
  • f

    Free Wortley

    05/06/2022, 9:54 PM
    I was just pulling up my code to go start cleaning it for you
  • d

    Donald Pinckney

    05/06/2022, 10:12 PM
    Ah great! Don't stress yourself tho, it's Friday
  • d

    Donald Pinckney

    05/07/2022, 10:37 PM
    Interesting discovery: I'm currently streaming changes from replicate.npmjs.com, and interestingly I do actually see scoped packages appearing in the changes
  • d

    Donald Pinckney

    05/07/2022, 10:44 PM
    e.g.
  • d

    Donald Pinckney

    05/07/2022, 10:44 PM
    but, more interestingly, this @fractures/ui package is indeed missing if you try to look it up on replicate, e.g. https://replicate.npmjs.com/@fractures/ui
  • s

    Slackbot

    05/09/2022, 8:14 PM
    This message was deleted.
    c
    • 2
    • 3
  • f

    Forrest Allison

    05/09/2022, 8:31 PM
    Hi cameron!
  • s

    Slackbot

    05/09/2022, 8:32 PM
    This message was deleted.
    c
    f
    • 3
    • 28
  • f

    Forrest Allison

    05/09/2022, 8:32 PM
    you could just use cameron, im 90% sure
12Latest