Scan your whole stack
From OX Research Newsroom
Are you using @subf/config?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.1
@subf/config was last scanned on 25 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.1 LATEST | 25 Nov 2026 | No rules fired |
| 0.6.0 | 25 Nov 2026 | No rules fired |
| 0.5.0 | 3 Oct 2026 | No rules fired |
| 0.4.0 | 2 Sep 2026 | Not shown |
Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.6.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Universal configuration for TypeScript, oxlint (+unocss, +solid), oxfmt, and tsdown.
bun i -D @subf/config
tsconfigRun subf to create or update tsconfig.json (the default type is lib):
subf
subf --type node # Node.js apps
subf --type web # SolidJS apps
When tsconfig.json already exists, missing settings are added while existing settings are preserved. Use --force to overwrite generated settings. Legacy @subf/config entries in extends are removed automatically.
tsdownHelpers to create tsdown build configs.
Example: use lib() in your tsdown.config.ts:
import { lib } from '@subf/config/tsdown'
import { defineConfig } from 'tsdown'
export default lib({
entry: 'shallow',
excludeDeps: ['oxlint', 'oxfmt', 'tsdown'],
overrides: {
exports: {
customExports(exports) {
exports['./custom'] = './you-custom-file.js'
return exports
},
},
},
})
For Node builds use nodeLib():
import { nodeLib } from '@subf/config/tsdown'
export default nodeLib({ entry: 'src/index.ts' })
For Solid builds (requires vite-plugin-solid) use solidLib():
import { solidLib } from '@subf/config/tsdown'
import { defineConfig } from 'tsdown'
export default solidLib({ entry: 'src/index.tsx' })
oxfmtIn oxfmt.config.ts:
import { CONFIG } from '@subf/config/oxfmt'
export default CONFIG
Use subfFmt() helper to create a oxfmt config.
import { subfFmt } from '@subf/config/oxfmt'
export default subfFmt({
// your custom oxfmt config here
})
oxlintIn oxlint.config.ts:
import { CONFIG } from '@subf/config/oxlint'
export default CONFIG
or use defineConfig() with extend if you want to extend it:
import { CONFIG } from '@subf/config/oxlint'
import { defineConfig } from 'oxlint'
export default defineConfig({
extend: [CONFIG],
// your custom config here
})
Use subf() helper to create a oxlint config with opinionated presets for lib, solid, unocss, etc.
import { subf } from '@subf/config/oxlint'
export default subf({
lib: true,
solid: true,
unocss: true,
// your custom oxlint config here
})
Scaffold tsconfig.json, oxlint.config.ts, and oxfmt.config.ts into your project.
bunx @subf/config # recommended
npx -y @subf/config # fallback
bunx @subf/config -f # force overwrite existing files
After scaffolding you'll be prompted to install the package so your configs stay in sync with future updates:
bun i -D @subf/config
bun i -D @subf/config
bun subf # or just `subf` if on PATH
bun subf -f # force overwrite existing files
When oxlint or oxfmt is missing, subf resolves the latest version from the registry and adds it to devDependencies (fallback chain: $npm_config_registry -> $NPM_CONFIG_REGISTRY -> the public npm registry). Registry failures are reported as warnings and do not prevent config generation.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.