tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
83.58k stars 2.51k forks source link

Actually use security framework #64

Open nothingismagick opened 4 years ago

nothingismagick commented 4 years ago

Describe the solution you'd like It'd be nice to actually apply the security framework when building.

Describe alternatives you've considered Ignoring security problems won't help.

nothingismagick commented 4 years ago

So, what I am thinking is a settings configuration in tauri.conf.js that looks something like this:

security: {
  rust: {
    check: [warn, throw, fix],
    service: [cargo-audit, antivuln, snyk],
    command: ''
  },
  node: {
    check: [warn, throw, fix],
    service: [npm, yarn, antivuln, snyk],
    command: ''
  }
}

As well as a CLI command tauri audit that hooks into the same logic.

nothingismagick commented 4 years ago

Here are some nice rust resources https://github.com/rust-secure-code/projects

tensor-programming commented 4 years ago

Some of this stuff will be built into the prop testing that I am implementing. Others can be manually attached to it later. Conditional compilation will allow us to build a pipeline to be able to compose and attach these tools to a dev or even production build to see some of these elements. I may just take this issue as a result of the testing stuff that I am adding and how it relates tangentially to what we are discussing here. (At least from the rust side)

0903554Emmanuel commented 2 years ago

Security plug-in

nothingismagick commented 2 years ago

Bumping this issue, because its time to manufacture tauri audit.

dobleuber commented 10 months ago

I'll start to work on this issue

vednig commented 1 month ago

@dobleuber status?

dobleuber commented 3 weeks ago

@dobleuber status?

Hey, Sorry! Many things happened to me. I haven't continued working on this.