nocobase-dsl-reconciler

Warn

Audited by Socket on Jun 15, 2026

7 alerts found:

Anomalyx4Securityx3
AnomalyLOW
src/deploy/fillers/click-to-open.ts

No clear indicators of classic malware (no credential theft, reverse shell, cryptomining, or third-party exfiltration) are present in the provided snippet. However, the code performs high-impact supply-chain/integrity style actions: it deliberately removes association-related initialization fields from server-stored flow models fetched over the network and persists the modified configuration via HTTP POST. Additionally, it may write to the local filesystem during template directory normalization (mkdir/copy). Primary risk drivers are unintended/malicious configuration mutation if inputs (uids/popupColl/fieldUid or template/mod paths) are not tightly controlled, and filesystem/path control risk in resolveTemplateDir due to mod-based traversal without visible validation. Overall: moderate security risk pending verification of input provenance and whether remote configuration changes are strictly authorized.

Confidence: 100%Severity: 60%
AnomalyLOW
src/cli/commands/deploy-commands.ts

No clear evidence of malware/backdoor behavior or data exfiltration is present in the provided fragment. The dominant security concern is operational: the code performs high-impact destructive backend actions (multiple :destroy calls) based on computed graph reachability and local state.yaml/UID data, with swallowed errors that may broaden cleanup despite partial failures. execSync is used with fixed git subcommands (lowering command-injection likelihood), but operates in a user-chosen working directory. Overall risk is medium due to blast radius and trust in local state integrity, not due to overt malicious payloads.

Confidence: 100%Severity: 60%
SecurityMEDIUM
src/deploy/collection-deployer.ts
SecurityMEDIUM
src/sync/sync.ts
AnomalyLOW
src/deploy/fillers/js-filler.ts

This module is not obviously malicious by itself, but it is a powerful software supply-chain code deployment utility: it reads local JS files and persists them as backend-executed runJs payloads. For items, it applies regex-based sandbox gating (template checks, ctx.render(null), forbidden constructs, ctx.sql usage), but such checks are not a complete JS sandbox and may be bypassed. Columns are deployed with significantly fewer restrictions. Additionally, the file path construction (path.join without explicit modDir containment validation) introduces potential unintended file read risk. Cleanup requests are sent internally but deletion failures are silently ignored. Overall, treat this as a security-critical deployment path requiring strong trust boundaries and robust validation at a higher layer.

Confidence: 100%Severity: 60%
AnomalyLOW
exports/crm/structure.yaml

This fragment is a dashboard configuration that itself contains no explicit malicious code or secrets, but it creates a meaningful supply-chain/security risk by dynamically loading and executing many local JavaScript modules for custom rendering and behavior. It also exposes sensitive capabilities (export/import and workflow triggering) and AI-related UI actions, whose actual side effects must be validated in the referenced `./js/*.js` files and the underlying action/workflow handlers. Based on the fragment alone: no direct evidence of malware, but non-trivial review priority due to extensive delegated code execution.

Confidence: 100%Severity: 60%
SecurityMEDIUM
src/deploy/fillers/event-flow-filler.ts
Audit Metadata
Analyzed At
Jun 15, 2026, 12:44 AM
Package URL
pkg:socket/skills-sh/nocobase%2Fskills%2Fnocobase-dsl-reconciler%2F@d757ffd6a031c0c0a2fd5deabd5d0f070c845104
Security Audit — socket — nocobase-dsl-reconciler