This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Tuesday, June 20, 2023
Show HN: A library for execing Python code safely using WASM https://ift.tt/hxUqOWe
Show HN: A library for `exec`ing Python code safely using WASM Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://ift.tt/wMjCs5u wasm_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code execution, often code that is generated by LLMs (Large Language Models) like ChatGPT. This can enable some really cool functionality - like generative BI or website generation - but also introduce a massive security flaw if implemented via eval() or exec(). This is because arbitrary code can be executed using these methods. In a worst case scenario, exec'ing arbitrary code could enable some to rm -rf / your entire server! This library intends to provide a secure method of executing arbitrary Python code to empower LLM-based code generation. This was originally intended to be a direct PR to Langchain but given that the problems with exec() extend to the entire Python ecosystem, it was decided that it would be better as a standalone package. Given the love for Wasm on HN, I thought some folks might be interested,and I'd love additional feedback or contributions to the code base. https://ift.tt/9Fw4Nvk June 21, 2023 at 06:14AM
Subscribe to:
Post Comments (Atom)
Show HN: CleverCrow: give tokens to your favorite projects https://ift.tt/9K2XU3a
Show HN: CleverCrow: give tokens to your favorite projects Howdy all. I'm Zack :wave:. I've been thinking about the problem of misgu...
-
Show HN: When is the next Caltrain? (minimal webapp) I was frustrated with the existing caltrain websites / apps, so I made a super minimali...
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: A directory of 800 free APIs, no auth required Explore reliable free APIs for developers — ideal for web and software development, ...
No comments:
Post a Comment