# Barkley > Barkley reads the code of Home Assistant Marketplace integrations and cards and tells you what it found. This site has Barkley's docs, HASC (the Home Assistant Security Controls for integrations, cards and apps), a report on the Home Assistant Marketplace in 2026 and the disclosure.yaml spec. HASC is a community catalog, not an official Home Assistant or Open Home Foundation project. Every page below is plain Markdown. The HTML version of each is at the same address without index.md. ## Barkley docs - [Docs](https://ha-barkley.github.io/docs/index.md): Barkley reads the code of Home Assistant Marketplace (formerly HACS) custom integrations and frontend cards before they run in your home. - [Installing and updating](https://ha-barkley.github.io/docs/installing-and-updating/index.md): Home Assistant downloads a prebuilt image for your box. - [Standalone (no Supervisor)](https://ha-barkley.github.io/docs/standalone/index.md): Barkley is an app (add-on), and apps need the Supervisor: Home Assistant OS. - [The list](https://ha-barkley.github.io/docs/the-list/index.md): Barkley's first page shows what you have installed through the Marketplace, with the version you run and the version the Marketplace would install now. - [An app's page](https://ha-barkley.github.io/docs/an-apps-page/index.md): Every scan has a page, the app's sniff report. - [What gets checked and how the readings work](https://ha-barkley.github.io/docs/checks-and-scoring/index.md): Barkley scans exactly what the Marketplace would install: the version you ask for, else the newest release, else the default branch pinned to one commit. - [Sniff before you install](https://ha-barkley.github.io/docs/sniff-before-you-install/index.md): Since Home Assistant 2026.11, the Marketplace opens a new integration's setup right after its files land, and starting the setup loads its code. - [What an update would change](https://ha-barkley.github.io/docs/update-comparison/index.md): An update is new code from the same project, so Barkley shows what the new version does that the old one didn't. - [Auto-sniff and notifications](https://ha-barkley.github.io/docs/auto-sniff-and-notifications/index.md): Auto-sniff is on by default. - [Advisory re-checks](https://ha-barkley.github.io/docs/advisory-re-checks/index.md): A scan is reused for as long as an app stays at that version. - [AI explanations](https://ha-barkley.github.io/docs/ai-explanations/index.md): AI explanations are optional. - [Options and Settings](https://ha-barkley.github.io/docs/options/index.md): Barkley has its own Settings page (the Settings link on the panel's first page). - [Diagnostics and troubleshooting](https://ha-barkley.github.io/docs/diagnostics-and-troubleshooting/index.md): Linked from Barkley's first page. - [Permissions and how Barkley is secured](https://ha-barkley.github.io/docs/permissions-and-security/index.md): Barkley reads code it treats as hostile, so this page lists what it can do on your box and how it's protected. - [FAQ](https://ha-barkley.github.io/docs/faq/index.md): Does Good Boy mean an app is safe? ## Security controls (HASC) - [Security for Home Assistant developers](https://ha-barkley.github.io/security/index.md): Custom integrations run inside Home Assistant with full access, and cards run on the same page as your login. These controls cover how to keep both safe, and the walk-throughs take you through them in order. - [Checklist](https://ha-barkley.github.io/security/checklist/index.md): Pick the level you're aiming for and what you publish, and this page lists your steps in order. - [Use HASC with a coding assistant](https://ha-barkley.github.io/security/coding-assistants/index.md): Every page in this section has a Markdown copy, and the catalog is also published as JSON, so a coding assistant can read the same controls and walk-throughs you do. - [Secure a new organization](https://ha-barkley.github.io/security/walk-throughs/new-organization/index.md): From your own account to an organization that gives every new repository the same security settings. Do it before you create any repositories in it. - [Secure a new project](https://ha-barkley.github.io/security/walk-throughs/new-project/index.md): A new integration or card, from the first commit to the first release. A new repository is the easiest place to start, because nothing in it depends on the old way yet. - [Secure an existing project](https://ha-barkley.github.io/security/walk-throughs/existing-project/index.md): For a project people already use. The order avoids breaking anything for them: turn on checks that only report, fix what they find, then make them block. Risky steps say what can break and how to undo it. - [Runbooks](https://ha-barkley.github.io/security/runbooks/index.md): Pick what happened. The steps are in the order to do them. - [Home Assistant Security Controls](https://ha-barkley.github.io/security/controls/index.md): Security controls for Home Assistant integrations, cards and apps, each with an ID you can cite, such as HASC-CI-4. - [Your GitHub account](https://ha-barkley.github.io/security/controls/account/index.md): Whoever controls your GitHub account controls what every user of your app installs next. Nothing in the repository can protect against a stolen login. - [Branch and tag protection](https://ha-barkley.github.io/security/controls/branches-and-tags/index.md): Only people with write access can push to your repository. These rules stop a mistake, a rushed push or someone with a leaked token from changing what users install. - [Checks in CI](https://ha-barkley.github.io/security/controls/ci/index.md): GitHub runs most of these for free on public repositories. Some are a switch in Settings; the rest are a short workflow file. - [Checks that block](https://ha-barkley.github.io/security/controls/blocking-checks/index.md): A failing check only stops code from reaching main when main requires that check to pass. Otherwise it's a warning, and the code can still be merged. - [Security policy](https://ha-barkley.github.io/security/controls/security-policy/index.md): When someone finds a problem in your app, they need a way to tell you that isn't a public issue, because a public issue tells everyone else before you've had a chance to fix it. - [Secrets](https://ha-barkley.github.io/security/controls/secrets/index.md): A secret is anything that lets someone act as you or as your users, such as a token, a password or a private key. Keep it in the user's config entry or in GitHub's encrypted secrets, and out of the code, the logs and diagnostics downloads. - [Repository basics](https://ha-barkley.github.io/security/controls/repository/index.md): Good issue forms get you the version, the logs and the setup on the first try. Closing what you fix tells users which problems are gone. - [Releases](https://ha-barkley.github.io/security/controls/releases/index.md): Most people install your release, but reviewers and scanners read your repository. If the release is built in CI from code on main, the two match. - [Organizations](https://ha-barkley.github.io/security/controls/organizations/index.md): An organization owns repositories the way your own account does, but it can have several owners and one set of security settings that every new repository starts with. - [Integrations](https://ha-barkley.github.io/security/controls/integrations/index.md): A custom integration runs inside Home Assistant's own Python process and can reach every device, token and file in the config folder. Home Assistant has helpers for logins, storage and web requests, and using them is safer than writing your own. - [Dashboard cards](https://ha-barkley.github.io/security/controls/cards/index.md): A card runs on the same page as the user's Home Assistant login. Anything the card loads can read the login token and use it. - [Dependencies](https://ha-barkley.github.io/security/controls/dependencies/index.md): Every package you add runs with the same access as your own code, and its maintainers can ship a new version at any time. - [Apps (add-ons)](https://ha-barkley.github.io/security/controls/apps/index.md): An app runs in its own container, but its config file decides how much of the host and of Home Assistant it can reach. Home Assistant shows users a security rating built from those settings. - [Attacks on npm, PyPI and GitHub Actions](https://ha-barkley.github.io/security/attacks/index.md): How six attacks on npm, PyPI and GitHub Actions worked, and which controls would have stopped them. - [The catalog as JSON](https://ha-barkley.github.io/security/hasc.json): every control's ID, title, family, level, whether it's a level marker, what it applies to and its page, plus each walk-through's steps in order. ## The Home Assistant Marketplace in 2026 - [The Home Assistant Marketplace in 2026](https://ha-barkley.github.io/marketplace/2026/index.md): I scanned every integration and dashboard card in the Marketplace's list with Barkley, my scanner, mostly to find where it gets things wrong. Along the way I collected numbers about the Marketplace itself, which are shown here in aggregate. No app, repository or developer is named. - [The Marketplace grew 30‑fold as AI coding tools arrived](https://ha-barkley.github.io/marketplace/2026/growth-and-ai-tools/index.md): 4,456 apps joined the Marketplace's list in 2026, up to November 22, against 148 in all of 2024. Half of the 2026 apps (2,223 of 4,456) already showed signs of an AI coding tool on the day they joined. The timing lines up, but these numbers can't say whether one caused the other. - [A handful of accounts reach a large share of homes](https://ha-barkley.github.io/marketplace/2026/accounts-and-reach/index.md): 4,424 GitHub accounts publish the Marketplace's 6,753 apps, and 3,398 of them (76.8%) publish just one. Installs are spread far less evenly. Ten accounts publish the apps behind 30.5% of integration installs (541,535 of 1,772,632). - [No malware turned up, but some apps open common ways in](https://ha-barkley.github.io/marketplace/2026/malware-and-ways-in/index.md): Barkley flagged 92 apps (1.4% of 6,753) for code that can look like a threat, such as a login token leaving, encoded text, or code downloaded and run. The code behind every one was read, and none were malicious. The scan did find ordinary ways in, though. - [Few projects have the security basics, and fewer let a check block](https://ha-barkley.github.io/marketplace/2026/security-basics/index.md): 222 of 6,753 apps (3.3%) have a security policy, an update bot and a security scanner in CI, the three level 1 markers that can be checked from outside a project. Of the 909 apps that run a security check, 86 (9.5%) let it stop a change. - [What you install isn't always what's in the repository](https://ha-barkley.github.io/marketplace/2026/releases/index.md): When you install an app from the Marketplace, you usually get a release, often a zip or a built file. Reviewers and scanners mostly read the repository. In 84 apps the release's code differs from the repository at its tag, and in 9 the release adds code the repository doesn't have at all. - [Some apps ship keys in their code](https://ha-barkley.github.io/marketplace/2026/keys-in-the-code/index.md): A key inside an app can mean your install connects to something the developer controls, so I looked for them. 58 apps have something that looks like a key in the code they ship. Most of them (41 of 58) are a vendor's own client key or certificate, copied from the vendor's app and the same for every user. - [Apps that went quiet keep their old problems](https://ha-barkley.github.io/marketplace/2026/apps-that-went-quiet/index.md): Most apps are busy, and 5,728 of 6,753 (84.8%) changed in the last six months. The 289 that haven't changed in over two years are still popular, with a median of 19 GitHub stars against 3 for recently changed apps. They're more likely to use a library version with a known vulnerability, and less likely to run anything that would catch it. - [About the scan](https://ha-barkley.github.io/marketplace/2026/about-the-scan/index.md): The Marketplace's list had 6,759 apps on November 22, 2026, 5,545 integrations and 1,214 cards. Barkley scanned 6,753 of them. Three repositories were gone, and three downloads were over 256 MB. In five more, some checks timed out on a big file. ## disclosure.yaml - [disclosure.yaml](https://ha-barkley.github.io/disclosure/index.md): A file where an app lists what it connects to, the credentials it handles and any pages that open without a login. Anyone can read it, and any JSON Schema validator can check it.