Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

tincto

Latest version: v0.4.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ahmedhesham6
7 Versions
1.0K Downloads

Scan summary

tincto was last scanned on 30 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 5 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 0.4.0.
  • Downloads: 1,019 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.0 LATEST 30 Nov 2026 No rules fired
0.3.1 25 Nov 2026 No rules fired
0.3.0 25 Nov 2026 No rules fired
0.2.0 25 Nov 2026 Not shown
0.1.1 25 Nov 2026 Not shown

No rules fired in 0.4.0

Findings

Findings for v0.4.0. 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.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

tincto

The components of a dev environment on a machine, for Alchemy: the tools, the tailnet, the agents with their skills, your repositories and the apps. You select the components. Each one is a set of Alchemy resources written with Effect.

Tincto is Latin for "I tinge". In alchemy, the tincture is the substance that changes a base metal into gold. Here it changes a bare server into a ready machine.

tincto is built on Alchemy, and it is only components. You write a normal Alchemy stack and yield the components that the machine must have. All of Alchemy works as it does in each other stack: alchemy deploy, stages, references, your own resources, and the resources of other packages. Tincto.providers() is the provider layer, as Cloudflare.providers() is for Cloudflare.

tincto runs with Bun. The package has TypeScript source, with no build step.

Install

bun add tincto alchemy effect

A machine

One file is the stack of one machine. The name of the stack is the name of the machine. The machine has each component that the stack yields, and no other component.

// machines/my-box.ts
import * as Alchemy from "alchemy";
import * as Effect from "effect/Effect";
import * as Tincto from "tincto";

export default Alchemy.Stack(
  "my-box",
  { providers: Tincto.providers(), state: Alchemy.localState() },
  Effect.gen(function* () {
    // An exe.dev VM. For a machine that exists: const host = { sshDest: "user@host" };
    const host = yield* Tincto.ExeHost("Vm", { cpu: 2, memory: "8GB", disk: "50GB" });

    // mise installs the tools. T3Code needs npm:t3, and Agents needs npm:skills.
    const tools = yield* Tincto.Toolchain("Tools", {
      host,
      tools: { node: "24", gh: "latest", claude: "latest", "npm:skills": "latest", "npm:t3": "nightly" },
    });
    const tailnet = yield* Tincto.Tailnet("Tailscale", { host: tools.base });

    // Files from machine/agents/<agent>/ of your project, and where they go.
    yield* Tincto.Agents("Home", {
      tools,
      agents: { claude: { files: { "CLAUDE.md": ".claude/CLAUDE.md" }, skillsDir: ".claude/skills", skills: [] } },
    });

    const clones = yield* Tincto.Repos("Repos", { host: tools.host, sources: ["me/project"] });
    const t3code = yield* Tincto.T3Code("T3Code", { tools, tailnet, projects: clones });
    yield* Tincto.Serve("Serve", { tailnet, rules: [t3code.serve] });

    // What the deploy prints.
    return { ssh: host.sshDest, t3code: t3code.url, t3codePair: t3code.pairUrl };
  }),
);

Each component has a default for each value that it can: only host, tools or tailnet, and the list of repositories, are necessary above.

bunx alchemy plan machines/my-box.ts      # show what a deploy will change
bunx alchemy deploy machines/my-box.ts    # make or update the machine
bunx alchemy destroy machines/my-box.ts   # remove the VM, the tailnet device and the services

Run the commands in the root of your project. Agents reads machine/ there, and Alchemy keeps its state in .alchemy/ there. Each machine is a stack of its own, so a deploy of one machine does not change a different one.

A small machine is a small file. This one only clones a repository on a server that you have:

export default Alchemy.Stack(
  "tiny-box",
  { providers: Tincto.providers(), state: Alchemy.localState() },
  Effect.gen(function* () {
    const host = { sshDest: "me@my-server" };
    yield* Tincto.Repos("Repos", { host, githubLogin: false, sources: ["me/project"] });
  }),
);

The host can be a server of a different Alchemy package. A host is only an SSH destination, so each server that accepts SSH with your key works:

import * as Hetzner from "@alchemy.run/hetzner";
import * as Output from "alchemy/Output";

// providers: Layer.mergeAll(Tincto.providers(), Hetzner.providers())
const key = yield * Hetzner.SshKey("laptop", { publicKey: "ssh-ed25519 AAAA... you@laptop" });
const server = yield * Hetzner.Server("box", { serverType: "cx22", image: "ubuntu-24.04", sshKeys: [key] });
const host: Tincto.Host = { sshDest: Output.interpolate`root@${server.ipv4}` };
A machine that a different tool manages

On some machines a different tool owns the system: NixOS, or the setup of your company. That tool installs the tools and joins the tailnet, and sudo asks for a password, so a script cannot use it. Do not yield Toolchain there: give the tools that the machine has. join: false makes Tailnet read the device only.

const host = { sshDest: "me@my-server" };
// The tools that the machine has already. The components only check the names.
const tools: Tincto.Tools = { base: host, host, versions: { "npm:skills": "latest", "npm:t3": "nightly" } };
const tailnet = yield * Tincto.Tailnet("Tailscale", { host, join: false });

yield *
  Tincto.Agents("Home", {
    tools,
    skills: { agents: ["claude-code"], sources: { "vercel-labs/skills": ["find-skills"] } },
  });
const t3code = yield * Tincto.T3Code("T3Code", { tools, tailnet });

These components need no root: Agents, Repos, BbMachine, and T3Code when the services of the user stay after logout already (loginctl enable-linger). Toolchain with apt packages, services or systemPath, Tailnet with a join, and Serve need root.

To share components between machines, export an Effect that yields them and returns what the other components need, and yield it in each machine file.

A machine can change with the stage, as each Alchemy stack can. Deploy the same file with --stage test to get a second copy of the machine with its own state:

const { stage } = yield * Alchemy.Stack;
const host = yield * Tincto.ExeHost("Vm", { cpu: stage.startsWith("live") ? 4 : 2 });

To let a different person use an exe.dev VM, give their public key to ExeHost. The key opens this VM only, and the person needs no exe.dev account: they connect with ssh <name>.exe.xyz. To stop the product usage data of T3 Code, give telemetry: false:

const host = yield * Tincto.ExeHost("Vm", { sshKeys: { rola: "ssh-ed25519 AAAA… rola@laptop" } });
const t3code = yield * Tincto.T3Code("T3Code", { tools, tailnet, telemetry: false });

What you need

  • For Tailnet: TAILSCALE_API_KEY in .env, a Tailscale API access token. tincto reads it with effect/Config. The stack uses it to make a one-use auth key and to remove the device on destroy.
  • For ExeHost: run ssh exe.dev one time and complete the registration.
  • For a machine that exists: SSH with your key, and sudo, apt and systemd on the machine. A machine with no apt, or where sudo asks for a password: see "A machine that a different tool manages".

The components

Component Needs Returns What it does
ExeHost a host An exe.dev VM with the name of the stack. sshKeys lets other persons connect to it.
Toolchain host tools apt packages, system services, and command-line tools through mise. systemPath links commands into /usr/local/bin.
Tailnet host tailnet The machine as a device in your tailnet, with the name of the stack.
Serve tailnet, rules The HTTPS ports of the machine in the tailnet. One for each machine.
Agents tools Instruction files of each agent, custom skills, skills from skill sources, plugins, home files.
Repos host the clones Copies your GitHub login to the machine, and clones each repository one time.
T3Code tools, tailnet url, pairUrl, serve The T3 Code server, with one project for each clone in projects. telemetry: false stops it.
BbMachine tools hostId The machine joins a bb server on a different computer as a bb machine.
BbServer tools, tailnet url, serve A bb server on the machine, with its plugins.

Each component takes an ID as its first argument, as each Alchemy resource does: Tincto.T3Code("T3Code", { … }). The main resource of the component has that ID, and its other resources are below it (T3Code/Project-alpha). So a stack can yield a component two times with two IDs, for example two Repos with different directories.

A host is { sshDest }. tools.host is the machine after all tools, and tools.base is the machine after the apt packages only. A component runs after the resources that made the host that you give it, so the props give the run order.

A component that needs a tool names it: Agents needs npm:skills, T3Code needs npm:t3, and the bb components need npm:bb-app. A stack that yields the component with no such tool stops the plan.

Your own components

A component is an Effect that takes props and declares resources. For resources of tincto or of a different Alchemy package, no more is necessary: write the Effect, and merge the providers in the stack.

providers: Layer.mergeAll(Tincto.providers(), Cloudflare.providers(), Mine.providers()),

For a resource of your own that runs commands on the machine, tincto exports the frame that its own resources use:

import * as Alchemy from "alchemy";
import * as Effect from "effect/Effect";
import * as Tincto from "tincto";

export class MyProviders extends Alchemy.ProviderCollection<MyProviders>()("Mine") {}

export interface HtopProps {
  sshDest: string;
}
export type Htop = Alchemy.Resource<"Mine.Htop", HtopProps, { installed: boolean }, never, MyProviders>;
export const Htop = Alchemy.Resource<Htop>("Mine.Htop");

export const HtopProvider = Tincto.provider(Htop, {
  reconcile: Effect.fn(function* ({ news }) {
    yield* Tincto.runScript(news.sshDest, "sudo apt-get install -y -qq htop");
    return { installed: true };
  }),
  delete: ({ olds }) => Tincto.cleanUp(olds.sshDest, "sudo apt-get remove -y -qq htop"),
});

export const providers = () => Tincto.collect(MyProviders, [[Htop, HtopProvider]]);
  • runScript runs a bash script on the machine through SSH. cleanUp does the same and ignores a failure.
  • userService has the bash for a systemd service of the user. authKey makes a one-use Tailscale auth key.
  • tincto/testing has a fake machine and a scripted shell, so a test runs the real script of your resource on your computer.

Test a resource with the test package of Alchemy, @alchemy.run/test. It runs the resource through the real engine: create, update, replace and destroy.

import { afterAll, beforeEach, expect } from "bun:test";
import * as Test from "@alchemy.run/test/Bun";
import * as Effect from "effect/Effect";
import { fakeMachine } from "tincto/testing";

// A temporary home directory, and a fake `ssh` that runs the script on this computer.
// `apt-get` and `sudo` are fakes that record their arguments.
const machine = fakeMachine(["apt-get"]);
beforeEach(machine.reset);
afterAll(machine.close);
const { test } = Test.make({ providers: providers() });

test.provider("Htop installs the package, and destroy removes it", (stack) =>
  Effect.gen(function* () {
    expect(yield* stack.deploy(Htop("Htop", { sshDest: "box" }))).toEqual({ installed: true });
    expect(machine.calls()).toEqual(["apt-get install -y -qq htop"]);
    yield* stack.destroy();
    expect(machine.calls().at(-1)).toBe("apt-get remove -y -qq htop");
  }),
);

Community components

A component is easy to share: publish it to npm with tincto and alchemy as peer dependencies, and open a pull request that adds it to this list. These are not official, and the tincto team did not verify them.

Component What it does
None yet. Open a pull request to add yours.

For coding agents

  • Install the skill: npx skills add ahmedhesham6/tincto.
  • llms.txt lists the documents as Markdown.

The source is at github.com/ahmedhesham6/tincto. To add a component or to change tincto, read CONTRIBUTING.md.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm tincto

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229