[{"data":1,"prerenderedAt":224},["ShallowReactive",2],{"project-45063547":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":40,"post_text":42,"what":43,"said":79,"maker_in_thread":136,"shape":144,"grid":148,"attempts":185,"same_week":186,"maker_shows":32,"maker_hidden":216,"reader_version":217,"card":218},"45063547","prompt-injector","A minimal TS library that generates prompt injection attacks","title","Show HN: A minimal TS library that generates prompt injection attacks","https:\u002F\u002Fprompt-injector.blueprintlab.io\u002F","prompt-injector.blueprintlab.io","yaoke259",1756472449,2025,33,15,1577,3837,42,"shown","ai","prompt injection testing","library",[24,25,26,27],"prompt injection","llm security","red teaming","typescript","roasted",-0.381,{"positive":31,"neutral":32,"mixed":31,"critical":33},0,2,4,6,{"docs":36,"execution":38,"design":39},{"positive":31,"critical":37},1,{"positive":31,"critical":32},{"positive":31,"critical":37},[37,41,37,31,37,31,41,31,31,31,31,31,31,37,31],3,"I made an open source, MIT license Typescript library based on some of the latest research that generates prompt injection attacks. It is a super minimal\u002Flightweight and designed to be super easy to use.\n\nKeen to hear your thoughts and please be responsible and only pen test systems where you have permission to pen test!",{"problem":44,"audience":50,"pricing":54,"motivation":55,"time_to_build":54,"stack":61,"openness":76,"stage":77,"team_size":78},{"value":45,"source":46,"evidence":47},"Generating prompt injection attacks to test AI systems","maker",[48],{"id":49},"post",{"value":51,"source":46,"evidence":52},"Developers pen testing AI systems they have permission to test",[53],{"id":49},null,{"value":56,"source":46,"evidence":57},"Fun side project from a shower thought, built as an experiment",[58],{"id":59,"by":11,"text":60},"45071288","Yes, to be completely honest this is a vibe coded project and I'm by no means a security expert. This was more of a fun, side project\u002Fexperiment based on a shower thought. I…",[62,66],{"value":63,"source":46,"evidence":64},"TypeScript",[65],{"id":49},{"value":67,"source":46,"evidence":68},"SvelteKit",[69,73],{"id":70,"by":71,"text":72},"45065498","HKayn","Why did you use something as heavy as SvelteKit for a website with a single page? This doesn't inspire confidence.",{"id":74,"by":11,"text":75},"45071297","Sveltekit is not heavy, it is compiled into lightweight bundles","open_source","prototype","solo",{"praise":80,"objections":92,"requests":118,"questions":127,"alternatives":135},[81],{"value":82,"source":83,"evidence":84},"Maker openly admitted the vibe-coded nature and committed to fixing issues","commenter",[85,89],{"id":86,"by":87,"text":88},"45071633","mpalmer","There's absolutely no problem with not knowing what you're doing! Just, you know, own it. Part of what I find exhausting about projects like this is I can't see any evidence of…",{"id":90,"by":11,"text":91},"45071646","yes absolutely, updating the page now as we speak!",[93,99,109,114],{"value":94,"source":83,"evidence":95},"Website and README claims (25+ patterns, 100+ patterns, integrations) are unsupported and sources not linked",[96],{"id":97,"by":87,"text":98},"45070217","The website copy is obviously generated, and has not been reviewed for correctness. The website trumpets \"25+ curated prompt injection patterns from leading security research\".…",{"value":100,"source":83,"evidence":101},"Usage instructions missing; the library is hard to find in the repo",[102,106],{"id":103,"by":104,"text":105},"45064933","sippeangelo","Was the whole lib and website vibe coded? I can't find any instructions on how to use it, the repo is for the website itself and the readme is AI blurb that doesn't make me any…",{"id":107,"by":71,"text":108},"45065466","The project appears to be located inside the repo of the website: https:\u002F\u002Fgithub.com\u002FBlueprintLabIO\u002Fprompt-injector\u002Ftree\u002Fmain\u002Fsrc\u002Flib",{"value":110,"source":83,"evidence":111},"Content appears AI-generated and unreviewed",[112,113],{"id":103,"by":104,"text":105},{"id":97,"by":87,"text":98},{"value":115,"source":83,"evidence":116},"SvelteKit is heavy for a single-page site",[117],{"id":70,"by":71,"text":72},[119,123],{"value":120,"source":83,"evidence":121},"Link the research sources and verify citations",[122],{"id":97,"by":87,"text":98},{"value":124,"source":83,"evidence":125},"Add a clear personal voice and disclose vibe-coding",[126],{"id":86,"by":87,"text":88},[128],{"value":129,"source":83,"evidence":130},"What are good prevention mechanisms for prompt injection?",[131],{"id":132,"by":133,"text":134},"45067097","mosselman","What are some good prevention mechanisms for this? A sort of firewall for prompts? I've seen people recommend LLMs, but that seems like it wouldn't work well. What is the…",[],{"comments":137,"answered":37,"key":138},5,[139,140,141],{"id":59,"text":60},{"id":90,"text":91},{"id":142,"text":143},"45071320","Your feedback is valuable and correct, I'll extract the library into \u002Fcore in the repo and also manually verify all the citations. I'll read into the prompt injection literature…",{"commenters":145,"max_depth":33,"maker_replies":137,"first_comment_mins":146,"lifespan_hours":147},9,112,48,[149,151,153,155,157,159,161,165,167,169,173,176,179,181,183],[103,31,37,150,104,31],"project\u002Fcritical\u002Fdocs",[107,31,41,152,71,31],"project\u002Fneutral\u002Fdocs",[97,37,37,154,87,31],"maker\u002Fcritical\u002Fexecution",[59,37,31,156,11,37],"maker\u002Fneutral\u002Fnone",[86,37,37,158,87,31],"maker\u002Fcritical\u002Fdesign",[90,37,31,160,11,37],"maker\u002Fneutral\u002Fdesign",[162,32,41,163,164,31],"45065516","project\u002Fneutral\u002Fexecution","mkesper",[142,41,31,166,11,37],"maker\u002Fneutral\u002Fexecution",[132,33,31,168,133,31],"other\u002Fneutral\u002Fnone",[170,33,31,171,172,31],"45067917","other\u002Fneutral\u002Fidea","hoppp",[174,33,31,168,175,31],"45070677","yencabulator",[177,33,31,168,178,31],"45071674","m-hodges",[180,137,31,166,11,37],"45082837",[70,34,37,182,71,31],"project\u002Fcritical\u002Fexecution",[74,34,31,184,11,37],"project\u002Fneutral\u002Fperformance",[],[187,192,197,202,207,212],{"id":188,"name":189,"points":190,"category":191},"45071722","Hacker News em dash user leaderboard",377,"data",{"id":193,"name":194,"points":195,"category":196},"45088427","NeuroPriest",155,"games",{"id":198,"name":199,"points":200,"category":201},"45063874","Sosumi.ai",133,"dev_tools",{"id":203,"name":204,"points":205,"category":206},"45064210","HN Overlooked",118,"productivity",{"id":208,"name":209,"points":210,"category":211},"45115974","Writing Arabic in English",111,"languages",{"id":213,"name":214,"points":215,"category":201},"45102664","Moribito",106,false,"v2",{"id":219,"name":5,"line":6,"ai":216,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":220,"top":18,"kw":221,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":222,"url":9,"mix":223,"praise":82,"objection":94,"sub":21},45063547,-0.38,[24,25,26,27],"131010300000010",[31,32,31,33],1793991128914]