# A downloaded plugin needs a hash

What "the plugin is downloaded, so it needs a hash" means and how to fix it.

```text
error: the plugin python is downloaded, so it needs a hash in axle.toml to check it against, written as sha256- and 64 lowercase hex digits
hint: Run axle add again with the plugin's source to record its hash, or add hash under [plugins.python] in axle.toml.
```

## Why it happens

Plugins run with your permissions, so Axle only runs a downloaded plugin that is exactly the one the repository chose. It checks the SHA-256 of what it downloads against `hash` under the plugin in `axle.toml`, and this plugin has none, or one that isn't `sha256-` followed by 64 lowercase hex digits. A folder in the repository needs no hash, since Git already tracks it.

## How to fix it

Let `axle add` download the plugin and write its `source` and `hash` for you, after removing its `[plugins.<name>]` table:

```sh
axle add npm:@axle-rs/plugin-python@0.1.0
```
