Corporate Nextcloud Security Gaps: Default Settings, Antivirus Failures and Open Source Integration Challenges
Nextcloud in corporate environments demands far more than default open source settings to achieve acceptable security levels, according to a detailed technical review published by K2Tech.
The company’s specialist Roma Masyagutov explains that while LDAP integration, antivirus plugins, audit logging and access policies exist, real-world testing often exposes dangerous gaps. A large infected file can still reach storage even when an antivirus solution is supposedly active.
Architecture and Perimeter Defenses
Corporate Nextcloud runs across load balancers, application servers, a MariaDB Galera cluster for metadata, Redis for sessions, S3 object storage and Elasticsearch for logs, all spread across three availability zones. WAF solutions from vendors such as Wallarm and Qrator plus Anti-DDoS services sit in front of the infrastructure. Additional layers include vulnerability scanning with VULS, infrastructure-level SRK, security groups, IAM and CloudTrail logging.
LDAP and Antivirus Integration Issues
Native LDAP plugins connect reliably to corporate Active Directory, automatically mapping groups and permissions. Antivirus integration, however, proves far more fragile. When the antivirus service becomes unreachable, the Antivirus for files plugin simply uploads the file to S3 without scanning. A later parameter avBlockUnreachable was added, yet it functions only with ClamAV and still requires manual configuration for other engines.
Another critical flaw appears during chunked uploads. Files are transferred in 5–10 MB pieces and reassembled with a MOVE command. Older plugin versions checked only individual PUT requests, leaving the final assembled file unexamined. Administrators must update the plugin and align chunk sizes with the antivirus stream length using commands such as occ config:app:set files max_chunk_size --value="104857600".
Comparing Three Antivirus Engines
Three ICAP-based engines were evaluated on identical hardware: ClamAV, Kaspersky Scan Engine and PT Sandbox.
- ClamAV offers open source signature-based detection but lacks built-in clustering, web panels and monitoring; administrators must build these capabilities themselves.
- Kaspersky Scan Engine provides a web console, native clustering via shared database and integration with SIEM systems, delivering the fastest inline scanning speeds in tests.
- PT Sandbox combines signature detection with behavioral analysis yet proved the most resource-intensive, with load averages reaching 115 during sequential uploads.
Throughput measurements for 30 MB and 100 MB files containing EICAR signatures showed Kaspersky Scan Engine consistently outperforming the others, while PT Sandbox imposed the highest CPU overhead even without behavioral analysis enabled.
The authors conclude that antivirus scanning in a Nextcloud pipeline must be treated as a dedicated service whose failure modes, monitoring, high-availability design and re-scan policies require careful engineering. Frequent Nextcloud releases and plugin updates further necessitate ongoing regression testing on staging environments before production rollout.
Related articles
Where Secrets Really End Up in Docker Images: Testing 8 Common Methods
A detailed analysis of eight different approaches for handling secrets during Docker image builds reveals that most methods leave sensitive data exposed in layers, configuration files, or build history. Experiments conducted on Ubuntu 24.04.1 LTS with Docker Engine 29.1.3 and BuildKit v0.26.2 showed that simply using RUN rm after COPY or overwriting files fails to remove secrets from immutable layers. Environment variables via ENV and build arguments via ARG both persist in image metadata and history. Only BuildKit Secrets with --mount=type=secret and multi-stage builds that avoid copying secrets into the final stage successfully prevent leakage. The study demonstrates that secrets can be extracted from saved images without running any containers. Developers are advised to adopt these two secure patterns to protect credentials in container supply chains.
Mozilla Revokes GPG Signing Key After Accidental Upload to Private GitHub Repository
Mozilla has replaced the GPG key used to sign certain Firefox and Thunderbird builds following an accidental exposure of the unencrypted secret key in a private GitHub repository. The key was intended for signing Linux archives, RPM packages, and checksum files, raising theoretical risks of supply-chain attacks through forged installers. Company audits found no evidence of external misuse, as repository access was limited to a small group of employees who already held legitimate access to the key. Most users require no action, though those manually verifying GPG signatures must import the new key along with revocation data for the old one. Linux administrators installing Firefox via RPM packages on distributions such as Fedora, RHEL, Rocky Linux, AlmaLinux, openSUSE, and SUSE may need to manually update the key to avoid installation failures. Thunderbird users are unaffected by the RPM issue since no official RPM packages are released for the email client. The new key remains valid until August 5, 2028, with public details available in updated KEY files and on keys.openpgp.org.
ChainDrop Malware Infects Over 1,300 npm Packages in Record Supply Chain Poisoning Campaign
Security researchers have uncovered a massive supply chain attack involving the ChainDrop malware that compromised more than 1,300 npm packages with a combined 2 billion monthly downloads. The malicious code silently steals npm tokens, GitHub credentials, and SSH keys before using stolen tokens to infect additional packages in a self-propagating loop. In a parallel incident, the Open VSX marketplace removed 77 malicious extensions that impersonated popular developer tools and harvested host and repository data. Attackers have also begun exploiting AI coding assistants through a technique called HalluSquatting, registering packages that match hallucinated names suggested by tools such as GitHub Copilot and Claude Code. The incidents highlight how modern supply chain threats now extend beyond direct dependencies to include AI-generated recommendations and automated publishing pipelines. Experts recommend strict lockfile usage, minimal token permissions, and manual verification of any package suggested by AI assistants.
Malicious VS Code Extensions Masquerading as Solidity Tools Steal Crypto Wallets, API Keys and Credentials
Two malicious Visual Studio Code extensions promoted as Solidity development utilities have been used to steal cryptocurrency wallet data from browsers along with API keys and stored credentials. The extensions, identified as helper-beeps.solidity-pro and web3devtoolsx.solidity-pro, target developers working with smart contracts and Web3 environments where sensitive tokens and sessions are commonly present. Attackers rely on the trusted VS Code marketplace to deliver the payload through a simple installation rather than any complex exploit. Once active, the extensions harvest browser-based crypto wallet information, saved credentials, environment files, SSH keys and API tokens. A single compromised workstation can therefore expose repositories, cloud services and directly drain cryptocurrency funds. Security researchers recommend immediate removal of both extensions, rotation of all accessible secrets and adoption of stricter extension allow-list policies. The incident highlights ongoing supply-chain risks in developer tooling ecosystems.