
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
LexForge is a framework for dynamic law parsing, designed to convert legal documents (such as statutes, directives, or regulations) into a generic, hierarchical data structure. This enables flexible analysis, research, and automation of legal content.
LexForge is a framework for dynamic law parsing, designed to convert legal documents (such as statutes, directives, or regulations) into a generic, hierarchical data structure. This enables flexible analysis, research, and automation of legal content.
To run LexForge locally, you will need:
Install dependencies:
npm install
Set your API key:
export ANTHROPIC_API_KEY=sk-ant-api03-XXXXXX....
Start the LexForge server:
npm start
(Optional) Run the Inngest dev server for agent and network debugging:
npm run inngest-dev
# or
npx inngest-cli@latest dev -u http://localhost:3000/api/inngest
law_files/
directory.The core data structure is a flexible tree, where each node can represent any level of a law (e.g., article, section, clause):
{
levelName: "section",
identifier: "1",
content: "This section covers ...",
children: [
{
levelName: "clause",
identifier: "a",
content: "Clause text ...",
children: []
}
]
}
src/agents/
for specialized analysis or extraction tasks.src/tools/
to support different document types or processing steps.src/dataStructure.ts
to support new law formats or metadata.LexForge is built on AgentKit and Zod. For more information on extending agents, networks, or tools, see the respective documentation.
FAQs
LexForge is a framework for dynamic law parsing, designed to convert legal documents (such as statutes, directives, or regulations) into a generic, hierarchical data structure. This enables flexible analysis, research, and automation of legal content.
We found that lexforge 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.