dangerzone
bandit
dangerzone | bandit | |
---|---|---|
21 | 21 | |
3,199 | 6,035 | |
6.6% | 2.0% | |
9.6 | 8.2 | |
6 days ago | 6 days ago | |
Python | Python | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
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.
dangerzone
-
Dangerzone: Convert PDFs, documents, or images to a safe PDF
I don't have experience with Qubes in order to know what the files do, but this repo references two files in a qubes directory: e.g. https://github.com/freedomofpress/dangerzone/blob/v0.6.0/qub...
- dangerzone: Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
-
Ask HN: How can I security-sandbox email attachment opening?
start here: https://github.com/freedomofpress/dangerzone
i've never used it, but i've been meaning to check it out. at least it should give you a jumping off point for further investigation.
if that is insufficient, use proofpoint.
for archives that are tickling bugs, you have to use a similar technique. it's not enough to analyze them and send them on as-is. you have to unpack in a sandbox (which will be detectable, no 2 ways about it, but the question is will anyone expend enough effort to detect -- no, not for your use case, seeing as how you're asking the question at all), process with dangerzone or dangerzone-like tool, then re-archive it and let the user see only that new archive.
-
Ask HN: Why not cloud instead of Qubes “trusted PDFs” or Dangerzone?
I've read about the concept of "trusted PDFs" [1] from Qubes OS and the Dangerzone project [2].
I noticed people saying they use such tools to open applicant attachments in the context of employee hiring processes.
Isn't it simpler to just open these untrusted files in a cloud service like Google Drive or Microsoft Office online?
[1] https://blog.invisiblethings.org/2013/02/21/converting-untrusted-pdfs-into-trusted.html
[2] https://github.com/freedomofpress/dangerzone
-
QubesOS – A reasonably secure operating system
You can use something similar on macOS, Windows or Linux, based on Docker containers, see Dangerzone: https://github.com/freedomofpress/dangerzone
-
Help an independant journalist survive :)
https://github.com/freedomofpress/dangerzone has been a great tool to use as an added layer of defense. Definitely check out this users other projects as you can tell by the users name that they are made for journalists.
-
Downloading pdf’s & Javascript
This is exactly what DangerZone is built for. Takes ‘dangerous’ PDFs, converts them to images and back (via OCR) so there’s nothing potentially harmful inside. Does all the conversion inside docker containers so there’s little chance of a sandbox escape or network access
-
How can I implement this open-source tool as an API?
The source code for the CLI application is probably the best place to look for an example of how to use the internal parts of the code which perform the actual conversion: https://github.com/freedomofpress/dangerzone/blob/main/dangerzone/cli.py
-
Secure PDF Viewer app version 16 released
Check out danger zone - https://github.com/freedomofpress/dangerzone
bandit
-
Enhance Your Project Quality with These Top Python Libraries
Bandit is a tool designed to find common security issues in Python code. It was developed by the OpenStack Security Project and is a great addition to any serious Python project.
-
Creating a DevSecOps pipeline with Jenkins — Part 1
For the SAST stage, I used SonarQube tool. SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs and code smells on more than 30 programming languages. I preferred SonarQube instead of other SAST tools because it has a detailed documentation and plugins about integration with Jenkins and SonarQube works with Java projects pretty well. Of course you can similar multi-language-supported tools such as Semgrep or language-specific tools such as Bandit.
-
Enhance your python code security using bandit
repos: - repo: https://github.com/PyCQA/bandit rev: 1.7.7 hooks: - id: bandit args: ["-c", "pyproject.toml", "-r", "."] additional_dependencies: ["bandit[toml]"]
- Show HN: Codemodder – A new codemod library for Java and Python
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
On the other hand, Bandit is a dedicated security scanner designed to target critical security concerns such as SQL injection and cross-site scripting exploits. It meticulously scrutinizes the codebase to identify and alert developers about possible security breaches or vulnerabilities, thus fortifying the code against potential exploitation.
-
The Uncreative Software Engineer's Compendium to Testing
Bandit: is a tool designed for Python applications to analyse your code for potential security issues like insecure use of functions, hardcoded password and much more.
-
The 36 tools that SaaS can use to keep their product and data safe from criminal hackers (manual research)
Bandit (for Python, open-source and free)
-
Which CI/CD learn first?
Add security checks (Bandit) and dependency checks (safety)
-
Why are python coding standards such a mess, what is everything and where do I start?
bandit
-
Python toolkits
flake8-bandit which uses bandit for security linting.
What are some alternatives?
pattern-matching-in-python - Pattern Matching in Python
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
PdfViewer - Simple Android PDF viewer based on pdf.js and content providers. The app doesn't require any permissions. The PDF stream is fed into the sandboxed WebView without giving it access to content or files. CSP is used to enforce that the JavaScript and styling properties within the WebView are entirely static.
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
ctx - A minimal but opinionated dict/object combo (like Bunch).
safety - Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
kad - A simple Python package converting dictionary keys to attributes of a class.
flake8-bandit - Automated security testing using bandit and flake8.
Contents - Community documentation, code, links to third-party resources, ... See the issues and pull requests for pending content. Contributions are welcome !
black - The uncompromising Python code formatter
CPython - The Python programming language
mypy - Optional static typing for Python