---
title: "ScanCode licence scan"
description: "Runs ScanCode Toolkit to detect file-level licences and flags strong and weak copyleft code, and code that conflicts with the declared project licence. Slow on large trees: opt-in."
url: https://openaudit.se/auditors/code.scancode/
---

# ScanCode licence scan

`code.scancode`

Runs ScanCode Toolkit to detect file-level licences and flags strong and weak copyleft code, and code that conflicts with the declared project licence. Slow on large trees: opt-in.

- **Engine:** Wrapped scanner
- **Wraps:** `scancode`
- **Targets:** Codebase
- **Areas:** Compliance
- **Runs:** Opt-in: only when selected with --only
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.scancode
```

Wraps scancode. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.

## More compliance auditors

- [Dependency licence policy](https://openaudit.se/auditors/code.licenses/) (`code.licenses`)
