
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Production-ready Next.js backend scaffolder that generates complete, type-safe backend code in seconds.
# Install globally
npm install -g scaffism
# Create a new project
scaffism my-app
# Or with specific options
scaffism my-app --auth authjs --db postgresql --orm prisma
# Or use defaults
scaffism my-app -y
scaffism [name] / scaffism init [name]Create a new project with interactive prompts.
# Interactive mode
scaffism my-app
# With flags
scaffism my-app --auth clerk --db postgresql --orm prisma
# Skip prompts with defaults
scaffism my-app -y
# Dry run (show what would be generated)
scaffism my-app --dry-run
scaffism add [features...]Add features to an existing project.
scaffism add rate-limiting logging
scaffism add payments email
scaffism generate <type> [name]Generate new entities, routes, or tests.
scaffism generate entity Post --fields "title:string:true,content:string:true"
scaffism g route posts
scaffism g test posts
Create a scaffism.config.json for reproducible builds:
{
"name": "my-app",
"auth": "authjs",
"database": "postgresql",
"orm": "prisma",
"authorization": "rbac",
"features": ["rate-limiting", "logging", "error-handling"],
"entities": [
{
"name": "Post",
"fields": [
{ "name": "title", "type": "string", "required": true },
{ "name": "content", "type": "string", "required": true },
{ "name": "published", "type": "boolean", "default": false }
],
"timestamps": true
}
]
}
Not all auth/database/ORM combinations are valid:
| Auth | Database | ORM |
|---|---|---|
| Auth.js | PostgreSQL, MySQL, SQLite | Prisma, Drizzle |
| Clerk | PostgreSQL, MySQL, SQLite, None | Prisma, Drizzle, None |
| Supabase | PostgreSQL | Prisma, Drizzle |
| None | PostgreSQL, MySQL, SQLite, None | Prisma, Drizzle, None |
my-app/
├── src/
│ ├── app/ # Next.js App Router
│ │ ├── api/ # API routes
│ │ │ ├── auth/ # Auth endpoints
│ │ │ ├── v1/ # API v1 routes
│ │ │ └── health/ # Health check
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── lib/ # Shared libraries
│ │ ├── auth/ # Auth configuration
│ │ ├── db/ # Database client
│ │ ├── dal/ # Data Access Layer
│ │ ├── services/ # Business logic
│ │ ├── validation/ # Zod schemas
│ │ └── utils/ # Utilities
│ ├── config/ # Configuration
│ └── types/ # TypeScript types
├── prisma/ # Prisma schema (if using Prisma)
├── drizzle/ # Drizzle migrations (if using Drizzle)
├── tests/ # Test files
├── docker-compose.yml # Docker services
├── .env.example # Environment template
└── package.json
# Clone the repository
git clone https://github.com/scaffism/scaffism
cd scaffism
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run CLI in development
pnpm cli my-test-app
# Run tests
pnpm test
# Type check
pnpm typecheck
Scaffism uses a modular architecture:
See CONTRIBUTING.md for guidelines.
MIT
FAQs
Production-ready Next.js backend scaffolder
We found that scaffism demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.