Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker314/security.txt-extension
A browser extension to parse the security.txt file on a website.
https://github.com/joker314/security.txt-extension
browser-extension extension security-txt
Last synced: 13 days ago
JSON representation
A browser extension to parse the security.txt file on a website.
- Host: GitHub
- URL: https://github.com/joker314/security.txt-extension
- Owner: joker314
- License: mit
- Created: 2018-08-26T06:18:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T05:00:39.000Z (over 6 years ago)
- Last Synced: 2024-10-30T04:41:15.180Z (2 months ago)
- Topics: browser-extension, extension, security-txt
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/security-txt-parser/
- Size: 39.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.txt
Awesome Lists containing this project
README
# Security.txt Parser browser extension
## What is this?
This is a free (libre) browser extension. It should work on Chrome, Firefox, and Opera. When you ask it to, it searches a website for its [security.txt](https://securitytxt.org) file and shows it to you in a pretty-ish way.## How to use / How does it work?
When you click on its icon, it'll check `/.well-known/security.txt`. If it doesn't give a good error code, it'll then check `security.txt`.Once it's done that, it checks whether the origin changed. This would happen if the `security.txt` file redirected. If it has, it gives you a big warning.
Then, it lists each directive, together with their associated comments, and expands only the `Contact:` directive. It looks like this:
![Screenshot of the extension in action](https://user-images.githubusercontent.com/18113170/44701043-42101780-aa95-11e8-9703-30305c3af300.png)
The error is there because the protocol changed from `http` to `https`, and this is considered a new origin.
## How do I install it?
- Firefox? [Install it from Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/security-txt-parser/?src=search)
- Chrome? The Chrome Web Store requires you to be 18+ (which I'm not) and pay $5.00 in order to upload an extension. Instead, search "Load unpacked extension Chrome" in your favourite browser, and follow the instructions to take the source code in this repository and place it on Chrome.
- Opera? Coming soon, but for now, search "Load unpacked extension" in your favourite browser, and follow the instructions to take the source code in this repository and place it in Opera.## Why does it need all those permissions?
Same origin policy means it needs access to make requests. This is because the little popout is in a seperate origin to the page you're currrently viewing.## What happens if the security.txt file is malformed?
It will show you just the raw text if it finds an invalid line.## I've found a security issue in this extension.
Email me at jokebookyeye [ at symbol ] gmail [dot] com.`javascript:` schemes in `Contact` fields are not vulnerabilities, so long as they open in a new tab. If you disagree, or are unsure, feel free to get in touch!