dart_secrets_scanner 2.0.1 copy "dart_secrets_scanner: ^2.0.1" to clipboard
dart_secrets_scanner: ^2.0.1 copied to clipboard

command-line tool designed to scan Dart and related files in Flutter projects for hardcoded sensitive information such as API keys, tokens, passwords, and other credentials.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dart_secrets_scanner

Use it

The package has the following executables:

$ dart_secrets_scanner

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_secrets_scanner

With Flutter:

 $ flutter pub add dart_secrets_scanner

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_secrets_scanner: ^2.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_secrets_scanner/dart_secrets_scanner.dart';
3
likes
140
points
288
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

command-line tool designed to scan Dart and related files in Flutter projects for hardcoded sensitive information such as API keys, tokens, passwords, and other credentials.

Repository (GitHub)
View/report issues

Topics

#security #devsecops #protection #scanner

License

MIT (license)

Dependencies

path, yaml

More

Packages that depend on dart_secrets_scanner