# Security Policy AI

> Security Policy AI reads AVC denials from audit logs and writes the missing allow rule for your .te, .if, .fc and .cil files. Every answer is checked against your file before it is shown.

Source: https://npcoding.ca/products/security-policy-ai/
Last updated: 2026-12-01

Turns SELinux AVC denials into the missing allow rule, checked against your own policy files before you see it.

## Product facts

- **Type:** JetBrains IDE plugin
- **Status:** Live on JetBrains Marketplace (https://plugins.jetbrains.com/plugin/36596-security-policy-ai?utm_source=npcoding.ca&utm_medium=referral&utm_campaign=security-policy-ai)
- **Works in:** IntelliJ IDEA, PyCharm and other JetBrains IDEs, 2025.1 or later
- **Price:** $9.90 a month for an individual, $17.90 a month for an organization. The annual price is ten times the monthly one.
- **Use:** Paid from the first use, no free trial. 300 asks every calendar month for each licence.
- **Vendor:** NPCoding
- **Vendor page:** https://plugins.jetbrains.com/vendor/npcoding

## What it does

Security Policy AI works on SELinux-style policy files (.te, .if, .fc and .cil) and on the audit output that goes with them. Select the denial lines from an audit log, dmesg or ausearch output, choose Rule, and you get the allow rule that is missing and the reason it is needed. Explain and Ask work on any policy text you select.

The plugin reads the denials on your machine as well, and shows the allow rules it works out itself, grouped by source type, target type and class, next to every answer. Before an answer is shown it is checked against your file: the rule must parse, cover every denial, and use only types and attributes that exist in the denials or in your file. A rule that fails is not shown. The plugin asks once more with the exact failures, and if that fails too, the answer stays behind a link marked unchecked. A warning marks a rule that is broader than what was denied.

The selected text, and the open file as context, go over HTTPS to NPCoding's server and an AI model, which writes the answer. NPCoding stores none of it. The first send asks for your consent, and nothing is sent without it. The plugin only reads your files: it never changes, compiles, loads or applies a policy.

## Who it's for

- Engineers who write or maintain policy modules and keep meeting AVC denials in audit logs.
- Teams that want a second reading of a denial, with the narrowest rule worked out, before anyone touches the policy.

## Key features

- **Rule:** Select denial lines from an audit log, dmesg or ausearch output and get the allow rule that is missing, with the reason it is needed.
- **Explain:** Select policy text and get a plain explanation of what it allows.
- **Ask:** Put any question about the selected text.
- **The rule, worked out locally too:** The denials are read on your machine, and the allow rules the plugin works out itself are shown next to every answer.
- **Checked against your file:** The rule must parse, cover every denial and use only types and attributes that exist in the denials or in your file.
- **A warning for a wider rule:** A rule that allows more than was denied is marked, so a blanket rule doesn't slip through unnoticed.

## Frequently asked questions

### Is there a free trial?

No. It is paid from the first use. A licence is $9.90 a month for an individual or $17.90 a month for an organization, and the annual price is ten times the monthly one. Each licence has 300 asks every calendar month, and the tool window shows how many are left.

### When can I get it?

It is on JetBrains Marketplace now. Use the button at the top of this page.

### What does it send, and where?

The text you select, and the open file as context, go over HTTPS to NPCoding's server and an AI model that writes the answer. NPCoding stores none of it. The first send asks for your consent, and nothing is sent without it.

### Can it change or load my policy?

No. The plugin only reads your files. It never changes, compiles, loads or applies a policy.

### Can the answer still be wrong?

Yes. An AI answer can be wrong, and the local checks do not catch every mistake. They cover whether the rule parses, covers the denials and uses names that exist, not whether the rule is safe or right for your system. Read the rule before you apply it.

## Related products

- [Compiler IR AI](https://npcoding.ca/products/compiler-ir-ai/): Explains textual compiler IR in .ll files, finds why an optimization was missed and maps instructions back to source lines. Every answer is checked against your file.
- [CAN Database AI](https://npcoding.ca/products/can-database-ai/): Explains the signals in CAN .dbc files, decodes log lines with your database and finds conflicts, with every answer checked against your file.
- [Oskuvi Server Launcher](https://npcoding.ca/products/oskuvi-server-launcher/): Run and debug a web application on your own WildFly® application server from a run configuration, in IntelliJ IDEA's free edition too.

## Built by NPCoding

Need security work done properly, not just a rule fixed? We assess and harden applications and the systems around them.

- [Application Security](https://npcoding.ca/services/application-security/): Security built into every sprint: threat modeling, secure code, testing and privacy-by-design.

*SELinux and other names on this page are used only to say which files the plugin reads, and belong to their owners. This plugin is not affiliated with, or endorsed by, any of them.*

---

NPCoding · AI-powered software & app development · Toronto, Canada · support@npcoding.com · https://npcoding.ca/contact/
