All Projects → secretlint → webextension

secretlint / webextension

Licence: MIT License
Detect secrets in your request/response using secretlint.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to webextension

Passcat
Passwords Recovery Tool
Stars: ✭ 164 (+310%)
Mutual labels:  credentials, secrets
Credentials Binding Plugin
Stars: ✭ 39 (-2.5%)
Mutual labels:  credentials, secrets
ssh-credentials-plugin
No description or website provided.
Stars: ✭ 23 (-42.5%)
Mutual labels:  credentials, secrets
Aws Secrets Manager Credentials Provider Plugin
AWS Secrets Manager Credentials Provider for Jenkins
Stars: ✭ 45 (+12.5%)
Mutual labels:  credentials, secrets
kubernetes-credentials-plugin
Credential classes to access Kubernetes clusters
Stars: ✭ 15 (-62.5%)
Mutual labels:  credentials, secrets
cli
The official CLI for interacting with your Doppler secrets and configuration.
Stars: ✭ 96 (+140%)
Mutual labels:  secrets
k8s-vault-webhook
A k8s vault webhook is a Kubernetes webhook that can inject secrets into Kubernetes resources by connecting to multiple secret managers
Stars: ✭ 107 (+167.5%)
Mutual labels:  secrets
pyaml env
Parse YAML configuration with environment variables in Python
Stars: ✭ 36 (-10%)
Mutual labels:  secrets
neutrino-webextension
Neutrino 9 preset for WebExtension/Chrome extension development with hot reload and framework devtools.
Stars: ✭ 31 (-22.5%)
Mutual labels:  webextension
page-shadow
A Chrome, Firefox, Opera and Edge extension to increase contrast, decrase brightness and invert color of websites
Stars: ✭ 14 (-65%)
Mutual labels:  webextension
wasm-extension-template
An easy-to-use template for Rust web extensions. The Rust code is compiled to WASM and ran as a content script.
Stars: ✭ 78 (+95%)
Mutual labels:  webextension
webpack-ext-reloader
Add hot reloading to your webpack WebExtension! 🔥
Stars: ✭ 31 (-22.5%)
Mutual labels:  webextension
pscale-workflow-helper-scripts
Workflows and helper scripts around the PlanetScale DB workflow to automate database branch creation, association, update and merge directly out of your pull/merge request or favourite CI/CD.
Stars: ✭ 42 (+5%)
Mutual labels:  credentials
secrets.clj
A library designed to generate cryptographically strong random numbers.
Stars: ✭ 64 (+60%)
Mutual labels:  secrets
protonmail-webextension
Unofficial webextension for ProtonMail
Stars: ✭ 39 (-2.5%)
Mutual labels:  webextension
kubeseal-webgui
This is a python based webapp for using Bitnami-Sealed-Secrets in a web-ui.
Stars: ✭ 27 (-32.5%)
Mutual labels:  secrets
Session-resurrection
Save your browser sessions and restore them any time
Stars: ✭ 36 (-10%)
Mutual labels:  webextension
polymerase
A tool for populating templates with environment variables and Vault values
Stars: ✭ 84 (+110%)
Mutual labels:  secrets
paywallr
🔓 Web extension for reading articles locked behind paywalls of over 50 german newspapers, e.g. Frankfurter Allgemeine Zeitung, Leipziger Volkszeitung & Hamburger Abendblatt
Stars: ✭ 63 (+57.5%)
Mutual labels:  webextension
re-style
A user style manager for Firefox 57+ which can load local files and apply UI styles
Stars: ✭ 33 (-17.5%)
Mutual labels:  webextension

Secretlint WebExtension

Secretlint founds credentials that are included in your request/response.

This Web Extension integrate secretlint with browser's devTools.

screenshot

📝 If you want to run secretelint as command line tools, please see secretlint/secretlint.

Features

  • Check that request/response includes credentials
  • DevTools integration
    • Output found credentials to "Console" panel(option)
    • Output found credentials to "Secretlint" panel

Permissions

This extension requires following permissions

permissions is defeind in manifest.json.

📝 Other Notes

In Memory Process

This extension is written by JavaScript and It do not send your request/response to another server. All process is done in memory.

Scan timing

This exntension only scans secrents during you open developer tools. This limitation come from devtools API.

If you close the devTools, this extension does not scan any request/response.

Motivation

Everyone makes mistakes.

A developer sometimes expose own credentials like OAuth token in a website accidentally.

secretlint can found credentials in file. However, The exposed credentials come from environments variables or Database, so These are not embed in a file.

We want to found these exposed credentials.

Security researcher use proxy software like Burp Suite, but web developer use DevTools instead of it.

Secretlint WebExtension integrate to DevTools in Chrome/Firefox. This extension help web developer to notice exposed credential.

Install

Usage

  1. Open browser's Developer Tools
  2. Disable Cache
  3. Reload page and secretlint report found credentials in your request/response.

You can check the behavior using demo site:

Built-in rules

This Web Extension use @secretlint/secretlint-rule-preset-recommend and built-in disallow patterns.

Config

You can configure the option of secretlint extension.

  • Click "Secretlint" icon on menu
  • Or, See This extension's "Settings" page

Allow Patterns

Allow patterns is an array of string or RegExp-like String (/pattern/).

If you define following pattern, secretlint does not report it which is matched.

[
    "/NON_SECRETS/i",
    "1.1.1.1",
    "AKIAIOSFODNN7SECRETS",
]

Default patterns are defined in rule.allows.ts.

📝 Prefer Allow patterns than Disallow patterns.

Disallow Patterns

You can add patterns and found your secrets.

These patterns are based on @secretlint/secretlint-rule-pattern. Each pattern should have following properties. If match the pattern, report it as error.

Default patterns are defined in rule.patterns.ts.

Development

Build this extension from source code:

# Require Node.js and Yarn
yarn install
# Chrome
yarn dev chrome
# Firefox
yarn dev firefox

Load the built extension:

  • Firefox: open about:debugging#/runtime/this-firefox → Load from local
  • Chrome: open chrome://extensions/ → Load from local

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].