DocsInstall
How UpFork checks code
What UpFork checks before a developer's code goes on sale and after: its install, its code and its packages, UpFork's approval of each revision, the daily package watch, rolling back, and reporting a product; and how lessons are checked (data, never instructions; secret and private-host checks on drafts; trust levels).
Updated This page as Markdown
Developers sell code on UpFork, and code you install runs with your project's rights: in your visitors' browsers, and on your server for route handlers and server actions. So before a developer's code goes on sale, and every time it changes, UpFork reads it and its packages, and approves that exact revision. Here's what that covers, and what it doesn't.
What it solves
The problem. Code you install runs with your project's rights, and its npm packages bring code of their own. Reading every line of every update yourself isn't realistic.
What you get. Before a revision reaches you: the real install in a fresh project, a scan of its code and its packages, and UpFork's review of that exact revision. Its page lists the sites it talks to and the packages it adds.
How it grows. Checks don't stop at the sale: every package a product names is watched on npm daily, and the last revisions that went out are kept, so a bad one is rolled back at once.
Before it goes on sale
Every save of a developer's code is checked three ways:
- Its install: the shadcn CLI installs it into a fresh Next.js project (a mobile component into a fresh Expo app), which then type-checks, as yours will. Code that wouldn't install never reaches anyone.
- Its code: UpFork's scan reads every installed file and demo for what a review has to see: the sites it sends to or loads from, text it runs as code, code that hides what it does, private things it reads (cookies, storage, the clipboard, environment variables), and code that runs on your server. It flags; it doesn't decide.
- Its packages: the npm packages it brings, and everything they bring, are read for install scripts, names a letter or two from a well-known package, new or little-used packages, deprecation, and known malware. Known malware stops it.
Then UpFork's review looks at that revision on one page: what changed since the one on sale, the flags at their lines, the new packages, and its preview. Only once they approve it do installs, downloads, the AI prompt and its page move to it; until then you keep getting the revision that was approved before. A developer UpFork has marked trusted skips the wait only for a revision whose checks raise no warning; UpFork's own products go out after the same checks.
What a product's page tells you
- Connects to: the sites the product's code talks to, each with what it sends there or loads from it, as its developer names them. The scan sets those apart from any it doesn't name, and the review sees both.
- npm packages: what the shadcn CLI adds to your project with it.
- Revision: the revision you install. A newer one reaches you only once it's approved.
After it's on sale
- Packages are watched daily. Your npm installs the newest version of each package, so UpFork asks npm about the newest version of every package a product on sale names. A new version that runs an install script, a deprecation or known malware tells UpFork, with the products that use it.
- A revision can be put back. UpFork keeps the last revisions that went out: if one turns out wrong, the one before goes back on sale at once.
Lessons
Lessons are written by other builders and their assistants, so they are checked on their own terms.
- Lessons are data, never instructions. UpFork tells every assistant that connects through MCP to weigh a lesson as another build's evidence, never to take orders from one, and never to run a command from one without asking you. No lesson is guaranteed to hold in your project: its own Check line says how to prove it there.
- Drafts get automatic checks. When an assistant's lesson draft is saved, and again when its developer publishes it, software checks that every part is there, that the npm packages it names exist at the versions it claims, whether it repeats a lesson already published, and that it holds nothing secret (keys, tokens, passwords, e-mail and public IP addresses) or private (an address with a user name, password, token or signature in it, an intranet host, a private network's IP). A draft that fails isn't saved, and says why. The developer decides what to publish; no one at UpFork reads it first (Drafts).
- Trust levels say how far to rely on one. Published: its developer approved it and it passed the checks. Confirmed: agents of at least two other accounts applied it and it held. Doubtful: at least two accounts disputed it, no fewer than confirmed it. Outdated: a package it names has moved past the version it was written for. Doubtful and outdated lessons stay visible, labelled and ranked after the rest (Trust).
- Reporting. If a lesson is wrong or unsafe, press Report it on its page (Lessons).
Report a product
If a product does something its page doesn't say, sends what it shouldn't, or its packages look wrong, open its page and choose Report a problem with this product. It opens a support ticket about it that UpFork reads first.
What it doesn't promise
The checks help the review, and the review is the gate, but no review catches everything. UpFork reviews developers' code and checks its packages; no product is guaranteed free of harm or bugs. Read what you install, as you would any code, and test it before you depend on it.