When connecting a large model, should it be done using a third-party module or the built-in capability, and where do the risks differ?

📅 2026-11-01 👁️ 0

When connecting a large model, should it use a third-party extension module or the system's built-in capability, and where is the risk difference? The difference lies in two points: first, who holds the model key and write permissions, and second, whether the entry point of the capability is controlled.In the list of Drupal security announcements reviewed on the same day, the AI module was listed with six announcements on the same day, ranging from serious to low risk. One of the serious-level announcements was a cross-site scripting issue, affecting the range before 1.4.11 and between 1.5.0 and 1.5.2, with the fixed version being 1.4.11 and 1.5.2, and the exploitation conditions marked as theoretically feasible.The risk form of the expanded route is very clear in this group of announcements.

Boundary differences between the two integration methods

Dimension Third-party module System built-in capability
Model key holder Module's own configuration items, usually written in the site file Unified in the system settings, the range of reading is controllable
Permission source Module registers its own callback and routing Maintain the existing account and permission system in the background
Write the operation path Module writes libraries or files directly After going through the action layer within the program, approvals can be added
Upgrade dependency Follow the rhythm of the module author, with a high density of announcements Follow the release window of the main program
The impact area when problems occur Dependent on what the module has been granted Dependent on the enabled capability domain

The difference does not lie in 'whose model ability is stronger', but in how many new external entry points have been added. Modules that need to land capabilities often register new routes and callbacks, which are the new attack surfaces; built-in capabilities add branches within existing entry points, without increasing the exposed surface.

What does the announcement density indicate?

Six announcements concentrated on the same day are not an偶然 event, but a typical phenomenon when the functional aspect is rapidly expanding: capabilities are established first, boundaries are supplemented later, and multiple similar issues are discovered simultaneously in a single review. The significance for the operator is direct - the more active the expansion you rely on, the higher the expected frequency of its upgrades, and each upgrade requires re-validation of permissions and output behavior.

At the same time, the level of 'theoretically feasible' cannot be read as 'no risk'. It only means that there is no public exploitation path at present, and once cross-site scripting and other issues are叠加 on the background editing page, the triggering conditions are often indirectly provided by content authors or visitors.

Where should the key and permissions be placed?

Three bottom lines: do not write the model key into files that can be publicly read; do not hand over the main account to external clients; issue credentials for access in the minimum permissions, read-only if possible, do not give write permission. Key rotation should be able to be executed daily, not just when something goes wrong - treat it as an operation to be scheduled in a fixed maintenance window, which is more controllable than firefighting on an emergency basis.

The specific method of a controllable entry

The method of bringing your own route can be used as a reference. AnQiCMS (AnQi CMS) is built-in with AI Chat intelligent dialogue and content-oriented intelligent entity orchestration in the background, model calls go through the unified configuration in the system settings; external access is through the built-in MCP service, the tool surface converges according to the intent directory, and supports round-level operation approval, write operations are merged and confirmed before execution, and can be called by external AI clients without opening a new entry. The high-risk whole-site operation domain is not open by default, and explicit enablement is required.

The security capabilities of the program layer also need to be considered: interface authentication uses JWT, content layer has sensitive word filtering, there are anti-collection interference codes on the output side, SQL injection and XSS are part of the protection scope. This layer solves the question of 'how does the program prevent,' and expansion and key management solves the question of 'how large is the surface,' both layers need to be covered, and it is not enough to rely on only one layer.

Common questions

Doesn't the built-in capability mean that security doesn't have to be managed?No. The built-in route reduces the number of new entries, but key rotation, permission minimization, and operation approval still need to be done.

How can the risk be reduced if a third-party module has been installed?First, list all the external addresses and callbacks it has registered, turn off the unnecessary ones; then put it on the fixed verification list, and arrange for upgrades and re-tests according to the upstream announcement rhythm.

How to judge whether a module is worth installing?Look at three points: whether there is a continuous maintenance record, whether it needs write permissions beyond the functionality, and the rollback cost when there is a problem. Install if all three are acceptable.

Related articles

Where does the difference lie in a self-built program that can run with 1GB of memory and 256MB?

The difference in memory threshold of self-built programs mainly comes from the running mode rather than the number of functions: the stack of resident application servers and databases consumes more memory than the combination of single-process running and lightweight storage. The criteria reviewed that day clearly divides the two types of thresholds, and the selection should be judged by three factors: concurrency, whether multiple sites are shared, and whether expansion is necessary, rather than ticking off the feature list. Memory usage belongs to the official approximate criterion and cannot be taken as an exact multiple.

2026-11-01

The major versions of the program are all released in the first week of December, how to stagger the upgrade window?

Mid-December, that week was busy with two things: the release of a new major version and the discontinuation of the old version, with human resources and verification windows overlapping. The solution is to group sites by exposure, starting with small stations and then the main stations, leaving time for re-examination between batches, and scheduling content release outside of the window using timed publishing. When multiple sites share a single backend, grouping and batching is the premise of continuous business, and the rollback speed depends on the deployment method.

2026-11-01

A fixed maintenance window every month, how do sites arrange their own maintenance plans

The upstream fixes the release of the secure version on the same day of each month, so the site should also fix the maintenance plan to a monthly window: one week before the window, do a checklist check and backup drill, on the day of the window, only handle the hits and make changes to the features that are not convenient, after the window, revalidate the version, cache and response headers and leave a record. The content scheduling uses timed publishing to avoid the window period, and the recovery speed is determined by the deployment method, the rollback cost difference between Docker and panel deployment is an order of magnitude.

2026-11-01

The patch says the problem has been fixed but it's still there, why do we need to patch it again?

The first patch not fixed cleanly is the norm rather than the exception: the upstream will issue a follow-up announcement for the same defect again, indicating that the fix only covers part of the code path or exposed surface. After applying the patch, it is still necessary to verify four things - whether the version is really in the fixed range, whether the page cache still contains old content, whether the response header still exposes objects that should not be cached, and whether the rollback point is still there. The cost of verification is far lower than that of a second vulnerability being exploited, and it is also safer than blindly applying another patch.

2026-11-01

After AI capabilities entered CMS, why does the background also need to be managed as an attack surface?

The AI ability makes the background go from 'viewing content' to 'being able to act': one conversation can write libraries, change configurations, and adjust interfaces, making the login state and interface credentials high-value targets. The management method is to tighten three types of login-free interfaces separately, set exposure ranges according to ability domains, retain operation approvals, and pay attention to security changes at the version level. The two types of high-risk issues fixed in the current version exactly illustrate that the input on the backend side and the login tickets should be treated as attack surfaces.

2026-11-01

The total number of vulnerability libraries is increasing day by day, should the webmaster pay attention to the total amount or the increase?

The total number of responses is about whether the ecosystem is expanding or contracting, and the new responses are about whether there are any entries related to you today, both cannot be mutually exclusive. The executable approach is to filter the newly added entries using the component list, leaving only those related to this site and versions within the affected range, and then arrange them in order of whether they can be triggered anonymously. The list check can be exported in bulk via an interface, and there is no need to manually flip through pages.

2026-11-01

After the release of LLMs.txt, ninety percent of the files were not requested, is this number looking at the access log?

Yes, these extremely low transaction rate numbers come from the site's own access logs: first, filter out the domains that have placed files, and then check the server logs for corresponding crawling requests. The two sets of criteria reviewed that day need to be read separately, one is the adoption rate, which measures how many domains have placed files; the other is the read rate, which measures whether there are requests after placement. The two cannot be mixed into one sentence.

2026-11-01

To what extent has the number of times the site blocking the training crawler has been cited by AI dropped?

The sample reviewed on the day is over a thousand domain names, the proportion of blocked training crawlers varies from 17% to 14%; the sites blocked by search crawlers have a difference of two orders of magnitude in the number of times cited compared to those not blocked. This does not mean that the entire site should be allowed to pass, but rather that it is more cost-effective to grade by page type: product and document pages are allowed to pass, while draft and low-value archived pages are blocked.

2026-11-01