---
canonical: "https://firewall.lpm.dev/npm/nucleus-core-ts/v/0.10.156"
markdown: "https://firewall.lpm.dev/npm/nucleus-core-ts/v/0.10.156.md"
package: "nucleus-core-ts"
report_status: "published"
title: "nucleus-core-ts@0.10.156 npm security report"
verdict: "suspicious"
version: "0.10.156"
---

# nucleus-core-ts@0.10.156 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 27 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 0.10.156
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The proxy forwards existing authentication cookies to a configurable quota suppression URL without source-level destination validation or a separate consent gate. This supports a warning for conditional credential exposure, but does not establish malicious intent or a package-controlled recipient.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-10-29T04:13:31.680Z
- **Finished:** 2026-10-29T04:22:24.065Z
- **Download time:** 773 ms
- **Static scan time:** 10241 ms
- **AI review time:** 521370 ms
- **Total time:** 532385 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** The proxy can disclose an incoming authentication cookie to a configured quota suppression service. The source does not restrict the destination or require separate consent for that transfer.

- **Trigger:** A request with a payload reaches the proxy while quota suppression is configured and the caller lacks the godmin role.

- **Impact:** The configured recipient receives the caller’s authentication cookie, creating conditional credential exposure.

- **Evidence paths:** dist/src/Client/Proxy/httpProxy.js, dist/src/Client/Proxy/types.d.ts

- **Review source:** ai\_review

- **Reviewed:** 2026-10-29T04:22:24.065Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The proxy sends the request cookie in a fetch to the configured quota suppression URL.

- **Rationale:** The proxy forwards existing authentication cookies to a configurable quota suppression URL without source-level destination validation or a separate consent gate. This supports a warning for conditional credential exposure, but does not establish malicious intent or a package-controlled recipient.

- **Files touched:** dist/src/Client/Proxy/httpProxy.js, dist/src/Client/Proxy/types.d.ts

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** When quota suppression is configured and a request has a payload, the proxy sends the inbound cookie to the configured URL for non-godmin roles., The quota suppression setting accepts a URL, and the request forwards the cookie without a destination check or a separate consent gate., Token refresh sends cookies to the configured identity provider URL; the inspected bundle’s command execution reads libc version information.

- **Evidence against:** The token refresh request uses the configured identity provider base URL and refresh endpoint, consistent with the proxy’s authentication role., The flagged command execution in the server bundle runs getconf and ldd to identify the system libc; it does not send their output to a network endpoint., The inspected location lookup uses a public IP geolocation service to obtain country and city data.

## Affected versions and remediation

This report applies to nucleus-core-ts@0.10.156.

- Review the evidence and your use of nucleus-core-ts@0.10.156 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** infra/scripts/generate-project.ts
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/infra/scripts/generate-project.ts>)

Package source references child process execution.

Public source snippet (untrusted):

```typescript
L13: import { createInterface } from 'readline/promises'
L14: import { spawnSync } from 'child_process'
L15:
```

### 4. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 5. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/cli.ts
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/bin/cli.ts>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```typescript
L92: // existing config.json. `init` is the leaner, config-building local-dev path.
L93: const { scaffold } = await import(join(rootDir, 'infra', 'scripts', 'generate-project.ts'))
L94: await scaffold(join(rootDir, 'infra'))
```

### 6. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 7. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 8. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L414: -----END CERTIFICATE-----
L415: `;class BaseSettingsService{constructor(){Object.defineProperty(this,"pemCertificates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.pemCertificates=new Map}setRoo...
L416: ${strMDSAlgs}`)}if(attestationStatementAlg!==void 0&&authenticatorGetInfo?.algorithms!==void 0){let getInfoAlgs=authenticatorGetInfo.algorithms.map((_alg)=>_alg.alg);if(getInfoAlgs...
L417: `))}});var require_constructor=__commonJS((exports,module3)=>{var util=__require("util"),stream=__require("stream"),is2=require_is();require_sharp();var debuglog=util.debuglog("sha...
```

### 10. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.push(json)}return flush(),out.join(`
L24: `)}function formDecode(pair){for(let entry
```

### 11. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
`)}function formDecode(pair){for(let entry of new URLSearchParams(pair))return entry;return}function holdsCredential(pair,scrub){let eq=pair.indexOf("=");if(eq===-1)return!1;let va...
`).slice(1);for(let line of lines){let match=line.match(/at\s+(?:(.+?)\s+)?\(?(.+?):(\d+):(\d+)\)?/);if(!match)continue;let[,fnName,filePath,lineNum]=match,fileName=filePath?filePa...
`).slice(1,4);for(let stackLine of stackLines)method(`  ${dim}${stackLine.tr
```

### 12. Critical: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source executes local commands and sends command output to an external endpoint.

Public source snippet (untrusted):

```javascript
L414: -----END CERTIFICATE-----
L415: `;class BaseSettingsService{constructor(){Object.defineProperty(this,"pemCertificates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.pemCertificates=new Map}setRoo...
L416: ${strMDSAlgs}`)}if(attestationStatementAlg!==void 0&&authenticatorGetInfo?.algorithms!==void 0){let getInfoAlgs=authenticatorGetInfo.algorithms.map((_alg)=>_alg.alg);if(getInfoAlgs...
L417: `))}});var require_constructor=__commonJS((exports,module3)=>{var util=__require("util"),stream=__require("stream"),is2=require_is();require_sharp();var debuglog=util.debuglog("sha...
```

### 13. Critical: Browser Credential Phishing
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source appears to collect browser login credentials for exfiltration.

Public source snippet (untrusted):

```javascript
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.push(json)}return flush(),out.join(`
L24: `)}function formDecode(pair){for(let entry
```

### 14. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.push(json)}return flush(),out.join(`
L24: `)}function formDecode(pair){for(let entry
```

### 15. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.push(json)}return flush(),out.join(`
L24: `)}function formDecode(pair){for(let entry
```

### 16. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/server.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/server.js spawns dist/index.js; helper contains network access plus dynamic code execution.
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json=
```

### 17. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.module -> dist/index.js
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.push(json)}return flush(),
```

### 18. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.module -> dist/index.js
L5: this file except in compliance with the License. You may obtain a copy of the
L6: License at http://www.apache.org/licenses/LICENSE-2.0
L7: 
...
L14: and limitations under the License.
L15: ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof globalThis==="object"?globalThis...
L16: `||char==="\r")return{at,closed:!1};if(char==="\\"){slashes+=1;continue}if(char===quote&&slashes%period===level&&!ALPHANUMERIC.test(text[at+1]??""))return{at:at-level,closed:!0};sl...
...
L23: `)){let json=depth<MAX_DEPTH&&jsonLogLine(line)?redactJson(line,scrub,depth):void 0;if(json===void 0){block.push(line);continue}flush(),out.pu
```

### 19. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.module -> dist/index.js
L414: -----END CERTIFICATE-----
L415: `;class BaseSettingsService{constructor(){Object.defineProperty(this,"pemCertificates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.pemCertificates=new Map}setRoo...
L416: ${strMDSAlgs}`)}if(attestationStatementAlg!==void 0&&authenticatorGetInfo?.algorithms!==void 0){let getInfoAlgs=authenticatorGetInfo.algorithms.map((_alg)=>_alg.alg);if(getInfoAlgs...
L417: `))}});var require_constructor=__commonJS((exports,module3)=>{var util=__require("util"),stream=__require("stream"),is2=require_is();require_sharp();var debuglog=util.debuglog("sha...
```

### 20. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** infra/scripts/generate-project.ts
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/infra/scripts/generate-project.ts>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```typescript
L675: logStep(`[API] bun install`)
L676: const installBe = spawnSync('bun', ['install'], { cwd: beDir, stdio: ['pipe', 'pipe', 'pipe'] })
L677: if (installBe.status === 0) {
L678: logSuccess('bun install completed')
L679: } else {
```

### 21. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 22. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 23. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 24. Medium: Wildcard Dependency
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

### 25. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 26. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 4
```

### 27. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/nucleus-core-ts@0.10.156/dist/index.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = nucleus-core-ts@0.10.155
matchedIdentity = npm:bnVjbGV1cy1jb3JlLXRz:0.10.155
similarity = 0.983
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 9
- **Optional dependencies:** 4
- **Peer dependencies:** 9
- **Development dependencies:** 12
- **Published dependency-graph edges:** 22

### Published dependency entries
- @gsap/react latest (Dependency)
- @simplewebauthn/server ^13.3.0 (Dependency)
- @sinclair/typebox 0.34.47 (Dependency)
- @xyflow/react latest (Dependency)
- drizzle-orm latest (Dependency)
- gsap latest (Dependency)
- h-state latest (Dependency)
- ioredis latest (Dependency)
- reflect-metadata ^0.2.2 (Dependency)
- @azure/communication-email latest (OptionalDependency)
- @marsaud/smb2 ^0.18.0 (OptionalDependency)
- sharp ^0.33.0 (OptionalDependency)
- stripe latest (OptionalDependency)
- @dapr/dapr latest (PeerDependency)
- clsx latest (PeerDependency)
- googleapis \* (PeerDependency)
- pg latest (PeerDependency)
- react latest (PeerDependency)
- react-dom latest (PeerDependency)
- tailwind-merge latest (PeerDependency)
- tailwindcss latest (PeerDependency)
- typescript latest (PeerDependency)

## Package metadata
- **Package:** nucleus-core-ts
- **Ecosystem:** npm
- **Version:** 0.10.156
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-10-29T04:11:35.961Z
- **Package first seen:** 2026-07-30T12:21:34.599Z
- **Package last seen:** 2026-11-23T19:44:40.094Z
- **Known versions:** 221
- **Latest version:** 0.10.276
- **Appeal under review:** No
- **Description:** Production-ready, enterprise-grade TypeScript framework for building multi-tenant APIs
- **Author:** Hidayet Can Özcan \<hidayetcan@gmail.com\>
- **Maintainers:** hidayetcanozcan
- **Keywords:** backend, framework, drizzle, typescript
- **Artifact files:** 1396
- **Artifact unpacked size:** 11,707,847 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/nucleus-core-ts/v/0.10.156>)
