macro_prototype
Our great sponsors
bad_actor_poc | macro_prototype | |
---|---|---|
12 | 2 | |
322 | 72 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | over 2 years ago | |
Rust | Dart | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bad_actor_poc
-
Why is `const fn` different from other “const” things?
I'm not suggesting people in this thread are wrong, but working for a security company gives a slightly different perspective. For example, there's really nothing stopping a rogue crate from exporting your private keys, just by using VS code. I wasn't thinking about this when I helped write that proposal, though.
- Did somebody play around with macros yet?
-
todo-or-die!
Having less tools that can do things like https://github.com/lucky/bad_actor_poc is a relief.
-
Workspace Trust in VS Code
Code execution that may not be so obvious could be the preLaunchTask that runs before starting the app and can run a build that has an extra task executing arbitrary code unrelated to the build. What about the npm module that steals your crypto wallet private keys? Make a simple edit and a malicious linter is loaded from the node_modules folder, instead of the one that is installed globally. Even reading the code can be deceptive, attackers can use Unicode hacks to hide malicious code in plain sight. Heck, you don't even have to open any source code to be owned.
- lucky/bad_actor_poc - Stealing secrets with Rust Macros proof-of-concept via VSCode: This shows a trivial example of exfiltrating secrets just by the developer opening up the source
- Visual Studio Code May 2021
-
Carnet: A Tool for Sandboxing Cargo and Buildscripts
https://github.com/lucky/bad_actor_poc is one example
-
Fixated on end-user security, FOSS developers neglect their own...
It turns out that because Rust can execute code at compile time, simply opening a Rust source file in an editor with code completion support can cause a virus to be installed on my computer. Apparently I can't trust anything but basic text editors anymore...
- Using Rust Macros to exfiltrate secrets
macro_prototype
-
Did somebody play around with macros yet?
What do you mean? There are at least two implementations. The first (old) implementation is basic prototype. https://github.com/jakemac53/macro_prototype
-
Do you know that Dart will have meta programming? Add a thumbs up so we have it sooner :D
Is https://github.com/jakemac53/macro_prototype dead? Or was it an intermediate stage and there is already something more interesting and real suitable for testing?
What are some alternatives?
language - Design of the Dart language
carnet - A Tool for Sandboxing Cargo and Buildscripts
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
Visual Studio Code - Visual Studio Code
code-it-later-rs - Filter crumbs you left in comments of code to remind where you were
security - Embargoed security issues that will be made public after a fix is made available. Use https://github.com/nim-lang/security/security
const-eval - home for proposals in and around compile-time function evaluation
todo_or_die - Write TODOs in code that ensure you actually do them
lazarus - Lazarus - an IDE and GUI toolkit for use with Free Pascal. This is an unofficial mirror of the Lazarus SubVersion repository and is for convenience use only. It is synced every 15 minutes. For submitting patches or bug reports, go to http://bugs.freepascal.org
rfcs - RFCs for changes to Rust