Skip to content

The code you buy is checked

A paid package runs inside your application, with your data and your keys. Pakua scans the code of every version a seller publishes and watches its dependencies for known vulnerabilities.

Every version is scanned

When a seller tags a release, Pakua imports the archive of that version and runs a static analysis on its files with Opengrep, an open source code scanner. The scan reads the code. It never runs it.

The scan is not a one-time review of the first release: it runs again on each new version, so a package that was clean at 1.0 is read again at 1.1.

What the scan looks for

16 rules written for PHP and Composer packages. They flag the patterns a backdoor or a careless release leaves behind:

  • code hidden in an encoded string and then executed, and calls to eval
  • code downloaded from a remote server and run, in the package or in a Composer install script
  • shell commands built from a variable or a request
  • request input passed to unserialize, to an include, to a file write or into an SQL query

Known vulnerabilities

Every four hours, Pakua reads the security advisories published on Packagist and matches them against each package and the dependencies it declares in composer.json.

When an advisory matches, the seller's organization gets an email, so the fix can ship as a new release.

A person reads each alert

A rule can flag code that is legitimate: a package that builds a shell command for a good reason, for example. So a finding removes nothing by itself. Pakua's team reads each one, with the file and the line, and decides what happens to the package.

A scan lowers the risk. It does not prove that a package is free of defects, and no scanner does. Read the license and the source of what you install, as you would for any dependency.

Your account

Sign in with a password, a passkey, GitHub or GitLab, and add two-factor authentication with an authenticator app. A sign-in that looks unusual for your account, a new device in a new country for example, sends you an email.

A license key is sent by email to the buyer and can be regenerated from the account at any time, which cuts off the old key.

Payments

Card numbers are typed into fields served by the payment provider, Wajub or Stripe, and never reach Pakua's servers. A Mobile Money payment is approved on the buyer's own phone.

The seller is the merchant: the money of a sale lands in the seller's own Wajub or Stripe account.

Report a vulnerability

Found a security problem in Pakua or in a package sold here? Write to contact@shopperlabs.co with the steps to reproduce it. Please give us the time to fix it before you publish the details.

Guides

Publish your first package today

The Free plan has no monthly fee: 10% per sale, up to 3 products. Your buyers pay by Mobile Money or card.