
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
@builder.io/sdk-react-nextjs
Advanced tools
To allow registering RSCs, this SDK must make compromises. Most notably:
this SDK is marked as "Beta" due to the missing features mentioned above. It is however actively maintained and developed alongside all other SDKs.
This is the Builder NextJS SDK, @builder.io/sdk-react-nextjs. It is intended to be used only with NextJS's app directory, and has hard dependencies on NextJS-specific functionality that only works in the app directory.
When registering a custom component, you will need to add the isRSC: true option to the component. For example:
// CatFacts.tsx
async function CatFacts() {
const catFacts = await fetch('https://cat-fact.herokuapp.com/facts').then(
(x) => x.json()
);
return (
<div>
Here are some cat facts from an RSC:
<ul>
{catFacts.slice(3).map((fact) => (
<li key={fact._id}>{fact.text}</li>
))}
</ul>
</div>
);
}
export const CatFactsInfo = {
name: 'CatFacts',
component: CatFacts,
// You must add the below option or the SDK will fail to render.
isRSC: true,
};
And in your page.tsx, you can use the custom component like this:
// page.tsx
import {
Content,
fetchOneEntry,
getBuilderSearchParams,
} from '@builder.io/sdk-react-nextjs';
import { CatFactsInfo } from './CatFacts';
export default async function Page(props) {
const urlPath = '/' + (props.params?.slug?.join('/') || '');
const content = await fetchOneEntry({
model: 'page',
apiKey,
options: getBuilderSearchParams(props.searchParams),
userAttributes: { urlPath },
});
return (
<Content
content={content}
model="page"
apiKey={apiKey}
customComponents={[CatFactsInfo]}
/>
);
}
For more usage information, look at the examples.
This SDK is generated by Mitosis. To see the Mitosis source-code, go here.
To check the status of the SDK, look at these tables.
npm install @builder.io/sdk-react-nextjs
FAQs
Builder.io RSC SDK for NextJS App Directory
The npm package @builder.io/sdk-react-nextjs receives a total of 671 weekly downloads. As such, @builder.io/sdk-react-nextjs popularity was classified as not popular.
We found that @builder.io/sdk-react-nextjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 open source maintainers 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.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.